Sha256: 27f9481ecf35088e72a8378894fd49087e004805fdf8011216681362c497cbbc

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 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 units.
  # @attr length [Integer] Length of the entity, in UTF-16 code units.
  # @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

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/text_entity.rb