# Uses of Class it.tdlight.jni.TdApi.InputChatPhoto (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: InputChatPhoto

# Uses of Class
it.tdlight.jni.TdApi.InputChatPhoto

## Uses of TdApi.InputChatPhoto in it.tdlight.jni

Subclasses of TdApi.InputChatPhoto in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.InputChatPhotoAnimation` | An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 800 and be at most 2MB in size.
`static class` | `TdApi.InputChatPhotoPrevious` | A previously used profile photo of the current user.
`static class` | `TdApi.InputChatPhotoStatic` | A static photo in JPEG format.

Fields in it.tdlight.jni declared as TdApi.InputChatPhoto
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.InputChatPhoto` | TdApi.SetChatPhoto.`photo` | New chat photo; pass null to delete the chat photo.
`TdApi.InputChatPhoto` | TdApi.SetProfilePhoto.`photo` | Profile photo to set.

Constructors in it.tdlight.jni with parameters of type TdApi.InputChatPhoto
Constructor | Description
--- | ---
`SetChatPhoto​(long chatId, TdApi.InputChatPhoto photo)` | Changes the photo of a chat.
`SetProfilePhoto​(TdApi.InputChatPhoto photo)` | Changes a profile photo for the current user.