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.
Info about a channel/supergroup, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.
Info about a chat, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.
Info about a user, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.
TL Schema
Parameter Tree
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 →
int