inputChatUploadedPhoto
New photo to be set as group profile photo. The file, video and video_emoji_markup flags are mutually exclusive.
type tg.InputChatUploadedPhoto struct { /* ... */ }
Implements InputChatPhoto.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
File | InputFileClass | — | File saved in parts using the method upload.saveFilePart |
Video | InputFileClass | — | Square video for animated profile picture |
VideoStartTs | float64 | — | 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. |
VideoEmojiMarkup | VideoSizeClass | — | Animated sticker profile picture, must contain either a videoSizeEmojiMarkup or a videoSizeStickerMarkup constructor. |
References
- Official documentation
- Generated Go reference
- TL definition:
inputChatUploadedPhoto#bdcdaec0