Skip to main content
Configuration for photonIMessageChannel.

Properties

iMessageCredentialProvider
required
Lazy Photon project credentials, such as connectPhotonCredentials(...).
ChatSdkChannelEvents<{ imessage: iMessageAdapter }>
Per-event overrides for the underlying Chat SDK channel.
(ctx: PhotonInboundMessageContext, message: Message) => PhotonInboundResultOrPr…
Type: PhotonInboundMessageContextPhotonInboundResultOrPromiseInbound message policy. Defaults to dispatching every message with no user auth.
string
Override the default webhook route (/eve/v1/photon).
string
Display name used by the Chat SDK runtime. Defaults to "eve".
string
Photon webhook signing secret. Falls back to IMESSAGE_WEBHOOK_SECRET.
iMessageWebhookVerifier
Trusted webhook verifier. Takes precedence over webhookSecret.