class TelegramBot::Models::LoginUrl
- TelegramBot::Models::LoginUrl
- TelegramBot::Models::Base
- Reference
- Object
Overview
https://core.telegram.org/bots/api#loginurl
Defined in:
telegram_bot/models.crConstructors
-
.new(pull : JSON::PullParser)
https://core.telegram.org/bots/api#loginurl
- .new(url : String, forward_text : String | Nil = nil, bot_username : String | Nil = nil, request_write_access : Bool | Nil = nil)
Instance Method Summary
- #bot_username : String | Nil
- #bot_username=(bot_username : String | Nil)
- #forward_text : String | Nil
- #forward_text=(forward_text : String | Nil)
- #request_write_access : Bool | Nil
- #request_write_access=(request_write_access : Bool | Nil)
- #url : String
- #url=(url : String)
Constructor methods inherited from class TelegramBot::Models::Base
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(url : String, forward_text : String | Nil = nil, bot_username : String | Nil = nil, request_write_access : Bool | Nil = nil)
#