UserFromGetMe
This object represents a Telegram user or bot that was returned by get.
Extends
UserProperties
is_bot
is_bot: true;username
username: string;can_join_groups
can_join_groups: boolean;True, if the bot can be invited to groups. Returned only in getMe.
can_read_all_group_messages
can_read_all_group_messages: boolean;True, if privacy mode is disabled for the bot. Returned only in getMe.
can_manage_bots
can_manage_bots: boolean;True, if other bots can be created to be controlled by the bot. Returned only in getMe.
supports_guest_queries
supports_guest_queries?: boolean;True, if the bot supports guest queries from chats it is not a member of. Returned only in getMe.
supports_inline_queries
supports_inline_queries: boolean;True, if the bot supports inline queries. Returned only in getMe.
can_connect_to_business
can_connect_to_business: boolean;True, if the bot can be connected to a user account to manage it. Returned only in getMe.
has_main_web_app
has_main_web_app: boolean;True, if the bot has main Web App. Returned only in getMe.
has_topics_enabled
has_topics_enabled: boolean;True, if the bot has forum topic mode enabled in private chats. Returned only in getMe.
allows_users_to_create_topics
allows_users_to_create_topics: boolean;True, if the bot allows users to create and delete topics in private chats. Returned only in getMe.