Layer 224
UpdatesStateObj
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 UpdatesStateObj constructor obj := &tg.UpdatesStateObj{ Pts: 42, Qts: 42, Date: 42, Seq: 42, UnreadCount: 42, }