[Go to site: main page, start]

Machine-readable version of this page: /constructor/updateManagedBot.md.

updateManagedBot

Manager bots only: a bot managed by the currently logged in bot was created or updated.

updateManagedBot#4880ed9a user_id:long bot_id:long qts:int = Update;

Parameters

Name Type Description
user_id long The ID of the user that owns of the newly created or edited managed bot.
bot_id long The ID of the managed bot.
qts int New qts value, see updates » for more info.

Type

Update

Related pages

Working with Updates

How to subscribe to updates and handle them properly.

Managed bots

Users can create managed bots (which are controlled by a specific manager bot) directly through the MTProto API, without interacting with @BotFather.