Skip to content

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

Class: UserProfilePhotos ​

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

This object represent a user's profile pictures.

Constructors ​

Constructor ​

new UserProfilePhotos(payload): UserProfilePhotos

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

Parameters ​

ParameterType
payloadTelegramUserProfilePhotos

Returns ​

UserProfilePhotos

Properties ​

PropertyTypeDefined in
payloadTelegramUserProfilePhotoscontexts/index.d.ts:5222

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


photos ​

Get Signature ​

get photos(): PhotoSize[][]

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

Requested profile pictures (in up to 4 sizes each)

Returns ​

PhotoSize[][]


totalCount ​

Get Signature ​

get totalCount(): number

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

Total number of profile pictures the target user has

Returns ​

number