Actions101
- 🖥️ Sessions Actions
- 🔑 Auth Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
📤 Chatting → Set Star
AI-generatedOverview
This node operation allows users to set or unset a star on a specific chat message within a chat session. It is useful for marking important messages for easy retrieval or highlighting in chat applications. For example, a user can star a message to indicate it contains critical information or to bookmark it for later reference.
Use Case Examples
- Marking a message as starred to highlight it in a chat interface.
- Removing a star from a message when it is no longer important.
Properties
| Name | Meaning |
|---|---|
| Session | The chat session identifier to which the message belongs. |
| Message Id | The unique identifier of the message to be starred or unstarred. |
| Chat Id | The identifier of the chat where the message was sent. |
| Star | Boolean flag to set (true) or unset (false) the star on the message. |
Output
JSON
success- Indicates whether the star operation was successful.messageId- The ID of the message that was starred or unstarred.star- The final star status of the message after the operation.
Dependencies
- Requires an API key or authentication token to interact with the chat service API.
Troubleshooting
- Ensure the session, messageId, and chatId are correctly provided and valid; otherwise, the operation may fail.
- If the star property is not a boolean, the request may be rejected by the API.
- Network or SSL issues may cause request failures; use the 'Ignore SSL Issues' option cautiously if needed.
- Timeouts can occur if the server is slow to respond; adjust the timeout setting accordingly.