--- title: "inputChatPhoto" description: "Existing photo to be set as a chat profile photo." nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: inputChatPhoto [Back to constructors index](/API_docs/constructors/index.html) Existing photo to be set as a chat profile photo. ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |id|[MessageMedia, Message, Update or InputPhoto](/API_docs/types/InputPhoto.html) | Optional|Existing photo| ### Type: [InputChatPhoto](/API_docs/types/InputChatPhoto.html) ### Example: ``` $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ```