class TelegramBot::Models::LoginUrl

Overview

https://core.telegram.org/bots/api#loginurl

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

https://core.telegram.org/bots/api#loginurl


[View source]
def self.new(url : String, forward_text : String | Nil = nil, bot_username : String | Nil = nil, request_write_access : Bool | Nil = nil) #

[View source]

Instance Method Detail

def bot_username : String | Nil #

[View source]
def bot_username=(bot_username : String | Nil) #

[View source]
def forward_text : String | Nil #

[View source]
def forward_text=(forward_text : String | Nil) #

[View source]
def request_write_access : Bool | Nil #

[View source]
def request_write_access=(request_write_access : Bool | Nil) #

[View source]
def url : String #

[View source]
def url=(url : String) #

[View source]