MadelineProtoDocs/old_docs/API_docs_v100/constructors/chatPhoto.md
2019-12-27 17:48:04 +01:00

1019 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
dc_id int Yes DC where this photo is stored

Type: ChatPhoto

Example:

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

Or, if you're into Lua:

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