Sha256: 36154abca25c7a67dca873d19a0088c2b617942611929a89de6f3aa7b0244c16

Contents?: true

Size: 768 Bytes

Versions: 1

Compression:

Stored size: 768 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class GiveawayWinners < Base
        attribute :chat, Chat
        attribute :giveaway_message_id, Types::Integer
        attribute :winners_selection_date, Types::Integer
        attribute :winner_count, Types::Integer
        attribute :winners, Types::Array.of(User)
        attribute? :additional_chat_count, Types::Integer
        attribute? :prize_star_count, Types::Integer
        attribute? :premium_subscription_month_count, Types::Integer
        attribute? :unclaimed_prize_count, Types::Integer
        attribute? :only_new_members, Types::True
        attribute? :was_refunded, Types::True
        attribute? :prize_description, Types::String
      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/giveaway_winners.rb