struct

Telegram::OwnedGifts

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: OwnedGifts Contains the list of gifts received and owned by a user or a chat.

Constructors

new(total_count : Int64, gifts : Array(OwnedGift), next_offset : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(total_count _total_count = @total_count, gifts _gifts = @gifts, next_offset _next_offset = @next_offset)
Source
gifts
next_offset
total_count