Sha256: 18a13de254c74d0901890650d31a2857df6c2b57f3177034fbf7cd4f1c6df425

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

module TD::Types
  # A text with some entities.
  #
  # @attr text [String] The text.
  # @attr entities [Array<TD::Types::TextEntity>] Entities contained in the text.
  class FormattedText < Base
    attribute :text, TD::Types::String
    attribute :entities, TD::Types::Array.of(TD::Types::TextEntity)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-ruby-2.1.0 lib/tdlib/types/formatted_text.rb
tdlib-ruby-2.0.0 lib/tdlib/types/formatted_text.rb