Link Search Menu Expand Document

Constructor: inputChatPhoto

Back to constructors index

Existing photo to be set as a chat profile photo.

Attributes:

NameTypeRequiredDescription
idMessageMedia, Message, Update or InputPhotoOptionalExisting photo

Type: InputChatPhoto

Example:

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