Class: TD::Types::RichText::AnchorLink
- Inherits:
-
TD::Types::RichText
- Object
- Dry::Struct
- Base
- TD::Types::RichText
- TD::Types::RichText::AnchorLink
- Defined in:
- lib/tdlib/types/rich_text/anchor_link.rb
Overview
A link to an anchor on the same web page.
Instance Attribute Summary collapse
-
#anchor_name ⇒ TD::Types::String
The anchor name.
-
#text ⇒ TD::Types::RichText
The link text.
-
#url ⇒ TD::Types::String
An HTTP URL, opening the anchor.
Method Summary
Methods inherited from Base
Instance Attribute Details
#anchor_name ⇒ TD::Types::String
The anchor name. If the name is empty, the link should bring back to top.
8 9 10 |
# File 'lib/tdlib/types/rich_text/anchor_link.rb', line 8 def anchor_name @anchor_name end |
#text ⇒ TD::Types::RichText
The link text.
8 9 10 |
# File 'lib/tdlib/types/rich_text/anchor_link.rb', line 8 def text @text end |
#url ⇒ TD::Types::String
An HTTP URL, opening the anchor.
8 9 10 |
# File 'lib/tdlib/types/rich_text/anchor_link.rb', line 8 def url @url end |