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];