Interface GetExternalLink

Returns an HTTP URL that can be used to automatically authorize the current user on a website after clicking an HTTP link. Use the method getExternalLinkInfo to find whether a prior user confirmation is needed. May return an empty link if just a toast about successful login has to be shown. Request type for Tdjson#getExternalLink.

interface GetExternalLink {
    @type: "getExternalLink";
    allow_write_access?: boolean;
    link: string;
}

Properties

@type: "getExternalLink"
allow_write_access?: boolean

Pass true if the current user allowed the bot that was returned in getExternalLinkInfo to send them messages.

link: string

The HTTP link.