Sha256: 5ad348b57f3f643e27de2365db006faf10c566662a4f191b16a284511ad8a30e

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatBoostSourceGiveaway < Base
        attribute :source, Types::String.constrained(eql: 'giveaway').default('giveaway')
        attribute :giveaway_message_id, Types::Integer
        attribute? :user, User
        attribute? :prize_star_count, Types::Integer
        attribute? :is_unclaimed, Types::True
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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