refactor: share reaction schemas and notes

This commit is contained in:
Peter Steinberger
2026-01-07 04:24:11 +01:00
parent 654e14df31
commit 8ef0609f8e
11 changed files with 81 additions and 40 deletions

13
docs/tools/reactions.md Normal file
View File

@@ -0,0 +1,13 @@
# Reaction tooling
Shared reaction semantics across providers:
- `emoji` is required for reactions.
- `emoji=""` removes the bot's reaction(s) on the message.
- `remove: true` removes the specified emoji when supported.
Provider notes:
- **Discord/Slack**: empty `emoji` removes all of the bot's reactions on the message; `remove: true` removes just that emoji.
- **Telegram**: `remove: true` removes your own reaction (Bot API limitation).
- **WhatsApp**: `remove: true` maps to empty emoji (remove bot reaction).