Skip to main content

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

NameTypeRequiredDescription
FileInputFileClassFile saved in parts using the method upload.saveFilePart
VideoInputFileClassSquare video for animated profile picture
VideoStartTsfloat64Floating 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.
VideoEmojiMarkupVideoSizeClassAnimated sticker profile picture, must contain either a videoSizeEmojiMarkup or a videoSizeStickerMarkup constructor.

References