lib/telegram/bot/types/message_entity.rb
# 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