Class: TD::Types::RichText::Anchor

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

Overview

A rich text anchor.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#nameString

Anchor name.

Returns:

  • (String)

    the current value of name



6
7
8
# File 'lib/tdlib/types/rich_text/anchor.rb', line 6

def name
  @name
end

#textTD::Types::RichText

Text.

Returns:



6
7
8
# File 'lib/tdlib/types/rich_text/anchor.rb', line 6

def text
  @text
end