whatsapp-service plugin

Technical description of whatsapp-service plugin

Introduction

whatsapp-service plugin contains the services and utilities related to the WhatsApp channel. This plugin also contains the WhatsApp client to send messages to WhatsApp through Kernel.

The specific environment variables for this plugin are located at whatsapp-service plugin configuration.

Consumes components (IOC)

Name Type Description
configurationManager PluginType.Service Configuration manager
prometheus PluginType.Service Metrics client for Prometheus
whatsappClient PluginType.Client WhatsApp client

Provides components (IOC)

Name Type Description
whatsappService PluginType.Service Services and utilities for WhatsApp channel

whatsappService

The WhatsappService class provides utilities related to the WhatsApp client.

  • messageFactory (WhatsappMessageFactory): Factory to create different types of WhatsApp messages.
  • interactiveMessageUtils (WhatsappInteractiveMessageUtils): Utilities for interactive message management.
  • whatsappUtils (WhatsappUtils): Utilities for WhatsApp channel.

Find here further information about WhatsApp API section.