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>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier of the message with the button. |
| message_id | string | Message identifier of the message with the button. |
| button_id | string | Button identifier. |
| allow_write_access | bool | Pass true to allow the bot to send messages to the current user. |
More details on telegram's documentation.