TDLib v0.0.2 TDLib.Object.UserTypeBot View Source

A bot (see https://core.telegram.org/bots).

NameTypeDescription
can_join_groupsboolTrue, if the bot can be invited to basic group and supergroup chats.
can_read_all_group_messagesboolTrue, 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_inlineboolTrue, if the bot supports inline queries.
inline_query_placeholderstringPlaceholder for inline queries (displayed on the client input field).
need_locationboolTrue, if the location of the user should be sent with every inline query to this bot.

More details on telegram’s documentation.