Skip to content

spectrum-ts v4.1.0

Choose a tag to compare

@photon-action-bot photon-action-bot released this 13 Jun 02:21
· 3 commits to main since this release

New Features

  • read is now a universal content type, so you can call message.read(), space.read(message), or space.send(read(message)) across providers.
  • WhatsApp Business now sends real read receipts with markRead, while iMessage keeps its chat-level read behavior. ✨

Improvement

  • Slack and Telegram now safely no-op for read receipts, so shared code can call read() without provider-specific branching.
  • read() can only target inbound messages, and it can’t be wrapped inside reply() or edit(), which makes misuse fail earlier and more clearly.

Version: 4.1.0