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

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