get_external_link


Description:

public async HttpUrl get_external_link (string link, bool allow_write_access) throws TDLibError

Returns an HTTP URL which can be used to automatically authorize the current user on a website after clicking an HTTP link. Use the method Client.get_external_link_info to find whether a prior user confirmation is needed

Parameters:

link

The HTTP link

allow_write_access

Pass true if the current user allowed the bot, returned in Client.get_external_link_info to send them messages