Sha256: cb39803edad535fc11ba76fb6bc4846ca8db7e37e70773ee864b4ff701dedcf6

Contents?: true

Size: 434 Bytes

Versions: 2

Compression:

Stored size: 434 Bytes

Contents

module TD::Types
  # Describes a text object inside an instant-view web page.
  class RichText < Base
    %w[
      plain
      bold
      italic
      underline
      strikethrough
      fixed
      url
      email_address
      subscript
      superscript
      marked
      phone_number
      icon
      anchor
      s
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/rich_text/#{type}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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