InputChatUploadedPhoto

class pyrogram.raw.types.InputChatUploadedPhoto

New photo to be set as group profile photo.

Constructor of InputChatPhoto.

Details:
  • Layer: 223

  • ID: BDCDAEC0

Parameters:
  • file (InputFile, optional) – File saved in parts using the method upload.saveFilePart

  • video (InputFile, optional) – Square video for animated profile picture

  • video_start_ts (float 64-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
├── fileInputFile (optional)
│ ├── InputFile
│ │ ├── idlong
│ │ ├── partsint
│ │ ├── namestring
│ │ └── md5_checksumstring
│ ├── InputFileBig
│ │ ├── idlong
│ │ ├── partsint
│ │ └── namestring
│ └── idInputDocument
│ ├── InputDocumentEmpty
│ └── InputDocument
│ ├── idlong
│ ├── access_hashlong
│ └── file_referencebytes
├── videoInputFile (optional)
│ ├── InputFile
│ │ ├── idlong
│ │ ├── partsint
│ │ ├── namestring
│ │ └── md5_checksumstring
│ ├── InputFileBig
│ │ ├── idlong
│ │ ├── partsint
│ │ └── namestring
│ └── idInputDocument
│ ├── InputDocumentEmpty
│ └── InputDocument
│ ├── idlong
│ ├── access_hashlong
│ └── file_referencebytes
├── video_start_tsdouble (optional)
└── video_emoji_markupVideoSize (optional)
├── VideoSize
│ ├── typestring
│ ├── wint
│ ├── hint
│ ├── sizeint
│ └── video_start_tsdouble (optional)
│ ├── emoji_idlong
│ └── background_colorsVector < int >
├── stickersetInputStickerSet
│ ├── InputStickerSetEmpty
│ ├── InputStickerSetID
│ │ ├── idlong
│ │ └── access_hashlong
│ │ └── short_namestring
│ ├── InputStickerSetDice
│ │ └── emoticonstring
├── sticker_idlong
└── background_colorsVector < int >

Example

InputChatUploadedPhoto(
)