From 11cf2b871274e582e989f08f16bc574546f71ced Mon Sep 17 00:00:00 2001 From: SunnyBoy-WYH <48077841+SunnyBoy-WYH@users.noreply.github.com> Date: Fri, 20 Oct 2023 23:35:43 +0800 Subject: [PATCH] Update README.md seems MsgTypeEnum.MSG_TYPE_TEXT cant get value, will return 400? --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f0d7daaa..8cf7ab4cd 100644 --- a/README.md +++ b/README.md @@ -488,7 +488,7 @@ public class RawApiCall { .atUser("ou_155184d1e73cbfb8973e5a9e698e74f2", "Tom") .text("test content") .build()); - body.put("msg_type", MsgTypeEnum.MSG_TYPE_TEXT); + body.put("msg_type", MsgTypeEnum.MsgTypeEnum.MSG_TYPE_TEXT.getValue()); // 发起请求 RawResponse resp = client.post(