atipugin/telegram-bot-ruby

View on GitHub
lib/telegram/bot/types/text_quote.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class TextQuote < Base
        attribute :text, Types::String
        attribute? :entities, Types::Array.of(MessageEntity)
        attribute :position, Types::Integer
        attribute? :is_manual, Types::True
      end
    end
  end
end