# Invitation

data class Invitation

A invitation to a conference.

This class contains all the information required to invite a new participant to a particular conference and to know the current state of that invitation.

## Types

Reason
Link copied to clipboard
sealed class Reason

Reasons why an Invitation may be rejected.

State
Link copied to clipboard
sealed class State

Possible states in which an Invitation may be.

## Properties

from
Link copied to clipboard
val from: Contact

Who sends the invitation.

id
Link copied to clipboard
val id: String

Invitation identifier.

mediaTypes
Link copied to clipboard
val mediaTypes: Map<String, Boolean>

Media types which the sender requests the receiver to share. If the receiver joins the conference, they could accept them or specify a different ones.

state
Link copied to clipboard
val state: Invitation.State

Invitation state.

to
Link copied to clipboard
val to: ConferenceParticipant

Who is invited to join the conference.