Leave channels
Use the Leave()
method to remove user's channel membership and unsubscribe them from receiving messages and events.
Requires App Context
To set up and manage channel membership, you must enable App Context for your app's keyset in the Admin Portal.
Method signature
- Blueprint
- C++ / Input parameters
Channel->Leave();
Output
This method doesn't return any value.