Skip to content

Instagram typing indicator support + diagnosable startTyping - #8

Merged
mikipalet merged 1 commit into
mainfrom
instagram-typing-indicator
Jul 28, 2026
Merged

Instagram typing indicator support + diagnosable startTyping#8
mikipalet merged 1 commit into
mainfrom
instagram-typing-indicator

Conversation

@mikipalet

Copy link
Copy Markdown
Member

Why

Fixes #7. The typing indicator was a server-side no-op on Instagram; server support ships in zernio-dev/Schedule-Posts-API#1966. Separately, startTyping swallowed every error silently, so integrators could not tell a genuine failure from an unsupported platform.

What

  • sendTyping now returns Promise<boolean>: the endpoint's success flag (the API returns 200 even when the platform call fails; the boolean reports whether an indicator was actually sent). Void callers are unaffected.
  • startTyping stays best-effort but logs at debug level (existing Logger mechanism) both on thrown errors and on success: false, instead of a silent catch.
  • Docstrings + README updated: Instagram added to the support matrix, WhatsApp inbound-message requirement scoped to WhatsApp only, Instagram signed-in-recipient constraint documented.
  • Tests for the new boolean, the debug logs, and sendTyping error propagation (102 passing).
  • coverage/ added to .gitignore.

Follow-ups

  • package-lock.json is out of sync with the v0.4.0 release commit (version still 0.2.3); left out of this PR, worth a separate chore commit.

🤖 Generated with Claude Code

Server-side Instagram support ships in the Zernio API; this updates the
stale "no-op on Instagram" docs, surfaces the endpoint's success boolean
from sendTyping, and debug-logs startTyping failures instead of
swallowing them silently.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mikipalet
mikipalet merged commit b7acadf into main Jul 28, 2026
2 checks passed
@mikipalet
mikipalet deleted the instagram-typing-indicator branch July 28, 2026 17:29
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.

Typing indicator is a no-op on Instagram, but the Instagram Messaging API supports typing_on

1 participant