Overview
public array function getUserSubscriptions(
required string userId
)
Get subscribed topics for a user. Returns an array of the topic ids
Arguments
| Name | Type | Required | Description |
|---|
| userId | string | Yes | ID of the user whose subscribed topics we want to fetch |