class Telegram::API::UserProfilePhotos
- Telegram::API::UserProfilePhotos
- Telegram::API::Type
- Reference
- Object
Overview
This object represent a user's profile pictures.
Defined in:
telegram/api/generated/types.crConstructors
-
.new(pull : JSON::PullParser)
This object represent a user's profile pictures.
- .new(total_count : Int32, photos : Array(Array(PhotoSize)) = Array(Array(PhotoSize)).new)
Instance Method Summary
-
#photos : Array(Array(PhotoSize))
Requested profile pictures (in up to 4 sizes each)
-
#photos=(photos : Array(Array(PhotoSize)))
Requested profile pictures (in up to 4 sizes each)
-
#total_count : Int32
Total number of profile pictures the target user has
-
#total_count=(total_count : Int32)
Total number of profile pictures the target user has
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
Instance Method Detail
Requested profile pictures (in up to 4 sizes each)
Requested profile pictures (in up to 4 sizes each)