Actions101
- š¤ Chatting Actions
- š„ļø Sessions Actions
- š Auth Actions
- š¼ļø Screenshot Actions
- š¢ Channels Actions
- š¢ Status Actions
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ Groups Actions
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
Overview
This node sets the presence status in a chat session, allowing users to indicate their current activity or availability. It is useful in messaging or communication workflows where real-time presence updates enhance user interaction, such as showing when a user is typing, recording, or offline.
Use Case Examples
- Setting a user's presence to 'typing' while composing a message.
- Marking a user as 'offline' when they leave the chat.
- Indicating 'recording' status during a voice message.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the chat session where the presence status will be set. |
| Chat Id | The identifier of the chat (group or contact) where the presence status applies. |
| Presence | The presence status to set, such as offline, online, typing, recording, or paused. |
| Request Options | Additional options for the request such as batching, SSL certificate handling, proxy settings, and timeout configuration. |
Output
JSON
success- Indicates if the presence status was successfully set.message- Additional information or error message related to the presence update.
Dependencies
- Requires an API key credential or authentication token to connect to the messaging service.
Troubleshooting
- Ensure the session name and chat ID are correct and correspond to active sessions and chats.
- Verify that the presence value is one of the allowed options; invalid values will cause errors.
- Check network connectivity and proxy settings if requests fail or time out.
- If SSL errors occur, consider enabling the option to ignore SSL issues, but be aware of security risks.