declineChannelInvitation

abstract suspend fun declineChannelInvitation(channelId: String): RainbowResult<Unit>

Decline an invitation to join a specific channel.

This method allows a user to decline an invitation to join a channel. Once declined, the user will not become a member of the channel and will not receive any updates or notifications.

Return

A RainbowResult indicating the success or failure of the operation. In case of failure, the result will contain error details.

Parameters

channelId

The ID of the Channel for which the invitation is declined.