class Tourmaline::UserProfilePhotos

Overview

This object represent a user's profile pictures.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(total_count : Int32 | Int64, photos : Array(Array(Tourmaline::PhotoSize)) = [] of Array(Tourmaline::PhotoSize)) #

[View source]

Instance Method Detail

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

Requested profile pictures (in up to 4 sizes each)


[View source]
def photos=(photos : Array(Array(Tourmaline::PhotoSize))) #

Requested profile pictures (in up to 4 sizes each)


[View source]
def total_count : Int32 | Int64 #

Total number of profile pictures the target user has


[View source]
def total_count=(total_count : Int32 | Int64) #

Total number of profile pictures the target user has


[View source]