Class: TD::Types::RichText::Url
- Inherits:
-
TD::Types::RichText
- Object
- Dry::Struct
- Base
- TD::Types::RichText
- TD::Types::RichText::Url
- Defined in:
- lib/tdlib/types/rich_text/url.rb
Overview
A rich text URL link.
Instance Attribute Summary collapse
-
#is_cached ⇒ Boolean
True, if the URL has cached instant view server-side.
-
#text ⇒ TD::Types::RichText
Text.
-
#url ⇒ TD::Types::String
URL.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_cached ⇒ Boolean
True, if the URL has cached instant view server-side.
7 8 9 |
# File 'lib/tdlib/types/rich_text/url.rb', line 7 def is_cached @is_cached end |
#text ⇒ TD::Types::RichText
Text.
7 8 9 |
# File 'lib/tdlib/types/rich_text/url.rb', line 7 def text @text end |
#url ⇒ TD::Types::String
URL.
7 8 9 |
# File 'lib/tdlib/types/rich_text/url.rb', line 7 def url @url end |