Overview
public void function saveUserSubscriptions(
required string userId
, required array topics
)
Saves a users subscription preferences
Arguments
Name | Type | Required | Description |
---|
userId | string | Yes | ID of the user whose subscribed topics we want to save |
topics | array | Yes | Array of topics to subscribe to |