Interface ActionPeerChosen

A peer was chosen by the user after clicking on a RequestPeer button The bot-side version of ActionPeerSent

interface ActionPeerChosen {
    buttonId: number;
    peers: Peer[];
    type: "peer_chosen";
}

Properties

Properties

buttonId: number

ID of the button passed earlier by the bot

peers: Peer[]

Chosen peers

type: "peer_chosen"