Sha256: b995566128fdd7add4066c1538161eec6faba265524422dcd56e2fdf2083e901

Contents?: true

Size: 426 Bytes

Versions: 6

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class MessageEntity < Base
        attribute :type, Types::String
        attribute :offset, Types::Integer
        attribute :length, Types::Integer
        attribute? :url, Types::String
        attribute? :user, User
        attribute? :language, Types::String
        attribute? :custom_emoji_id, Types::String
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/message_entity.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/message_entity.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/message_entity.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/message_entity.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/message_entity.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/message_entity.rb