Skip to content

fix(provider-meta): update sendPresenceUpdate to use Meta Cloud API t…#1219

Merged
leifermendez merged 1 commit intobuilderbot-devfrom
claude/add-typing-event-meta-sulgC
Mar 11, 2026
Merged

fix(provider-meta): update sendPresenceUpdate to use Meta Cloud API t…#1219
leifermendez merged 1 commit intobuilderbot-devfrom
claude/add-typing-event-meta-sulgC

Conversation

@leifermendez
Copy link
Copy Markdown
Member

…yping_indicator format

The previous implementation used type: "typing_on"/"typing_off" which is no longer supported by the Meta Cloud API and returns error 100. Updated to the current format that requires an incoming message_id (wamid) and uses typing_indicator: { type: "text" }.

  • sendPresenceUpdate(messageId) now sends status:"read" + typing_indicator with the incoming wamid
  • typing(messageId, ms?) no longer sends a "typing_off" call (not supported by Meta API; indicator disappears automatically after 25s or when a message is sent)
  • Updated MetaInterface signatures accordingly
  • Updated tests to match new API format

https://claude.ai/code/session_01GYBYgTGfb2K49NupMoGvCe

Que tipo de Pull Request es?

  • Mejoras
  • Bug
  • Docs / tests

Descripción

Por favor agrega una descripción de tu aporte para tener más contexto y poder avanzar más rápido. Si es de ayuda puedes usar plataformar como https://www.loom.com/ para grabar un video.

Forma parte de este proyecto.

…yping_indicator format

The previous implementation used `type: "typing_on"/"typing_off"` which is no longer
supported by the Meta Cloud API and returns error 100. Updated to the current format
that requires an incoming `message_id` (wamid) and uses `typing_indicator: { type: "text" }`.

- sendPresenceUpdate(messageId) now sends status:"read" + typing_indicator with the incoming wamid
- typing(messageId, ms?) no longer sends a "typing_off" call (not supported by Meta API; indicator disappears automatically after 25s or when a message is sent)
- Updated MetaInterface signatures accordingly
- Updated tests to match new API format

https://claude.ai/code/session_01GYBYgTGfb2K49NupMoGvCe
@leifermendez leifermendez merged commit 5c198cc into builderbot-dev Mar 11, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants