Skip to content

Conversation

@SNCFamiraBenkaci
Copy link
Collaborator

Sends a "Typing Indicator" event to the WhatsApp Cloud API.
This request is used to notify the end user that the business
is currently typing a message ("typing…") in a WhatsApp conversation.
The typing indicator is linked to an existing message via its message_id
and does not send a visible message to the user.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request implements typing indicator functionality for the WhatsApp Cloud API connector. The changes include updating the API version from 22.0 to 24.0, adding JSON property annotations to the typing indicator message model, and integrating the typing indicator into the webhook message handling flow. The PR also includes various code style improvements following Kotlin conventions.

Changes:

  • Updated WhatsApp Cloud API version from 22.0 to 24.0
  • Added @JsonProperty("message_id") annotation to enable proper JSON serialization of the typing indicator message
  • Integrated typing indicator sending into the webhook message processing flow to show "typing..." status to users

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
WhatsAppCloudTypingIndicatorMessage.kt Added JSON property annotation for messageId field and reformatted data classes
WhatsAppConnectorCloudConnector.kt Integrated typing indicator call into webhook handling and applied code formatting improvements
WhatsAppCloudApiClient.kt Updated API version to 24.0 and applied code formatting improvements
WhatsAppCloudApiService.kt Applied Kotlin expression body syntax and code formatting improvements

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SNCFamiraBenkaci SNCFamiraBenkaci force-pushed the fix-1928-whatsapp-typing-indicator branch from df1f118 to be9f8a2 Compare January 14, 2026 13:29
@SNCFamiraBenkaci SNCFamiraBenkaci force-pushed the fix-1928-whatsapp-typing-indicator branch from be9f8a2 to 819471e Compare January 14, 2026 13:38
@vsct-jburet vsct-jburet added this to the 25.10.4 milestone Jan 14, 2026
@vsct-jburet vsct-jburet merged commit dcc3fef into theopenconversationkit:master Jan 14, 2026
7 checks passed
@zigzago zigzago added the bug label Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants