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

Hierarchy (view full)

Properties

request_contact: 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