Sha256: e9750f8ee41320b5d1a757da78616d303fa5142253433dbe1b7cdb37775c73fb

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

module TD::Types
  # Represents a part of the text that needs to be formatted in some unusual way.
  #
  # @attr offset [Integer] Offset of the entity in UTF-16 code points.
  # @attr length [Integer] Length of the entity, in UTF-16 code points.
  # @attr type [TD::Types::TextEntityType] Type of the entity.
  class TextEntity < Base
    attribute :offset, TD::Types::Integer
    attribute :length, TD::Types::Integer
    attribute :type, TD::Types::TextEntityType
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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