Layer 220
UpdatesState
Updates state.
constructor
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
Parameters
| Name | Type | Description |
|---|---|---|
| Pts | int | Number of events occurred in a text box |
| Qts | int | Position in a sequence of updates in secret chats. For further details refer to article secret chats |
| Date | int | Date of condition |
| Seq | int | Number of sent updates |
| UnreadCount | int | Number of unread messages |
Returns
updates.StateGogram Example
// Creating UpdatesState constructor obj := &tg.UpdatesState{ Pts: 0, Qts: 0, Date: 0, Seq: 0, UnreadCount: 0, }