Interface GetInternalLink

Returns an HTTPS or a tg: link with the given type. Can be called before authorization. Request type for Tdjson#getInternalLink.

interface GetInternalLink {
    @type: "getInternalLink";
    is_http?: boolean;
    type: InternalLinkType;
}

Properties

Properties

@type: "getInternalLink"
is_http?: boolean

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

Expected type of the link.