Class: TD::Types::RichText::Reference
- Inherits:
-
TD::Types::RichText
- Object
- Dry::Struct
- Base
- TD::Types::RichText
- TD::Types::RichText::Reference
- Defined in:
- lib/tdlib/types/rich_text/reference.rb
Overview
A reference to a richTexts object on the same page.
Instance Attribute Summary collapse
- #anchor_name ⇒ TD::Types::String
-
#text ⇒ TD::Types::RichText
The text.
-
#url ⇒ TD::Types::String
An HTTP URL, opening the reference.
Method Summary
Methods inherited from Base
Instance Attribute Details
#anchor_name ⇒ TD::Types::String
8 9 10 |
# File 'lib/tdlib/types/rich_text/reference.rb', line 8 def anchor_name @anchor_name end |
#text ⇒ TD::Types::RichText
The text.
8 9 10 |
# File 'lib/tdlib/types/rich_text/reference.rb', line 8 def text @text end |
#url ⇒ TD::Types::String
An HTTP URL, opening the reference.
8 9 10 |
# File 'lib/tdlib/types/rich_text/reference.rb', line 8 def url @url end |