Class: TD::Types::RichText::Url

Inherits:
TD::Types::RichText show all
Defined in:
lib/tdlib/types/rich_text/url.rb

Overview

A rich text URL link.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_cachedBoolean

True, if the URL has cached instant view server-side.

Returns:

  • (Boolean)

    the current value of is_cached



7
8
9
# File 'lib/tdlib/types/rich_text/url.rb', line 7

def is_cached
  @is_cached
end

#textTD::Types::RichText

Text.

Returns:



7
8
9
# File 'lib/tdlib/types/rich_text/url.rb', line 7

def text
  @text
end

#urlTD::Types::String

URL.

Returns:

  • (TD::Types::String)

    the current value of url



7
8
9
# File 'lib/tdlib/types/rich_text/url.rb', line 7

def url
  @url
end