MessageActionRequestedPeer
- class pyrogram.raw.types.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).
Constructor of
MessageAction.- Details:
Layer:
223ID:
31518E9B
- Parameters:
button_id (
int32-bit) – button_id contained in the keyboardButtonRequestPeerpeers (List of
Peer) – The shared peers
TL Schema
messageActionRequestedPeer#31518e9b
button_id:int
peers:Vector<Peer>
= MessageAction
Parameter Tree
MessageActionRequestedPeer
├── button_id →
int└── peers →
Vector < Peer >├──
PeerUser│ └── user_id →
long├──
PeerChat│ └── chat_id →
long└──
PeerChannel└── channel_id →
longExample
MessageActionRequestedPeer(
button_id=0,
peers=[
PeerUser(user_id=0)
],
)