# 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 final class`
`TdApi.InputChatPhotoAnimation`
An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 1280 and be at most 2MB in size.
`static final class`
`TdApi.InputChatPhotoPrevious`
A previously used profile photo of the current user.
`static final class`
`TdApi.InputChatPhotoStatic`
A static photo in JPEG format.
`static final class`
`TdApi.InputChatPhotoSticker`
A sticker on a custom background.
Fields in it.tdlight.jni declared as TdApi.InputChatPhoto
Modifier and Type
Field
Description
`TdApi.InputChatPhoto`
TdApi.SetBotProfilePhoto.`photo`
Profile photo to set; pass null to delete the chat photo.
`TdApi.InputChatPhoto`
TdApi.SetChatPhoto.`photo`
New chat photo; pass null to delete the chat photo.
`TdApi.InputChatPhoto`
TdApi.SetProfilePhoto.`photo`
Profile photo to set.
`TdApi.InputChatPhoto`
TdApi.SetUserPersonalProfilePhoto.`photo`
Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.
`TdApi.InputChatPhoto`
TdApi.SuggestUserProfilePhoto.`photo`
Profile photo to suggest; inputChatPhotoPrevious isn't supported in this function.
Constructors in it.tdlight.jni with parameters of type TdApi.InputChatPhoto
Modifier
Constructor
Description
``
`SetBotProfilePhoto(long botUserId, TdApi.InputChatPhoto photo)`
Changes a profile photo for a bot.
``
`SetChatPhoto(long chatId, TdApi.InputChatPhoto photo)`
Changes the photo of a chat.
``
`SetProfilePhoto(TdApi.InputChatPhoto photo, boolean isPublic)`
Changes a profile photo for the current user.
``
`SetUserPersonalProfilePhoto(long userId, TdApi.InputChatPhoto photo)`
Changes a personal profile photo of a contact user.
``
`SuggestUserProfilePhoto(long userId, TdApi.InputChatPhoto photo)`
Suggests a profile photo to another regular user with common messages.