MadelineProtoDocs/docs/TD_docs/constructors/userTypeBot.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.0 KiB

title: userTypeBot description: Bot (see https: core.telegram.org/bots) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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