-
static final class
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
A previously used profile photo of
the current user.
static final class
A static photo in JPEG format.
static final class
A sticker on a custom background.
TdApi.SetBotProfilePhoto.photo
Profile photo to set; pass null to
delete the chat photo.
New chat photo; pass null to delete
the chat photo.
TdApi.SetProfilePhoto.photo
TdApi.SetUserPersonalProfilePhoto.photo
Profile photo to set; pass null to
delete the photo; inputChatPhotoPrevious
isn't supported in this function.
TdApi.SuggestUserProfilePhoto.photo
Profile photo to suggest;
inputChatPhotoPrevious isn't
supported in this function.
Changes a profile photo for a bot.
Changes the photo of a chat.
Changes a profile photo for the current user.
Changes a personal profile photo of
a contact user.
Suggests a profile photo to another
regular user with common messages.