PopoOpenPlatformRobot Api icon

PopoOpenPlatformRobot Api

POPO OpenPlatform Robot API

消息 → 消息撤回

AI-generated

Overview

This node interacts with the POPO OpenPlatform Robot API to perform various messaging and group management operations. Specifically, the '消息撤回' (message recall) operation allows users to recall or retract a previously sent message in a group chat. This is useful in scenarios where a message was sent by mistake or needs to be removed for any reason. Practical examples include recalling sensitive information sent to a group or correcting an erroneous message.

Use Case Examples

  1. Recalling a message in a group chat by specifying the session ID, message ID, and session type.
  2. Using the node to manage group messages and perform other message-related operations like sending messages, uploading files, and querying read receipts.

Properties

Name Meaning
Session ID The ID of the chat session where the message to be recalled was sent.
msgId The unique identifier of the message to be recalled.
Session Type The type of session, fixed to '3' for group messages.
Is At All Indicates whether the message mentions all members in the group (only applicable for text messages).
Group Type Type of group, with options '1' or '2'.

Output

JSON

  • data - The response data from the API after attempting to recall the message.

Dependencies

  • Requires an API key credential for the POPO OpenPlatform Robot API to authenticate requests.

Troubleshooting

  • Ensure that the session ID and message ID are correct and correspond to an existing message in the group chat.
  • The session type must be set to '3' as only group messages are supported for recall.
  • API errors may occur if the message is too old to be recalled or if the user does not have permission to recall the message.
  • Check network connectivity and API credentials if requests fail consistently.

Links

Discussion