telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface User

    interface User {
        added_to_attachment_menu?: boolean;
        allows_users_to_create_topics?: boolean;
        can_connect_to_business?: boolean;
        can_join_groups?: boolean;
        can_manage_bots?: boolean;
        can_read_all_group_messages?: boolean;
        first_name: string;
        has_main_web_app?: boolean;
        has_topics_enabled?: boolean;
        id: number;
        is_bot: boolean;
        is_premium?: boolean;
        language_code?: string;
        last_name?: string;
        supports_guest_queries?: boolean;
        supports_inline_queries?: boolean;
        supports_join_request_queries?: boolean;
        username?: string;
    }
    Index
    added_to_attachment_menu?: boolean

    True, if this user added the bot to the attachment menu.

    allows_users_to_create_topics?: boolean

    True, if the bot allows users to create and delete topics in private chats. Returned only in getMe.

    can_connect_to_business?: boolean

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

    can_join_groups?: boolean

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

    can_manage_bots?: boolean

    True, if other bots can be created to be controlled by the bot. Returned only in getMe.

    can_read_all_group_messages?: boolean

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

    first_name: string

    User's or bot's first name.

    has_main_web_app?: boolean

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

    has_topics_enabled?: boolean

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

    id: number

    Unique identifier for this user or bot.

    is_bot: boolean

    True, if this user is a bot.

    is_premium?: boolean

    True, if this user is a Telegram Premium user.

    language_code?: string

    IETF language tag of the user's language (e.g. 'en', 'vi').

    last_name?: string

    User's or bot's last name.

    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?: boolean

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

    supports_join_request_queries?: boolean

    True, if the bot supports join request queries and can be assigned to process them. Returned only in getMe.

    username?: string

    User's or bot's username without leading '@'.