acceptChannelInvitation

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

Accept an invitation to join a specific channel.

This method allows a user to accept an invitation to join a channel. Once accepted, the user will become a member of the channel and start receiving updates and 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 accepted.