Sha256: b8f8a320ad63b9a9a2a4c7e78a878a9fa86fb39cf1f6e5dac7dc877bb50a7c18

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Gift < Base
        attribute :id, Types::String
        attribute :sticker, Sticker
        attribute :star_count, Types::Integer
        attribute? :total_count, Types::Integer
        attribute? :remaining_count, Types::Integer
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/gift.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/gift.rb