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

Hierarchy (view full)

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