SetBotUpdatesStatus

class pyrogram.raw.functions.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.

Details
  • Layer: 122

  • ID: 0xec22cfcd

Parameters
  • pending_updates_count (int 32-bit) – Number of pending updates.

  • message (str) – Error message, if present.

Returns

bool – Primitive type.