inputChatUploadedPhoto

New photo to be set as group profile photo.

inputChatUploadedPhoto#c642724e flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double = InputChatPhoto;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
file flags.0?InputFile File saved in parts using the method upload.saveFilePart
video flags.1?InputFile Square video for animated profile picture
video_start_ts flags.2?double Timestamp that should be shown as static preview to the user (seconds)

Type

InputChatPhoto

Related pages

upload.saveFilePart

Saves a part of file for further sending to one of the methods.