MadelineProto/docs/TD_docs/constructors/userTypeBot.md
2017-08-25 14:43:29 +02:00

986 B

title: userTypeBot description: Bot (see https: core.telegram.org/bots)

Constructor: userTypeBot

Back to constructors index

Bot (see https: core.telegram.org/bots)

Attributes:

Name Type Required Description
can_join_group_chats Bool Yes If true, bot can be invited to group and supergroup chats
can_read_all_group_chat_messages Bool Yes If true, bot can read all group or supergroup chat messages, not only addressed to him. In private chats bot always can read all messages
is_inline Bool Yes True, if bot supports inline queries
inline_query_placeholder string Yes Placeholder for inline query
need_location Bool Yes If true, user location should be sent with every inline query to this bot

Type: UserType