Link Search Menu Expand Document

Constructor: updateBotStopped

Back to constructors index

A bot was stopped or re-started.

Attributes:

NameTypeRequiredDescription
user_idlongYesThe user ID
dateintYesWhen did this action occur
stoppedBoolYesWhether the bot was stopped or started
qtsintYesNew qts value, see updates » for more info.

Type: Update

Example:

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