Sha256: 0eddb8f66a36da424b0e44fc6fddd5679335d27fafaf0d77a8719be73c2a48fe

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 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
      phone_number
      bank_card_number
      bold
      italic
      underline
      strikethrough
      code
      pre
      pre_code
      text_url
      mention_name
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/text_entity_type/#{type}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/text_entity_type.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/text_entity_type.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/text_entity_type.rb