Layer 227
UpdateManagedBot
Manager bots only: a bot managed by the currently logged in bot was created or updated.
constructor
updateManagedBot#4880ed9a user_id:long bot_id:long qts:int = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| UserId | long | The ID of the user that owns of the newly created or edited managed bot. |
| BotId | long | The ID of the managed bot. |
| Qts | int | New qts value, see updates for more info. |
Returns
UpdateGogram Example
// Creating UpdateManagedBot constructor obj := &tg.UpdateManagedBot{ UserId: int64(1234567890), BotId: int64(1234567890), Qts: 42, }