class
Hamilton::Types::ChatPhoto
- Hamilton::Types::ChatPhoto
- Reference
- Object
Overview
This object represents a chat photo.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/chat_photo.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#big_file_id : String
File identifier of big (640x640) chat photo.
-
#big_file_id=(big_file_id : String)
File identifier of big (640x640) chat photo.
-
#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.
-
#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.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#small_file_id : String
File identifier of small (160x160) chat photo.
-
#small_file_id=(small_file_id : String)
File identifier of small (160x160) chat photo.
-
#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.
-
#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.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
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.
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.
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.
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.
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.
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.
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.
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.