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

  • ID: 7307544F

Parameters:
  • chat_id (int 64-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_idlong
├── titlestring (optional)
└── photoPhoto (optional)
├── PhotoEmpty
│ └── idlong
└── Photo
├── has_stickerstrue (optional)
├── idlong
├── access_hashlong
├── file_referencebytes
├── dateint
├── sizesVector < PhotoSize >
│ ├── PhotoSizeEmpty
│ │ └── typestring
│ ├── PhotoSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── sizeint
│ ├── PhotoCachedSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── bytesbytes
│ ├── PhotoStrippedSize
│ │ ├── typestring
│ │ └── bytesbytes
│ ├── PhotoSizeProgressive
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── sizesVector < int >
│ └── PhotoPathSize
│ ├── typestring
│ └── bytesbytes
├── video_sizesVector < VideoSize > (optional)
│ ├── VideoSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ ├── sizeint
│ │ └── video_start_tsdouble (optional)
│ ├── VideoSizeEmojiMarkup
│ │ ├── emoji_idlong
│ │ └── background_colorsVector < int >
│ ├── stickersetInputStickerSet
│ │ ├── InputStickerSetEmpty
│ │ ├── InputStickerSetID
│ │ ├── InputStickerSetShortName
│ │ ├── InputStickerSetDice
│ │ ├── InputStickerSetPremiumGifts
│ │ └── InputStickerSetTonGifts
│ ├── sticker_idlong
│ └── background_colorsVector < int >
└── dc_idint

Example

RequestedPeerChat(
    chat_id=0,
)