Add reaction
Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - All others: Returns 400 (not supported)
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
The conversation ID
The platform message ID to react to
Social account ID
Emoji character (e.g. "👍", "❤️")
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.messages.addMessageReaction({ path: { conversationId: 'conversation_abc123', messageId: 'message_abc123', }, body: { accountId: 'account_abc123', emoji: '👍', },});console.log(data);{
"success": true
}{
"error": "Unauthorized"
}Delete message DELETE
Delete a message from a conversation. Platform support varies: - Telegram: Full delete (bot's own messages anytime, others if admin) - X/Twitter: Full delete (own DM events only) - Bluesky: Delete for self only (recipient still sees it) - Reddit: Delete from sender's view only - Facebook, Instagram, WhatsApp: Not supported (returns 400)
Edit message PATCH
Edit the text and/or reply markup of a previously sent Telegram message. Only supported for Telegram. Returns 400 for other platforms.