Sha256: ad4fcfca7b5b5afc188ce64220f934005f043f45db411bf12f6a6107b0527cc6

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatBoostSourcePremium < Base
        attribute :source, Types::String.constrained(eql: 'premium').default('premium')
        attribute :user, User
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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