getUserSubscriptions()

Overview

public array function getUserSubscriptions(
      required string userId
)

Get subscribed topics for a user. Returns an array of the topic ids

Arguments

NameTypeRequiredDescription
userIdstringYesID of the user whose subscribed topics we want to fetch