Layer 220
MessagesAffectedHistory
Affected part of communication history with the user or in a chat.
constructor
messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;
Parameters
| Name | Type | Description |
|---|---|---|
| Pts | int | Number of events occurred in a text box |
| PtsCount | int | Number of affected events |
| Offset | int | If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease |
Returns
messages.AffectedHistoryGogram Example
// Creating MessagesAffectedHistory constructor obj := &tg.MessagesAffectedHistory{ Pts: 0, PtsCount: 0, Offset: 0, }