createCustomLink

open fun createCustomLink(userId: String, linkId: String, title: String, description: String, hasUniqueAccess: Boolean, expiredTime: CustomRefyLink.ExpiredTime, resources: Map<String, Any>, fields: Map<String, Any>)

Method to execute the query to save a link

Parameters

linkId

: the identifier of the link

title

: the title of the link

description

: the description of the link

hasUniqueAccess

: whether the link has the unique access

expiredTime

: the expiration time set for the link

resources

: the resources attached to the link

fields

: the field used to protect the resources