Raw.UpdateReadMessagesContents

Raw.UpdateReadMessagesContents

Contents of messages in the common message box were read

updateReadMessagesContents#f8227181 flags:# messages:Vector<int> pts:int pts_count:int date:flags.0?int = Update;
export namespace Raw {
  export class UpdateReadMessagesContents {
    constructor(params: {
      messages: Array<number>;
      pts: number;
      ptsCount: number;
      date?: number;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xf8227181

Property

  • messages : Array of number

    Ids of read messages

  • pts : number

    Event count after generation

  • ptsCount : number

    Number of events that were generated

  • date : number or undefined

    When was the last message in messages marked as read.