Skip to main content

messageActionRequestedPeer

Contains info about one or more peers that the we (the user) shared with the bot after clicking on a keyboardButtonRequestPeer button (service message sent by the user).

type tg.MessageActionRequestedPeer struct { /* ... */ }

Implements MessageAction.

Fields

NameTypeRequiredDescription
ButtonIDintyesbutton_id contained in the keyboardButtonRequestPeer
Peers[]PeerClassyesThe shared peers

References