InputChatUploadedPhoto#

class pyrogram.raw.types.InputChatUploadedPhoto#

New photo to be set as group profile photo. The file, video and video_emoji_markup flags are mutually exclusive.

Constructor of InputChatPhoto.

Details:
  • Layer: 211

  • 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.