Raw.messages.AffectedHistory
Affected part of communication history with the user or in a chat.
messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;
export namespace Raw {
export namespace messages {
export class AffectedHistory {
constructor(params: { pts: number; ptsCount: number; offset: number }) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xb45c69d1
Property
pts
: numberNumber of events occurred in a text box
ptsCount
: numberNumber of affected events
offset
: numberIf 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