atipugin/telegram-bot-ruby

View on GitHub
lib/telegram/bot/types/giveaway_completed.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class GiveawayCompleted < Base
        attribute :winner_count, Types::Integer
        attribute? :unclaimed_prize_count, Types::Integer
        attribute? :giveaway_message, Message
      end
    end
  end
end