fix(provider-meta): update sendPresenceUpdate to use Meta Cloud API t…#1219
Merged
leifermendez merged 1 commit intobuilderbot-devfrom Mar 11, 2026
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…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 incomingmessage_id(wamid) and usestyping_indicator: { type: "text" }.https://claude.ai/code/session_01GYBYgTGfb2K49NupMoGvCe
Que tipo de Pull Request es?
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.