class Telegram::API::ChatPhoto

Overview

This object represents a chat photo.

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(small_file_id : String, small_file_unique_id : String, big_file_id : String, big_file_unique_id : String) #

[View source]
def self.new(pull : JSON::PullParser) #

This object represents a chat photo.


[View source]

Instance Method Detail

def big_file_id : String #

File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.


[View source]
def big_file_id=(big_file_id : String) #

File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.


[View source]
def big_file_unique_id : String #

Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.


[View source]
def big_file_unique_id=(big_file_unique_id : String) #

Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.


[View source]
def small_file_id : String #

File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.


[View source]
def small_file_id=(small_file_id : String) #

File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.


[View source]
def small_file_unique_id : String #

Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.


[View source]
def small_file_unique_id=(small_file_unique_id : String) #

Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.


[View source]