Constructor: inputChatUploadedPhoto

Back to constructors index

New photo to be set as group profile photo.


Name Type Required Description
file File path or InputFile Yes File saved in parts using the method upload.saveFilePart

Type: InputChatPhoto


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

Or, if you’re into Lua:

inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile}

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