Contains information about a bot.
|
| | botInfo () |
| | botInfo (string const &short_description_, string const &description_, object_ptr< photo > &&photo_, object_ptr< animation > &&animation_, int53 manager_bot_user_id_, object_ptr< botMenuButton > &&menu_button_, array< object_ptr< botCommand > > &&commands_, string const &privacy_policy_url_, object_ptr< chatAdministratorRights > &&default_group_administrator_rights_, object_ptr< chatAdministratorRights > &&default_channel_administrator_rights_, object_ptr< affiliateProgramInfo > &&affiliate_program_, int32 web_app_background_light_color_, int32 web_app_background_dark_color_, int32 web_app_header_light_color_, int32 web_app_header_dark_color_, object_ptr< botVerificationParameters > &&verification_parameters_, bool can_get_revenue_statistics_, bool can_manage_emoji_status_, bool has_media_previews_, object_ptr< InternalLinkType > &&edit_commands_link_, object_ptr< InternalLinkType > &&edit_description_link_, object_ptr< InternalLinkType > &&edit_description_media_link_, object_ptr< InternalLinkType > &&edit_settings_link_) |
| void | store (TlStorerToString &s, const char *field_name) const final |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| | TlObject ()=default |
| | TlObject (const TlObject &)=delete |
| | TlObject (TlObject &&)=default |
| virtual | ~TlObject ()=default |
|
|
object_ptr< affiliateProgramInfo > | affiliate_program_ |
| | Information about the affiliate program of the bot; may be null if none.
|
|
object_ptr< animation > | animation_ |
| | Animation shown in the chat with the bot if the chat is empty; may be null.
|
|
bool | can_get_revenue_statistics_ |
| | True, if the bot's revenue statistics are available to the current user.
|
|
bool | can_manage_emoji_status_ |
| | True, if the bot can manage emoji status of the current user.
|
|
array< object_ptr< botCommand > > | commands_ |
| | List of the bot commands.
|
|
object_ptr< chatAdministratorRights > | default_channel_administrator_rights_ |
| | Default administrator rights for adding the bot to channels; may be null.
|
|
object_ptr< chatAdministratorRights > | default_group_administrator_rights_ |
| | Default administrator rights for adding the bot to basic group and supergroup chats; may be null.
|
|
string | description_ |
| | The text shown in the chat with the bot if the chat is empty.
|
|
object_ptr< InternalLinkType > | edit_commands_link_ |
| | The internal link, which can be used to edit bot commands; may be null.
|
|
object_ptr< InternalLinkType > | edit_description_link_ |
| | The internal link, which can be used to edit bot description; may be null.
|
|
object_ptr< InternalLinkType > | edit_description_media_link_ |
| | The internal link, which can be used to edit the photo or animation shown in the chat with the bot if the chat is empty; may be null.
|
|
object_ptr< InternalLinkType > | edit_settings_link_ |
| | The internal link, which can be used to edit bot settings; may be null.
|
|
bool | has_media_previews_ |
| | True, if the bot has media previews.
|
|
int53 | manager_bot_user_id_ |
| | Identifier of the bot, which manages the bot; 0 if none or unknown; for owner of the bot only.
|
|
object_ptr< botMenuButton > | menu_button_ |
| | Information about a button to show instead of the bot commands menu button; may be null if ordinary bot commands menu must be shown.
|
|
object_ptr< photo > | photo_ |
| | Photo shown in the chat with the bot if the chat is empty; may be null.
|
|
string | privacy_policy_url_ |
| | The HTTP link to the privacy policy of the bot. If empty, then /privacy command must be used if supported by the bot. If the command isn't supported, then https://telegram.org/privacy-tpa must be opened.
|
|
string | short_description_ |
| | The text that is shown on the bot's profile page and is sent together with the link when users share the bot.
|
|
object_ptr< botVerificationParameters > | verification_parameters_ |
| | Parameters of the verification that can be provided by the bot; may be null if none or the current user isn't the owner of the bot.
|
|
int32 | web_app_background_dark_color_ |
| | Default dark background color for bot Web Apps; -1 if not specified.
|
|
int32 | web_app_background_light_color_ |
| | Default light background color for bot Web Apps; -1 if not specified.
|
|
int32 | web_app_header_dark_color_ |
| | Default dark header color for bot Web Apps; -1 if not specified.
|
|
int32 | web_app_header_light_color_ |
| | Default light header color for bot Web Apps; -1 if not specified.
|