# Constructor: inputChatPhoto

Back to constructors index

Existing photo to be set as a chat profile photo.

# Attributes:

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

# Type: InputChatPhoto

# Example:

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

Or, if you’re into Lua:

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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.