setChannelPushPreference

Sets the push notification preference level for a specific channel.

Return

Executable async Call responsible for setting the channel's push preference. Returns a PushPreference object containing the updated preference settings on success.

Parameters

cid

The full channel identifier (e.g., "messaging:123") for which to set the preference.

level

The notification level to set for this channel. Available options: PushPreferenceLevel.all, PushPreferenceLevel.mentions, PushPreferenceLevel.none