Sha256: 46f30fc18e5cb0d78fec41c9d81515eb12cb3021a518b66de97edeede116e13f

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 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
      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

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/text_entity_type.rb