Skip to content

GramIO API Reference / @gramio/contexts/dist / UserProfileAudios

Class: UserProfileAudios ​

Defined in: contexts/index.d.ts:5205

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

Documentation

Constructors ​

Constructor ​

new UserProfileAudios(payload): UserProfileAudios

Defined in: contexts/index.d.ts:5207

Parameters ​

ParameterType
payloadTelegramUserProfileAudios

Returns ​

UserProfileAudios

Properties ​

PropertyTypeDefined in
payloadTelegramUserProfileAudioscontexts/index.d.ts:5206

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

Defined in: contexts/index.d.ts:5209

MDN

Returns ​

string


audios ​

Get Signature ​

get audios(): AudioAttachment[]

Defined in: contexts/index.d.ts:5217

Requested profile audios

Returns ​

AudioAttachment[]


totalCount ​

Get Signature ​

get totalCount(): number

Defined in: contexts/index.d.ts:5213

Total number of profile audios for the target user

Returns ​

number