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: 223

  • ID: 93B31848

Parameters:
  • button_id (int 32-bit) – button_id contained in the keyboardButtonRequestPeer

  • peers (List of RequestedPeer) – Info about the shared peers.

TL Schema

messageActionRequestedPeerSentMe#93b31848
button_id:int
peers:Vector<RequestedPeer>

= MessageAction

Parameter Tree

MessageActionRequestedPeerSentMe
├── button_idint
└── peersVector < RequestedPeer >
│ ├── user_idlong
│ ├── first_namestring (optional)
│ ├── last_namestring (optional)
│ ├── usernamestring (optional)
│ └── photoPhoto (optional)
│ ├── PhotoEmpty
│ │ └── idlong
│ └── Photo
│ ├── has_stickerstrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── file_referencebytes
│ ├── dateint
│ ├── sizesVector < PhotoSize >
│ │ ├── PhotoSizeEmpty
│ │ ├── PhotoSize
│ │ ├── PhotoCachedSize
│ │ ├── PhotoStrippedSize
│ │ ├── PhotoSizeProgressive
│ │ └── PhotoPathSize
│ ├── video_sizesVector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ ├── VideoSizeEmojiMarkup
│ │ └── VideoSizeStickerMarkup
│ └── dc_idint
│ ├── chat_idlong
│ ├── titlestring (optional)
│ └── photoPhoto (optional)
│ ├── PhotoEmpty
│ │ └── idlong
│ └── Photo
│ ├── has_stickerstrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── file_referencebytes
│ ├── dateint
│ ├── sizesVector < PhotoSize >
│ │ ├── PhotoSizeEmpty
│ │ ├── PhotoSize
│ │ ├── PhotoCachedSize
│ │ ├── PhotoStrippedSize
│ │ ├── PhotoSizeProgressive
│ │ └── PhotoPathSize
│ ├── video_sizesVector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ ├── VideoSizeEmojiMarkup
│ │ └── VideoSizeStickerMarkup
│ └── dc_idint
├── channel_idlong
├── titlestring (optional)
├── usernamestring (optional)
└── photoPhoto (optional)
├── PhotoEmpty
│ └── idlong
└── Photo
├── has_stickerstrue (optional)
├── idlong
├── access_hashlong
├── file_referencebytes
├── dateint
├── sizesVector < PhotoSize >
│ ├── PhotoSizeEmpty
│ ├── PhotoSize
│ ├── PhotoCachedSize
│ ├── PhotoStrippedSize
│ ├── PhotoSizeProgressive
│ └── PhotoPathSize
├── video_sizesVector < VideoSize > (optional)
│ ├── VideoSize
│ ├── VideoSizeEmojiMarkup
└── dc_idint

Example

MessageActionRequestedPeerSentMe(
    button_id=0,
    peers=[
            RequestedPeerUser(user_id=0)
        ],
)