Interface ShareUsersWithBot

Shares users after pressing a keyboardButtonTypeRequestUsers button with the bot. Request type for Tdjson#shareUsersWithBot.

interface ShareUsersWithBot {
    @type: "shareUsersWithBot";
    button_id: number;
    chat_id: number;
    message_id: number;
    only_check?: boolean;
    shared_user_ids: number[];
}

Properties

@type: "shareUsersWithBot"
button_id: number

Identifier of the button.

chat_id: number

Identifier of the chat with the bot.

message_id: number

Identifier of the message with the button.

only_check?: boolean

Pass true to check that the users can be shared by the button instead of actually sharing them.

shared_user_ids: number[]

Identifiers of the shared users.