Sha256: a8c4328f09a6b499b10df3a518dd858c8023d38cc94c7ed85903eb6a19c0a9d2

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

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