-
static 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 class
A previously used profile photo of the current user.
static class
A static photo in JPEG format.
static 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.
Creates a function, which changes a profile photo for a bot.
Creates a function, which changes the photo of a chat.
Creates a function, which changes a profile photo for the current user.
Creates a function, which changes a personal profile photo of a contact user.
Creates a function, which suggests a profile photo to another regular user with common messages.