BotInfo¶
- class hydrogram.raw.types.BotInfo[source]¶
Info about bots (available bot commands, etc)
Constructor of
BotInfo.- Details:
Layer:
181ID:
8F300B57
- Parameters:
user_id (
int64-bit, optional) – ID of the botdescription (
str, optional) – Description of the botdescription_photo (
Photo, optional) – Description photodescription_document (
Document, optional) – Description animation in MPEG4 formatcommands (List of
BotCommand, optional) – Bot commands that can be used in the chatmenu_button (
BotMenuButton, optional) – Indicates the action to execute when pressing the in-UI menu button for bots