Restore channels
Restore a previously deleted channel with Restore().
Only soft-deleted channels (deleted with soft set to true) can be restored. Hard-deleted channels cannot be restored as their data is removed from App Context storage.
Requires App Context
Enable App Context for your keyset in the Admin Portal.
Method signature
This method has the following signature:
1channel.Restore()
Input
This method doesn't take any parameters.
Output
| Type | Description |
|---|---|
Task<ChatOperationResult> | Returned Task that you can await to get the result of the restore operation. |
Sample code
Restore a previously soft deleted channel with the ID of support.
1