Sha256: a8d6ee6d95358173ca655372252c008c9379b64421fe7dc224c18d450792368a

Contents?: true

Size: 448 Bytes

Versions: 2

Compression:

Stored size: 448 Bytes

Contents

module TD::Types
  # Represents a part of the text which must be formatted differently.
  class TextEntityType < Base
    %w[
      mention
      hashtag
      cashtag
      bot_command
      url
      email_address
      bold
      italic
      code
      pre
      pre_code
      text_url
      mention_name
      phone_number
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/text_entity_type/#{type}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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