MadelineProtoDocs/old_docs/API_docs_v86/constructors/chatPhoto.md
2019-12-27 17:48:04 +01: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}