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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
file | InputFile | File saved in parts using the method upload.saveFilePart |
video | InputFile | Square video for animated profile picture |
video_start_ts | double | 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 | Animated 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×
| id | layers |
|---|---|
| #94254732 | 2–46 |
| #927c55b4 | 62–115 |
| #c642724e | 116–151 |
| #bdcdaec0 | 152–229 |