InputProfilePhoto¶ class telegram.InputProfilePhoto(type, *, api_kwargs=None)[source]¶ Bases: telegram.TelegramObject This object describes a profile photo to set. Currently, it can be one of InputProfilePhotoStatic InputProfilePhotoAnimated Use In telegram.Bot.set_business_account_profile_photo() telegram.Bot.set_my_profile_photo() Added in version 22.1. Parameters: type (str) – Type of the profile photo. type[source]¶ Type of the profile photo. Type: str ANIMATED = 'animated'[source]¶ 'animated'. Type: str STATIC = 'static'[source]¶ 'static'. Type: str