Skip to content

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

Class: UserProfilePhotos

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

This object represent a user's profile pictures.

Constructors

Constructor

new UserProfilePhotos(payload): UserProfilePhotos

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

Parameters

ParameterType
payloadTelegramUserProfilePhotos

Returns

UserProfilePhotos

Properties

PropertyTypeDefined in
payloadTelegramUserProfilePhotoscontexts/index.d.ts:4708

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


photos

Get Signature

get photos(): PhotoSize[][]

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

Requested profile pictures (in up to 4 sizes each)

Returns

PhotoSize[][]


totalCount

Get Signature

get totalCount(): number

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

Total number of profile pictures the target user has

Returns

number