Context

A context represents a partial state of Front that the user is interacting with.

Properties

Property

Type

Description

id

String

ID of the context. Will change with each update.

type

String

Type of the context.

teammate

Teammate

The teammate using the plugin.

Context type

There are multiple types of context exposed to a plugin:

  • noConversation when no conversation is selected.
  • singleConversation when a single conversation is selected.
  • multiConversations when multiple conversations are selected.

Depending on their type, contexts also expose extra properties:

Property

Type

Description

Context types

conversations

Array of Conversation

List of the selected conversations.

multiConversations

conversation

Conversation

The conversation selected.

singleConversation