UpdateBotStopped

class pyrogram.raw.types.UpdateBotStopped

A bot was stopped or re-started.

Constructor of Update.

Details:
  • Layer: 223

  • ID: C4870A49

Parameters:
  • user_id (int 64-bit) – The user ID

  • date (int 32-bit) – When did this action occur

  • stopped (bool) – Whether the bot was stopped or started

  • qts (int 32-bit) – New qts value, see updates » for more info.

TL Schema

updateBotStopped#c4870a49
user_id:long
date:int
stopped:Bool
qts:int

= Update

Parameter Tree

UpdateBotStopped
├── user_idlong
├── dateint
├── stoppedBool
└── qtsint

Example

UpdateBotStopped(
    user_id=0,
    date=0,
    stopped=True,
    qts=0,
)