Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions heyoo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def send_reaction(self, emoji, message_id, recipient_id, recipient_type="i
Sends a reaction message to a WhatsApp user's message asynchronously.

Args:
emoji (str): Emoji to become a reaction to a message. Ex.: '\uD83D\uDE00' (😀)
emoji (str): Emoji to become a reaction to a message. Ex.: '\uD83D\uDE00'
message_id (str): Message id for a reaction to be attached to
recipient_id (str): Phone number of the user with country code without +
recipient_type (str): Type of the recipient, either individual or group
Expand All @@ -92,7 +92,7 @@ async def send_reaction(self, emoji, message_id, recipient_id, recipient_type="i
```python
from whatsapp import WhatsApp
whatsapp = WhatsApp(token, phone_number_id)
await whatsapp.send_reaction("\uD83D\uDE00", "wamid.HBgLM...", "5511999999999")
await whatsapp.send_reaction("wamid.HBgLM...", "5511999999999")
```
"""
data = {
Expand Down