RequestedPeerChat
- class pyrogram.raw.types.RequestedPeerChat
Info about a chat, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.
Constructor of
RequestedPeer.- Details:
Layer:
223ID:
7307544F
- Parameters:
chat_id (
int64-bit) – Chat ID.title (
str, optional) – Chat title.photo (
Photo, optional) – Chat photo.
TL Schema
requestedPeerChat#7307544f
flags:#
chat_id:long
title:flags.0?string
photo:flags.2?Photo
= RequestedPeer
Parameter Tree
RequestedPeerChat
├── 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│ │ └── type →
string│ ├──
PhotoSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── size →
int│ ├──
PhotoCachedSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── bytes →
bytes│ ├──
PhotoStrippedSize│ │ ├── type →
string│ │ └── bytes →
bytes│ ├──
PhotoSizeProgressive│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── sizes →
Vector < int >│ └──
PhotoPathSize│ ├── type →
string│ └── bytes →
bytes├── video_sizes →
Vector < VideoSize > (optional)│ ├──
VideoSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ ├── size →
int│ │ └── video_start_ts →
double (optional)│ ├──
VideoSizeEmojiMarkup│ │ ├── emoji_id →
long│ │ └── background_colors →
Vector < int >│ └──
VideoSizeStickerMarkup│ ├── stickerset →
InputStickerSet│ │ ├──
InputStickerSetEmpty│ │ ├──
InputStickerSetID│ │ ├──
InputStickerSetShortName│ │ ├──
InputStickerSetAnimatedEmoji│ │ ├──
InputStickerSetDice│ │ ├──
InputStickerSetPremiumGifts│ │ └──
InputStickerSetTonGifts│ ├── sticker_id →
long│ └── background_colors →
Vector < int >└── dc_id →
intExample
RequestedPeerChat(
chat_id=0,
)