Layer 220
UpdateDialogUnreadMark
The manual unread mark of a chat was changed
constructor
updateDialogUnreadMark#b658f23e flags:# unread:flags.0?true peer:DialogPeer saved_peer_id:flags.1?Peer = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Unread | flags.0?true | Was the chat marked or unmarked as read |
| Peer | DialogPeer | The dialog |
| SavedPeerId | flags.1?Peer | If set, the mark is related to the specified monoforum topic ID. |
Returns
UpdateGogram Example
// Creating UpdateDialogUnreadMark constructor obj := &tg.UpdateDialogUnreadMark{ Peer: &tg.DialogPeer{}, // Optional fields: // Unread: true, // SavedPeerId: &tg.Peer{}, }