Class: TD::Types::PageBlock::Anchor

Inherits:
TD::Types::PageBlock show all
Defined in:
lib/tdlib/types/page_block/anchor.rb

Overview

An invisible anchor on a page, which can be used in a URL to open the page from the specified anchor.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#nameTD::Types::String

Name of the anchor.

Returns:

  • (TD::Types::String)

    the current value of name



5
6
7
# File 'lib/tdlib/types/page_block/anchor.rb', line 5

def name
  @name
end