MadelineProtoDocs/old_docs/API_docs_v103/constructors/inputChatPhoto.md
2019-08-15 20:25:16 +02:00

672 B

title description image
inputChatPhoto Chat photo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputChatPhoto

Back to constructors index

Chat photo

Attributes:

Name Type Required Description
id MessageMedia, Message, Update or InputPhoto Optional ID

Type: InputChatPhoto

Example:

$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto];

Or, if you're into Lua:

inputChatPhoto={_='inputChatPhoto', id=InputPhoto}