Skip to content

class Tourmaline::UserProfilePhotos
inherits Reference #

This object represent a user's profile pictures.

Included modules

JSON::Serializable

Constructors#

.new(pull : JSON::PullParser) #

View source

.new(total_count, photos : Array(Array(Tourmaline::PhotoSize)) = [] of Array(Tourmaline::PhotoSize)) #

View source

Methods#

#photos : Array(Array(Tourmaline::PhotoSize)) #

Requested profile pictures (in up to 4 sizes each)

View source

#photos=(photos : Array(Array(Tourmaline::PhotoSize))) #

Requested profile pictures (in up to 4 sizes each)

View source

#total_count : Int32 | Int64 #

Total number of profile pictures the target user has

View source

#total_count=(total_count : Int32 | Int64) #

Total number of profile pictures the target user has

View source