add Link To Collections

open override fun addLinkToCollections(link: RefyLink, collections: List<String>, onSuccess: () -> Unit)

Function to share the link with collections

Parameters

link

: the link to share with the collections

collections

: the collections identifiers where add the link

onSuccess

: the action to execute if the request has been successful