MadelineProtoDocs/docs/API_docs/constructors/inputChatUploadedPhoto.md
2020-09-12 12:47:38 +02:00

1.0 KiB

title description image
inputChatUploadedPhoto New photo to be set as group profile photo. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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}