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

    Interface KeyboardButtonRequestChat

    Defines the criteria used to request a suitable chat.

    interface KeyboardButtonRequestChat {
        bot_administrator_rights?: ChatAdministratorRights;
        bot_is_member?: boolean;
        chat_has_username?: boolean;
        chat_is_channel: boolean;
        chat_is_created?: boolean;
        chat_is_forum?: boolean;
        request_id: number;
        request_photo?: boolean;
        request_title?: boolean;
        request_username?: boolean;
        user_administrator_rights?: ChatAdministratorRights;
    }
    Index
    bot_administrator_rights?: ChatAdministratorRights

    A JSON-serialized object listing the required administrator rights of the bot in the chat.

    bot_is_member?: boolean

    Pass True to request a chat with the bot as a member.

    chat_has_username?: boolean

    Pass True to request a supergroup or a channel with a username, pass False to request a chat without a username.

    chat_is_channel: boolean

    Pass True to request a channel chat, pass False to request a group or a supergroup chat.

    chat_is_created?: boolean

    Pass True to request a chat owned by the user.

    chat_is_forum?: boolean

    Pass True to request a forum supergroup, pass False to request a non-forum chat.

    request_id: number

    Signed 32-bit identifier of the request that will be received back in the ChatShared object.

    request_photo?: boolean

    Pass True to request the chat's photo.

    request_title?: boolean

    Pass True to request the chat's title.

    request_username?: boolean

    Pass True to request the chat's username.

    user_administrator_rights?: ChatAdministratorRights

    A JSON-serialized object listing the required administrator rights of the user in the chat.