Raw.help.SetBotUpdatesStatus

Raw.help.SetBotUpdatesStatus

Informs the server about the number of pending bot updates if they haven’t been processed for a long time; for bots only

help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool;
export namespace Raw {
  export namespace help {
    export class SetBotUpdatesStatus {
      constructor(params: { pendingUpdatesCount: number; message: string }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xec22cfcd

Property

  • pendingUpdatesCount : number

    Number of pending updates

  • message : string

    Error message, if present

Results

boolean

Bots can use