飞书 icon

飞书

飞书 API 集成,支持多种飞书功能

Actions105

消息 → 回复消息

AI-generated

Summary

Reply to a specific Feishu message by providing the message ID and the content of the reply in various supported message formats.

Inputs

  • 凭证类型 (required) — Select the credential type to authenticate the request, either user-level or application-level credential.
  • 待回复的消息的ID (required) — The ID of the message to which you want to send a reply.
  • 消息类型 (required) — The type of the message content of the reply, such as text, rich text (post), image, video, audio, file, sticker, interactive card, or sharing a chat or user card.
  • 文本内容 (required) — The textual content of the reply message; supports mentioning users or everyone. Required if message type is 'text'.
  • 富文本内容 (required) — The rich text content of the reply message in JSON format. Required if message type is 'post'.
  • Image Key (required) — The image key obtained by uploading an image via Feishu's upload API. Required if message type is 'image'.
  • File Key(视频) (required) — The file key for the video obtained by uploading a file via Feishu's upload API. Required if message type is 'media'.
  • Image Key(视频封面) — Optional image key for the video thumbnail, obtained via image upload API. Applicable when message type is 'media'.
  • File Key(语音) (required) — The file key for the audio file (opus format only) obtained from uploading via Feishu's upload API. Required if message type is 'audio'.
  • File Key(文件) (required) — The file key for the file obtained by uploading via Feishu's upload API. Required if message type is 'file'.
  • File Key(表情包) (required) — The file key for the sticker file obtained by uploading via Feishu's upload API. Required if message type is 'sticker'.
  • 卡片内容 (required) — The JSON content defining the interactive card message. Required if message type is 'interactive'.
  • Chat ID(群名片) (required) — The ID of the chat to share. Required if message type is 'share_chat'.
  • User ID(个人名片) (required) — The user ID to share. Required if message type is 'share_user'.
  • UUID — A custom unique string to deduplicate the reply message request.
  • 是否以话题形式回复 — Boolean flag indicating whether to reply in a thread format.
  • Options — Additional options like batching (concurrent requests), and request timeout in milliseconds.

Output shape

a single record containing the API response of the reply message action

Supports batch execution with concurrency control settings if 'batching' option is enabled. The response includes JSON data reflecting the Feishu API reply response or error details if the call fails.

Examples

Example 1: Reply with a text message to a specific message ID using application-level credentials

Set authentication to '应用级别凭证'; provide the '待回复的消息的ID'; select message type '文本'; enter the '文本内容'. Optional: set '是否以话题形式回复'. Execute the node to send the reply and receive confirmation.

Links

Discussion