TDLib v0.0.2 TDLib.Object.UserTypeBot View Source
A bot (see https://core.telegram.org/bots).
Name | Type | Description |
---|---|---|
can_join_groups | bool | True, if the bot can be invited to basic group and supergroup chats. |
can_read_all_group_messages | bool | True, if the bot can read all messages in basic group or supergroup chats and not just those addressed to the bot. In private and channel chats a bot can always read all messages. |
is_inline | bool | True, if the bot supports inline queries. |
inline_query_placeholder | string | Placeholder for inline queries (displayed on the client input field). |
need_location | bool | True, if the location of the user should be sent with every inline query to this bot. |
More details on telegram’s documentation.