Class: TD::Types::InlineKeyboardButtonType::LoginUrl
- Inherits:
-
TD::Types::InlineKeyboardButtonType
- Object
- Dry::Struct
- Base
- TD::Types::InlineKeyboardButtonType
- TD::Types::InlineKeyboardButtonType::LoginUrl
- Defined in:
- lib/tdlib/types/inline_keyboard_button_type/login_url.rb
Overview
A button that opens a specified URL and automatically authorize the current user if allowed to do so.
Instance Attribute Summary collapse
-
#forward_text ⇒ TD::Types::String
If non-empty, new text of the button in forwarded messages.
-
#id ⇒ Integer
Unique button identifier.
-
#url ⇒ TD::Types::String
An HTTP URL to open.
Method Summary
Methods inherited from Base
Instance Attribute Details
#forward_text ⇒ TD::Types::String
If non-empty, new text of the button in forwarded messages.
7 8 9 |
# File 'lib/tdlib/types/inline_keyboard_button_type/login_url.rb', line 7 def forward_text @forward_text end |
#id ⇒ Integer
Unique button identifier.
7 8 9 |
# File 'lib/tdlib/types/inline_keyboard_button_type/login_url.rb', line 7 def id @id end |
#url ⇒ TD::Types::String
An HTTP URL to open.
7 8 9 |
# File 'lib/tdlib/types/inline_keyboard_button_type/login_url.rb', line 7 def url @url end |