mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.6 KiB
1.6 KiB
title | description | nav_exclude | image |
---|---|---|---|
inputChatUploadedPhoto | New photo to be set as group profile photo. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputChatUploadedPhoto
New photo to be set as group profile photo.
The file
, video
and video_emoji_markup
flags are mutually exclusive.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
file | File path or InputFile | Optional | File saved in parts using the method upload.saveFilePart |
video | File path or InputFile | Optional | Square video for animated profile picture |
video_start_ts | double | 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. |
Type: InputChatPhoto
Example:
$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'video' => InputFile, 'video_start_ts' => double, 'video_emoji_markup' => VideoSize];