View Source ExTDLib.Method.GetLoginUrl (ExTDLib v0.0.4)

Returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl. Use the method getLoginUrlInfo to find whether a prior user confirmation is needed. If an error is returned, then the button must be handled as an ordinary URL button. Returns object_ptr<HttpUrl>.

NameTypeDescription
chat_idstringChat identifier of the message with the button.
message_idstringMessage identifier of the message with the button.
button_idstringButton identifier.
allow_write_accessboolPass true to allow the bot to send messages to the current user.

More details on telegram's documentation.