inviteToChannel

fun inviteToChannel(actorId: UUID, targetId: UUID, channelId: String): Result<Unit>(source)

Adds targetId to channelId on actorId's invitation, bypassing the private-channel gate.

Return

Result indicating success or failure.

Throws

if the actor invited themselves.