Class: TD::Types::InlineKeyboardButtonType::Url

Inherits:
TD::Types::InlineKeyboardButtonType show all
Defined in:
lib/tdlib/types/inline_keyboard_button_type/url.rb

Overview

A button that opens a specified 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 open.

Returns:

  • (TD::Types::String)

    the current value of url



5
6
7
# File 'lib/tdlib/types/inline_keyboard_button_type/url.rb', line 5

def url
  @url
end