class Telegram::API::UserProfilePhotos

Overview

This object represent a user's profile pictures.

Defined in:

telegram/api/generated/types.cr

Constructors

Instance Method Summary

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

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

This object represent a user's profile pictures.


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

[View source]

Instance Method Detail

def photos : Array(Array(PhotoSize)) #

Requested profile pictures (in up to 4 sizes each)


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

Requested profile pictures (in up to 4 sizes each)


[View source]
def total_count : Int32 #

Total number of profile pictures the target user has


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

Total number of profile pictures the target user has


[View source]