Sha256: 2667c26acb8e765791f420f6aa77c78af1a8235c8f171ffcd75e186387ddbbf5

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ReactionTypeEmoji < Base
        attribute :type, Types::String.constrained(eql: 'emoji').default('emoji')
        attribute :emoji, Types::String
      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/reaction_type_emoji.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/reaction_type_emoji.rb