MadelineProtoDocs/docs/API_docs/constructors/updateBotStopped.md
2024-05-01 14:53:46 +02:00

985 B

title description nav_exclude image
updateBotStopped A bot was stopped or re-started. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateBotStopped

Back to constructors index

A bot was stopped or re-started.

Attributes:

Name Type Required Description
user_id long Yes The user ID
date int Yes When did this action occur
stopped Bool Yes Whether the bot was stopped or started
qts int Yes New qts value, see updates » for more info.

Type: Update

Example:

$updateBotStopped = ['_' => 'updateBotStopped', 'user_id' => long, 'date' => int, 'stopped' => Bool, 'qts' => int];