get_internal_link


Description:

public async HttpUrl get_internal_link (InternalLinkType type_, bool is_http) throws TDLibError

Returns an HTTPS or a tg: link with the given type. Can be called before authorization

Parameters:

type_

Expected type of the link

is_http

Pass true to create an HTTPS link (only available for some link types); pass false to create a tg: link