Interface GetExternalLink

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 getExternalLinkInfo to find whether a prior user confirmation is needed. 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, returned in getExternalLinkInfo, to send them messages.

link: string

The HTTP link.