interface RequestUsersButton {
    request_users: KeyboardButtonRequestUsers;
    text: string;
}

Hierarchy (view full)

Properties

Properties

If specified, pressing the button will open a list of suitable users. Identifiers of selected users will be sent to the bot in a “users_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