Skip to main content

ChannelState

The possible states of a channel.

enum ChannelState {
ACTIVE
CONFIRMED
DEMO
DISCONNECTED
ERROR
MIGRATING
SYNCING
UNCONFIRMED
}

Values

ChannelState.ACTIVE

A message has been received on the channel.

ChannelState.CONFIRMED

The channel has been confirmed by the owner. This is optional, and only for channels that require an extra setup step (for example: to confirm that an EmailChannel can be used to forward emails into).

ChannelState.DEMO

The channel doesn't have a primary source set (e.g. email, chat, a Twitter username).

ChannelState.DISCONNECTED

The channel no longer receives messages.

ChannelState.ERROR

The mailbox is unable to connect to the remote server.

ChannelState.MIGRATING

The channel is being migrated.

ChannelState.SYNCING

The mailbox is currently syncing the latest remote changes.

ChannelState.UNCONFIRMED

The initial value.

Member of

Channel interface ● ChannelFilter input ● DemoEmailChannel object ● EmailChannel object