Interface GetUserLink

Returns an HTTPS link that can be used to get information about the current user. Request type for Tdjson#getUserLink.

interface GetUserLink {
    @type: "getUserLink";
    remove_messages_fee?: boolean;
    return_permanent_link?: boolean;
    revoke_previous_links?: boolean;
}

Properties

@type: "getUserLink"
remove_messages_fee?: boolean

Pass true to get a link that allows other users to send unpaid messages to the current user. By default, a temporary link is returned in this case.

return_permanent_link?: boolean

Pass true to get a permanent link; ignored if remove_messages_fee is false. Can be used only if can_get_permanent_link is true in a previously received userLink.

revoke_previous_links?: boolean

Pass true to revoke previously created links that allow other users to send unpaid messages to the current user; ignored if remove_messages_fee is false. If return_permanent_link is true, then the permanent link is revoked too; otherwise, only temporary links are revoked.