MessageActionRequestedPeerSentMe
- class pyrogram.raw.types.MessageActionRequestedPeerSentMe
Contains info about one or more peers that the a user shared with the me (the bot) after clicking on a keyboardButtonRequestPeer button (service message received by the bot).
Constructor of
MessageAction.- Details:
Layer:
223ID:
93B31848
- Parameters:
button_id (
int32-bit) – button_id contained in the keyboardButtonRequestPeerpeers (List of
RequestedPeer) – Info about the shared peers.
TL Schema
messageActionRequestedPeerSentMe#93b31848
button_id:int
peers:Vector<RequestedPeer>
= MessageAction
Parameter Tree
MessageActionRequestedPeerSentMe
├── button_id →
int└── peers →
Vector < RequestedPeer >│ ├── user_id →
long│ ├── first_name →
string (optional)│ ├── last_name →
string (optional)│ ├── username →
string (optional)│ └── photo →
Photo (optional)│ ├──
PhotoEmpty│ │ └── id →
long│ └──
Photo│ ├── has_stickers →
true (optional)│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── sizes →
Vector < PhotoSize >│ │ ├──
PhotoSizeEmpty│ │ ├──
PhotoSize│ │ ├──
PhotoCachedSize│ │ ├──
PhotoStrippedSize│ │ ├──
PhotoSizeProgressive│ │ └──
PhotoPathSize│ ├── video_sizes →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ ├──
VideoSizeEmojiMarkup│ │ └──
VideoSizeStickerMarkup│ └── dc_id →
int│ ├── chat_id →
long│ ├── title →
string (optional)│ └── photo →
Photo (optional)│ ├──
PhotoEmpty│ │ └── id →
long│ └──
Photo│ ├── has_stickers →
true (optional)│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── sizes →
Vector < PhotoSize >│ │ ├──
PhotoSizeEmpty│ │ ├──
PhotoSize│ │ ├──
PhotoCachedSize│ │ ├──
PhotoStrippedSize│ │ ├──
PhotoSizeProgressive│ │ └──
PhotoPathSize│ ├── video_sizes →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ ├──
VideoSizeEmojiMarkup│ │ └──
VideoSizeStickerMarkup│ └── dc_id →
int├── channel_id →
long├── title →
string (optional)├── username →
string (optional)└── photo →
Photo (optional)├──
PhotoEmpty│ └── id →
long└──
Photo├── has_stickers →
true (optional)├── id →
long├── access_hash →
long├── file_reference →
bytes├── date →
int├── sizes →
Vector < PhotoSize >│ ├──
PhotoSizeEmpty│ ├──
PhotoSize│ ├──
PhotoCachedSize│ ├──
PhotoStrippedSize│ ├──
PhotoSizeProgressive│ └──
PhotoPathSize├── video_sizes →
Vector < VideoSize > (optional)│ ├──
VideoSize│ ├──
VideoSizeEmojiMarkup│ └──
VideoSizeStickerMarkup└── dc_id →
intExample
MessageActionRequestedPeerSentMe(
button_id=0,
peers=[
RequestedPeerUser(user_id=0)
],
)