GramIO API Reference / @gramio/contexts/dist / UserProfilePhotos
Class: UserProfilePhotos
Defined in: contexts/index.d.ts:4837
This object represent a user's profile pictures.
Constructors
Constructor
new UserProfilePhotos(
payload):UserProfilePhotos
Defined in: contexts/index.d.ts:4839
Parameters
| Parameter | Type |
|---|---|
payload | TelegramUserProfilePhotos |
Returns
UserProfilePhotos
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramUserProfilePhotos | contexts/index.d.ts:4838 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:4841
Returns
string
photos
Get Signature
get photos():
PhotoSize[][]
Defined in: contexts/index.d.ts:4845
Requested profile pictures (in up to 4 sizes each)
Returns
PhotoSize[][]
totalCount
Get Signature
get totalCount():
number
Defined in: contexts/index.d.ts:4843
Total number of profile pictures the target user has
Returns
number