MadelineProtoDocs/old_docs/API_docs_v4/constructors/chatPhoto.md
2020-06-16 17:50:25 +02:00

924 B

title description image
chatPhoto Group profile photo. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: chatPhoto

Back to constructors index

Group profile photo.

Attributes:

Name Type Required Description
photo_small FileLocation Yes Location of the file corresponding to the small thumbnail for group profile photo
photo_big FileLocation Yes Location of the file corresponding to the small thumbnail for group profile photo

Type: ChatPhoto

Example:

$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation];

Or, if you're into Lua:

chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation}