class Tourmaline::UserProfilePhotos
- Tourmaline::UserProfilePhotos
- Reference
- Object
Overview
This object represent a user's profile pictures.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(total_count : Int32 | Int64, photos : Array(Array(Tourmaline::PhotoSize)) = [] of Array(Tourmaline::PhotoSize))
Instance Method Summary
-
#photos : Array(Array(Tourmaline::PhotoSize))
Requested profile pictures (in up to 4 sizes each)
-
#photos=(photos : Array(Array(Tourmaline::PhotoSize)))
Requested profile pictures (in up to 4 sizes each)
-
#total_count : Int32 | Int64
Total number of profile pictures the target user has
-
#total_count=(total_count : Int32 | Int64)
Total number of profile pictures the target user has
Constructor Detail
def self.new(total_count : Int32 | Int64, photos : Array(Array(Tourmaline::PhotoSize)) = [] of Array(Tourmaline::PhotoSize))
#
Instance Method Detail
def photos : Array(Array(Tourmaline::PhotoSize))
#
Requested profile pictures (in up to 4 sizes each)
def photos=(photos : Array(Array(Tourmaline::PhotoSize)))
#
Requested profile pictures (in up to 4 sizes each)
def total_count=(total_count : Int32 | Int64)
#
Total number of profile pictures the target user has