UserProfileAudios

class telegram.UserProfileAudios(total_count, audios, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

This object represents the audios displayed on a user’s profile.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their total_count and audios are equal.

Added in version 22.7.

Parameters:
total_count[source]

Total number of profile audios for the target user.

Type:

int

audios[source]

Requested profile audios.

Type:

tuple[telegram.Audio]

classmethod de_json(data, bot=None)[source]

See telegram.TelegramObject.de_json().