struct

Telegram::LoginUrl

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: LoginUrl This object represents a parameter of the inline keyboard button used to automatically authorize a user. Serves as a great replacement for the Telegram Login Widget when the user is coming from Telegram. All the user needs to do is tap/click a button and confirm that they want to log in: Telegram apps support these buttons as of version 5.7.

Constructors

new(url : String, forward_text : String | Nil = nil, bot_username : String | Nil = nil, request_write_access : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

bot_username
clone
Source
copy_with(url _url = @url, forward_text _forward_text = @forward_text, bot_username _bot_username = @bot_username, request_write_access _request_write_access = @request_write_access)
Source
forward_text
request_write_access
url