# Constructor: inputChatUploadedPhoto

Back to constructors index

New photo to be set as group profile photo.

# 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  
video_start_ts double Optional  

# Type: InputChatPhoto

# Example:

$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'video' => InputFile, 'video_start_ts' => double];

Or, if you’re into Lua:

inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, video=InputFile, video_start_ts=double}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.