Layer 220
EncryptedChatDiscarded
Discarded or deleted chat.
constructor
encryptedChatDiscarded#1e1c7c45 flags:# history_deleted:flags.0?true id:int = EncryptedChat;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| HistoryDeleted | flags.0?true | Whether both users of this secret chat should also remove all of its messages |
| Id | int | Chat ID |
Returns
EncryptedChatGogram Example
// Creating EncryptedChatDiscarded constructor obj := &tg.EncryptedChatDiscarded{ Id: 0, // Optional fields: // HistoryDeleted: true, }