1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 08:16:54 +01:00
MadelineProto/docs/TD_docs/constructors/updateChatPhoto.md
2017-07-23 16:11:02 +02:00

826 B

title description
updateChatPhoto Chat photo was changed

Constructor: updateChatPhoto

Back to constructors index

Chat photo was changed

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier
photo chatPhoto Yes New chat photo, nullable

Type: Update

Example:

$updateChatPhoto = ['_' => 'updateChatPhoto', 'chat_id' => long, 'photo' => chatPhoto, ];

PWRTelegram json-encoded version:

{"_":"updateChatPhoto","chat_id":"long","photo":"chatPhoto"}

Or, if you're into Lua:

updateChatPhoto={_='updateChatPhoto', chat_id=long, photo=chatPhoto, }