Class: TD::Types::TextEntityType::TextUrl

Inherits:
TD::Types::TextEntityType show all
Defined in:
lib/tdlib/types/text_entity_type/text_url.rb

Overview

A text description shown instead of a raw URL.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#urlTD::Types::String

HTTP or tg:// URL to be opened when the link is clicked.

Returns:

  • (TD::Types::String)

    the current value of url



5
6
7
# File 'lib/tdlib/types/text_entity_type/text_url.rb', line 5

def url
  @url
end