Class SignalChannelAdapter

Channel adapter for the Signal messaging protocol via signal-cli.

Capabilities: text, images, audio, voice_notes, documents, reactions, group_chat.

Conversation ID mapping:

  • Direct message: phone number (e.g., '+1234567890')
  • Group: group ID in base64 format, prefixed with 'group:'

Hierarchy (view full)

Constructors

Methods

  • Send a reaction to a message.

    Parameters

    • conversationId: string

      Target conversation (phone number or group:id).

    • targetAuthor: string

      Phone number of the message author being reacted to.

    • targetTimestamp: string

      Timestamp of the target message (Signal's message ID).

    • emoji: string

      The reaction emoji.

    Returns Promise<void>

  • List groups the account is a member of.

    Returns Promise<{
        id: string;
        name: string;
        members: string[];
    }[]>

Properties

status: ChannelConnectionStatus = 'disconnected'
connectedSince: undefined | string
errorMessage: undefined | string
platformInfo: Record<string, unknown> = {}
auth: undefined | ChannelAuthConfig & {
    params?: SignalAuthParams;
}

Stored auth config so reconnect() can re-use it.

retryConfig: RetryConfig
platform: ChannelPlatform = 'signal'

Platform this adapter serves.

displayName: "Signal" = 'Signal'

Human-readable display name (e.g., "WhatsApp Business").

capabilities: readonly ChannelCapability[] = ...

Declared capabilities of this adapter.