telegramsjs
    Preparing search index...

    Interface RequestChatButton

    interface RequestChatButton {
        request_chat: KeyboardButtonRequestChat;
        text: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    If specified, pressing the button will open a list of suitable chats. Tapping on a chat will send its identifier to the bot in a “chat_shared” service message. Available in private chats only.

    text: string

    Text of the button. If none of the optional fields are used, it will be sent as a message when the button is pressed