# State

sealed class State

Possible states in which an Invitation may be.

#### Inheritors

Pending
Canceled
Accepted
Rejected

## Types

Accepted
Link copied to clipboard
data class Accepted(val acceptedBy: Contact) : Invitation.State

The invitation was accepted.

Canceled
Link copied to clipboard
data object Canceled : Invitation.State

The invitation was canceled by the sender.

Companion
Link copied to clipboard
object Companion
Pending
Link copied to clipboard
data object Pending : Invitation.State

The invitation is waiting for response.

Rejected
Link copied to clipboard
data class Rejected(val reason: Invitation.Reason) : Invitation.State

The invitation was rejected.