MadelineProto/docs/TD_docs/constructors/chatPhoto.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

752 B

title description
chatPhoto Describes chat photo

Constructor: chatPhoto

Back to constructors index

Describes chat photo

Attributes:

Name Type Required Description
small file Yes Small (160x160) chat photo
big file Yes Big (640x640) chat photo

Type: ChatPhoto

Example:

$chatPhoto = ['_' => 'chatPhoto', 'small' => file, 'big' => file];

PWRTelegram json-encoded version:

{"_": "chatPhoto", "small": file, "big": file}

Or, if you're into Lua:

chatPhoto={_='chatPhoto', small=file, big=file}