RequestedPeer

class pyrogram.raw.base.RequestedPeer

Info about a peer, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.

Constructors:

This base type has 3 constructors available.

RequestedPeerChannel

Info about a channel/supergroup, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.

RequestedPeerChat

Info about a chat, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.

RequestedPeerUser

Info about a user, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.

TL Schema


Parameter Tree

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