interface UserFromGetMe
extends User

This object represents a Telegram user or bot that was returned by getMe.

Properties

is_bot: true
username: string

True, if the bot can be invited to groups. Returned only in getMe.

True, if privacy mode is disabled for the bot. Returned only in getMe.

True, if the bot supports inline queries. Returned only in getMe.

True, if the bot can be connected to a Telegram Business account to receive its messages. Returned only in getMe.

True, if the bot has main Web App. Returned only in getMe.

optional
has_topics_enabled: boolean

True, if the bot has forum topic mode enabled in private chats. Returned only in getMe.