Sha256: 82ea8c89c3b8a2ec70d291f3e205615019a6297eed7e67aad1f83259847b6096

Contents?: true

Size: 630 Bytes

Versions: 1

Compression:

Stored size: 630 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Giveaway < Base
        attribute :chats, Types::Array.of(Chat)
        attribute :winners_selection_date, Types::Integer
        attribute :winner_count, Types::Integer
        attribute? :only_new_members, Types::True
        attribute? :has_public_winners, Types::True
        attribute? :prize_description, Types::String
        attribute? :country_codes, Types::Array.of(Types::String)
        attribute? :prize_star_count, Types::Integer
        attribute? :premium_subscription_month_count, Types::Integer
      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.rb