Class: TD::Types::TMeUrl

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/t_me_url.rb

Overview

Represents a URL linking to an internal Telegram entity.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#typeTD::Types::TMeUrlType

Type of the URL.

Returns:



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

def type
  @type
end

#urlTD::Types::String

URL.

Returns:

  • (TD::Types::String)

    the current value of url



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

def url
  @url
end