|
|
@@ -89,10 +89,12 @@ class FeishuChat:
|
|
|
return self._token
|
|
|
|
|
|
def reply_text(self, message_id: str, text: str):
|
|
|
- """回复某一 message_id(线程内回复)。"""
|
|
|
+ """回复某一 message_id(线程内回复)。
|
|
|
+
|
|
|
+ 注意:reply 接口不需要 receive_id_type(消息 ID 已在 URL 中指定)。
|
|
|
+ """
|
|
|
url = FEISHU_REPLY_URL.format(msg_id=message_id)
|
|
|
body = {
|
|
|
- "receive_id_type": "open_id",
|
|
|
"msg_type": "text",
|
|
|
"content": json.dumps({"text": text}, ensure_ascii=False),
|
|
|
}
|