InputChatUploadedPhoto
- class pyrogram.raw.types.InputChatUploadedPhoto
New photo to be set as group profile photo.
Constructor of
InputChatPhoto.- Details:
Layer:
223ID:
BDCDAEC0
- Parameters:
file (
InputFile, optional) – File saved in parts using the method upload.saveFilePartvideo (
InputFile, optional) – Square video for animated profile picturevideo_start_ts (
float64-bit, optional) – Floating point UNIX timestamp in seconds, indicating the frame of the video/sticker that should be used as static preview; can only be used if video or video_emoji_markup is set.video_emoji_markup (
VideoSize, optional) – Animated sticker profile picture, must contain either a videoSizeEmojiMarkup or a videoSizeStickerMarkup constructor.
TL Schema
inputChatUploadedPhoto#bdcdaec0
flags:#
file:flags.0?InputFile
video:flags.1?InputFile
video_start_ts:flags.2?double
video_emoji_markup:flags.3?VideoSize
= InputChatPhoto
Parameter Tree
InputChatUploadedPhoto
├── file →
InputFile (optional)│ ├──
InputFile│ │ ├── id →
long│ │ ├── parts →
int│ │ ├── name →
string│ │ └── md5_checksum →
string│ ├──
InputFileBig│ │ ├── id →
long│ │ ├── parts →
int│ │ └── name →
string│ └──
InputFileStoryDocument│ └── id →
InputDocument│ ├──
InputDocumentEmpty│ └──
InputDocument│ ├── id →
long│ ├── access_hash →
long│ └── file_reference →
bytes├── video →
InputFile (optional)│ ├──
InputFile│ │ ├── id →
long│ │ ├── parts →
int│ │ ├── name →
string│ │ └── md5_checksum →
string│ ├──
InputFileBig│ │ ├── id →
long│ │ ├── parts →
int│ │ └── name →
string│ └──
InputFileStoryDocument│ └── id →
InputDocument│ ├──
InputDocumentEmpty│ └──
InputDocument│ ├── id →
long│ ├── access_hash →
long│ └── file_reference →
bytes├── video_start_ts →
double (optional)└── video_emoji_markup →
VideoSize (optional)├──
VideoSize│ ├── type →
string│ ├── w →
int│ ├── h →
int│ ├── size →
int│ └── video_start_ts →
double (optional)│ ├── emoji_id →
long│ └── background_colors →
Vector < int >├── stickerset →
InputStickerSet│ ├──
InputStickerSetEmpty│ ├──
InputStickerSetID│ │ ├── id →
long│ │ └── access_hash →
long│ ├──
InputStickerSetShortName│ │ └── short_name →
string│ ├──
InputStickerSetDice│ │ └── emoticon →
string│ └──
InputStickerSetTonGifts├── sticker_id →
long└── background_colors →
Vector < int >Example
InputChatUploadedPhoto(
)