class
Hamilton::Types::OwnedGifts
- Hamilton::Types::OwnedGifts
- Reference
- Object
Overview
Contains the list of gifts received and owned by a user or a chat.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/owned_gift.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#gifts : Array(Hamilton::Types::OwnedGift)
The list of gifts.
-
#gifts=(gifts : Array(Hamilton::Types::OwnedGift))
The list of gifts.
-
#next_offset : String | Nil
Offset for the next request.
-
#next_offset=(next_offset : String | Nil)
Offset for the next request.
-
#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.
-
#total_count : Int32
The total number of gifts owned by the user or the chat.
-
#total_count=(total_count : Int32)
The total number of gifts owned by the user or the chat.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def next_offset : String | Nil
#
Offset for the next request. If empty, then there are no more results.
def next_offset=(next_offset : String | Nil)
#
Offset for the next request. If empty, then there are no more results.