class Hamilton::Types::UserProfilePhotos

Overview

This object represent a user's profile pictures.

Included Modules

Defined in:

types/user_profile_photos.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

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

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def photos : Array(Array(Hamilton::Types::PhotoSize)) #

Requested profile pictures (in up to 4 sizes each).


def photos=(photos : Array(Array(Hamilton::Types::PhotoSize))) #

Requested profile pictures (in up to 4 sizes each).


def total_count : Int32 #

Total number of profile pictures the target user has.


def total_count=(total_count : Int32) #

Total number of profile pictures the target user has.