Layer 220
constructor
updateBotStopped#c4870a49 user_id:long date:int stopped:Bool qts:int = Update;

Parameters

Name Type Description
UserId long The user ID
Date int When did this action occur
Stopped Bool Whether the bot was stopped or started
Qts int New qts value, see updates for more info.

Returns

Update

Gogram Example

// Creating UpdateBotStopped constructor
obj := &tg.UpdateBotStopped{
    UserId: int64(0),
    Date: 0,
    Stopped: true,
    Qts: 0,
}