MadelineProtoDocs/docs/API_docs/constructors/chatPhoto.md
2024-05-01 14:53:46 +02:00

988 B

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

Constructor: chatPhoto

Back to constructors index

Group profile photo.

Attributes:

Name Type Required Description
has_video Bool Optional Whether the user has an animated profile picture
photo_id long Yes Photo ID
stripped_thumb bytes Optional Stripped thumbnail
dc_id int Yes DC where this photo is stored

Type: ChatPhoto

Example:

$chatPhoto = ['_' => 'chatPhoto', 'has_video' => Bool, 'photo_id' => long, 'stripped_thumb' => 'bytes', 'dc_id' => int];