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