Events
The SDK allows you to listen for and respond asynchronously to the following events
- error
Emitted on connection error
- closed
Emitted when the connection to Elarian is closed
- pending
Emitted when the connection to Elarian is being set up
- connecting
Emitted when the connection to Elarian is being establish
- connected
Emitted when the connection to Elarian has successfully been established
- reminder
Emitted when a reminder fires on a customer
- messagingSessionStarted
Emitted when a customer's messaging session is started
- messagingSessionRenewed
Emitted when a customer's messaging session is renewed
- messagingSessionEnded
Emitted when a customer's messaging session is ended
- messagingConsentUpdate
Emitted when a customer updates their messaging consent
- receivedSms
Emitted when a customer sends an SMS to a channel
- receivedFbMessenger
Emitted when a customer sends a message from Facebook Messenger
- receivedTelegram
Emitted when a customer sends a message from Telegram
- receivedWhatsapp
Emitted when a customer sends a message from Whatsapp
- receivedEmail
Emitted when a customer sends an email
- voiceCall
Emitted when a customer calls or interacts with a voice channel
- ussdSession
Emitted when a customer dials or interacts with a voice channel
- messageStatus
Emitted when the status of a message changes. e.g. from Sent to Delivered
- sentMessageReaction
Emitted when a customer sends a reaction to a message
- receivedPayment
Emitted when a new transaction is added to a payment channel
- paymentStatus
Emitted when the status of a payment transaction changes. e.g. from Pending to Confirmed
- customerActivity
Emitted when a customer's activity is updated
Full Reference
For more info, please refer to the SDKs' full reference: JavaScript Java Python