Interface RequestContactButton

interface RequestContactButton {
    requestContact: boolean;
    text: string;
}

Hierarchy (view full)

Properties

Properties

requestContact: boolean

If True, the user's phone number will be sent as a contact when the button is pressed. 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