inputChatUploadedPhoto #

New photo to be set as group profile photo.

The file, video and video_emoji_markup flags are mutually exclusive.

Layer 223

inputChatUploadedPhoto#bdcdaec0 flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.3?VideoSize = InputChatPhoto;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
fileflags.0?InputFileFile saved in parts using the method upload.saveFilePart
videoflags.1?InputFileSquare video for animated profile picture
video_start_tsflags.2?doubleFloating 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_markupflags.3?VideoSizeAnimated sticker profile picture, must contain either a videoSizeEmojiMarkup or a videoSizeStickerMarkup constructor.

Type #

InputChatPhoto

upload.saveFilePart #

Saves a part of file for further sending to one of the methods.

videoSizeEmojiMarkup #

An animated profile picture based on a custom emoji sticker.

videoSizeStickerMarkup #

An animated profile picture based on a sticker.