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
| Parameter | Type |
|---|---|
payload | TelegramUserProfilePhotos |
Returns
UserProfilePhotos
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramUserProfilePhotos | contexts/index.d.ts:4708 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:4711
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