telegram api constructor · layer 229 · #bdcdaec0

inputChatUploadedPhoto

New photo to be set as group profile photo.

definition

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 · other constructors: inputChatPhotoEmpty, inputChatPhoto

history

present in layers 2–229 · constructor id changed 3×

idlayers
#942547322–46
#927c55b462–115
#c642724e116–151
#bdcdaec0152–229