From 0b5318ef14b9b6cca41023ee1b31acd905eff7c0 Mon Sep 17 00:00:00 2001
From: myot233 <1544189298@qq.com>
Date: Sat, 14 Oct 2023 11:41:06 +0800
Subject: [PATCH 1/3] Update README.md
add implemention table of onebot-11
---
README.md | 181 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 181 insertions(+)
diff --git a/README.md b/README.md
index 654c0bf0a..580625c91 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,187 @@ Please use Lagrange.Core responsibly and in accordance with the law.
| | | | | | | Send Message | ๐ข | ~~FriendTyping~~ | ๐ด |
| | | | | | | | | ~~FriendVoiceCall~~ | ๐ด |
+## OneBot-11
+
+### Implementation
+
+
+Message Segement
+
+| Message Segement| Support |
+| ------------ | ------------|
+| [Text] | ๐ข |
+| [Face] | ๐ด |
+| [Image] | ๐ข |
+| [Record] | ๐ด |
+| [Video] | ๐ด |
+| [At] | ๐ข |
+| [Rps] | ๐ด |
+| [Dice] | ๐ด |
+| [Shake] | ๐ด |
+| [Poke] | ๐ด |
+| [Anonymous] | ๐ด |
+| [Share] | ๐ด |
+| [Contact] | ๐ด |
+| [Location] | ๐ด |
+| [Music] | ๐ด |
+| [Reply] | ๐ด |
+| [Forward] | ๐ด |
+| [Node] | ๐ด |
+| [Xml] | ๐ด |
+| [Json] | ๐ด |
+
+[Text]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#qq-%E8%A1%A8%E6%83%85
+[Record]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E8%AF%AD%E9%9F%B3
+[Face]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#qq-%E8%A1%A8%E6%83%85
+[Image]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E5%9B%BE%E7%89%87
+[Shake]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E7%AA%97%E5%8F%A3%E6%8A%96%E5%8A%A8%E6%88%B3%E4%B8%80%E6%88%B3-
+[Poke]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E6%88%B3%E4%B8%80%E6%88%B3
+[Anonymous]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E5%8C%BF%E5%90%8D%E5%8F%91%E6%B6%88%E6%81%AF-
+[Location]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E4%BD%8D%E7%BD%AE
+[Video]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E7%9F%AD%E8%A7%86%E9%A2%91
+[At]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E6%9F%90%E4%BA%BA
+[Rps]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E7%8C%9C%E6%8B%B3%E9%AD%94%E6%B3%95%E8%A1%A8%E6%83%85
+[Dice]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E6%8E%B7%E9%AA%B0%E5%AD%90%E9%AD%94%E6%B3%95%E8%A1%A8%E6%83%85
+[share]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E9%93%BE%E6%8E%A5%E5%88%86%E4%BA%AB
+[Music]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E9%9F%B3%E4%B9%90%E5%88%86%E4%BA%AB-
+[Contact]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E6%8E%A8%E8%8D%90%E5%A5%BD%E5%8F%8B
+[Reply]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E5%9B%9E%E5%A4%8D
+[Forward]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E5%90%88%E5%B9%B6%E8%BD%AC%E5%8F%91-
+[Node]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#%E5%90%88%E5%B9%B6%E8%BD%AC%E5%8F%91%E8%8A%82%E7%82%B9-
+[Xml]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#xml-%E6%B6%88%E6%81%AF
+[Json]: https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#json-%E6%B6%88%E6%81%AF
+
+
+
+
+API
+
+| API | Support |
+| ------------------------ | -------- |
+| [/send_private_msg] | ๐ด |
+| [/send_group_msg] | ๐ด |
+| [/send_msg] | ๐ด |
+| [/delete_msg] | ๐ด |
+| [/get_msg] | ๐ด |
+| [/get_forward_msg] | ๐ด |
+| [/send_like] | ๐ด |
+| [/set_group_kick] | ๐ด |
+| [/set_group_ban] | ๐ด |
+| [/set_group_anonymous_ban] | ๐ด |
+| [/set_group_whole_ban] | ๐ด |
+| [/set_group_admin] | ๐ด |
+| [/set_group_anonymous] | ๐ด |
+| [/set_group_card] | ๐ด |
+| [/set_group_name] | ๐ด |
+| [/set_group_leave] | ๐ด |
+| [/set_group_special_title] | ๐ด |
+| [/set_friend_add_request] | ๐ด |
+| [/set_group_add_request] | ๐ด |
+| [/get_login_info] | ๐ด |
+| [/get_stranger_info] | ๐ด |
+| [/get_friend_list] | ๐ด |
+| [/get_group_info] | ๐ด |
+| [/get_group_list] | ๐ด |
+| [/get_group_member_info] | ๐ด |
+| [/get_group_member_list] | ๐ด |
+| [/get_group_honor_info] | ๐ด |
+| [/get_cookies] | ๐ด |
+| [/get_csrf_token] | ๐ด |
+| [/get_credentials] | ๐ด |
+| [/get_record] | ๐ด |
+| [/get_image] | ๐ด |
+| [/can_send_image] | ๐ด |
+| [/can_send_record] | ๐ด |
+| [/get_status] | ๐ด |
+| [/get_version_info] | ๐ด |
+| [/set_restart] | ๐ด |
+| [/clean_cache] | ๐ด |
+
+[/send_private_msg]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#send_private_msg-%E5%8F%91%E9%80%81%E7%A7%81%E8%81%8A%E6%B6%88%E6%81%AF
+[/send_group_msg]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#send_group_msg-%E5%8F%91%E9%80%81%E7%BE%A4%E6%B6%88%E6%81%AF
+[/send_msg]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#send_msg-ๅ้ๆถๆฏ
+[/delete_msg]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#delete_msg-ๆคๅๆถๆฏ
+[/get_msg]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_msg-่ทๅๆถๆฏ
+[/get_forward_msg]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_forward_msg-่ทๅๅๅนถ่ฝฌๅๆถๆฏ
+[/send_like]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#send_like-ๅ้ๅฅฝๅ่ต
+[/set_group_kick]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_kick-็พค็ป่ธขไบบ
+[/set_group_ban]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_ban-็พค็ปๅไบบ็ฆ่จ
+[/set_group_anonymous_ban]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_anonymous_ban-็พค็ปๅฟๅ็จๆท็ฆ่จ
+[/set_group_whole_ban]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_whole_ban-็พค็ปๅ
จๅ็ฆ่จ
+[/set_group_admin]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_admin-็พค็ป่ฎพ็ฝฎ็ฎก็ๅ
+[/set_group_anonymous]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_anonymous-็พค็ปๅฟๅ
+[/set_group_card]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_card-่ฎพ็ฝฎ็พคๅ็็พคๅคๆณจ
+[/set_group_name]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_name-่ฎพ็ฝฎ็พคๅ
+[/set_group_leave]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_leave-้ๅบ็พค็ป
+[/set_group_special_title]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_special_title-่ฎพ็ฝฎ็พค็ปไธๅฑๅคด่ก
+[/set_friend_add_request]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_friend_add_request-ๅค็ๅ ๅฅฝๅ่ฏทๆฑ
+[/set_group_add_request]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_group_add_request-ๅค็ๅ ็พค่ฏทๆฑ้่ฏท
+[/get_login_info]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_login_info-่ทๅ็ปๅฝๅทไฟกๆฏ
+[/get_stranger_info]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_stranger_info-่ทๅ้็ไบบไฟกๆฏ
+[/get_friend_list]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_friend_list-่ทๅๅฅฝๅๅ่กจ
+[/get_group_info]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_group_info-่ทๅ็พคไฟกๆฏ
+[/get_group_list]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_group_list-่ทๅ็พคๅ่กจ
+[/get_group_member_info]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_group_member_info-่ทๅ็พคๆๅไฟกๆฏ
+[/get_group_member_list]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_group_member_list-่ทๅ็พคๆๅๅ่กจ
+[/get_group_honor_info]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_group_honor_info-่ทๅ็พค่ฃ่ชไฟกๆฏ
+[/get_cookies]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_cookies-่ทๅ-cookies
+[/get_csrf_token]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_csrf_token-่ทๅ-csrf-token
+[/get_credentials]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_credentials-่ทๅ-qq-็ธๅ
ณๆฅๅฃๅญ่ฏ
+[/get_record]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_record-่ทๅ่ฏญ้ณ
+[/get_image]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_image-่ทๅๅพ็
+[/can_send_image]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#can_send_image-ๆฃๆฅๆฏๅฆๅฏไปฅๅ้ๅพ็
+[/can_send_record]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#can_send_record-ๆฃๆฅๆฏๅฆๅฏไปฅๅ้่ฏญ้ณ
+[/get_status]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_status-่ทๅ่ฟ่ก็ถๆ
+[/get_version_info]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#get_version_info-่ทๅ็ๆฌไฟกๆฏ
+[/set_restart]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#set_restart-้ๅฏ-onebot-ๅฎ็ฐ
+[/clean_cache]: https://github.com/botuniverse/onebot-11/blob/master/api/public.md#clean_cache-ๆธ
็็ผๅญ
+
+
+
+
+Event
+
+| PostType| EventName | Support |
+| --------| --------------------------|----------|
+| Message | [Private Message] | ๐ด |
+| Message | [Group Message] | ๐ด |
+| Notice | [Group File Upload] | ๐ด |
+| Notice | [Group Admin Change] | ๐ด |
+| Notice | [Group Member Decrease] | ๐ด |
+| Notice | [Group Member Increase] | ๐ด |
+| Notice | [Group Mute] | ๐ด |
+| Notice | [Friend Add] | ๐ด |
+| Notice | [Group Recall Message] | ๐ด |
+| Notice | [Friend Recall Message] | ๐ด |
+| Notice | [Group Poke] | ๐ด |
+| Notice | [็พค็บขๅ
่ฟๆฐ็] | ๐ด |
+| Notice | [็พคๆๅ่ฃ่ชๅๆด] | ๐ด |
+| Request | [Add Friend Request] | ๐ด |
+| Request | [Group Request/Invitations] | ๐ด |
+| Meta | [LifeCycle] | ๐ข |
+| Meta | [Heartbeat] | ๐ข |
+
+[Private Message]: https://github.com/botuniverse/onebot-11/blob/master/event/message.md#%E7%A7%81%E8%81%8A%E6%B6%88%E6%81%AF
+[Group Message]: https://github.com/botuniverse/onebot-11/blob/master/event/message.md#%E7%BE%A4%E6%B6%88%E6%81%AF
+[Group File Upload]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0
+[Group Admin Change]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E7%AE%A1%E7%90%86%E5%91%98%E5%8F%98%E5%8A%A8
+[Group Member Decrease]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E6%88%90%E5%91%98%E5%87%8F%E5%B0%91
+[Group Member Increase]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E6%88%90%E5%91%98%E5%A2%9E%E5%8A%A0
+[Group Mute]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E7%A6%81%E8%A8%80
+[Friend Add]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E5%A5%BD%E5%8F%8B%E6%B7%BB%E5%8A%A0
+[Group Recall Message]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E6%B6%88%E6%81%AF%E6%92%A4%E5%9B%9E
+[Friend Recall Message]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E5%A5%BD%E5%8F%8B%E6%B6%88%E6%81%AF%E6%92%A4%E5%9B%9E
+[Group Poke]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E5%86%85%E6%88%B3%E4%B8%80%E6%88%B3
+[็พค็บขๅ
่ฟๆฐ็]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E7%BA%A2%E5%8C%85%E8%BF%90%E6%B0%94%E7%8E%8B
+[็พคๆๅ่ฃ่ชๅๆด]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E6%88%90%E5%91%98%E8%8D%A3%E8%AA%89%E5%8F%98%E6%9B%B4
+[Add Friend Request]: https://github.com/botuniverse/onebot-11/blob/master/event/request.md#%E5%8A%A0%E5%A5%BD%E5%8F%8B%E8%AF%B7%E6%B1%82
+[Group Request/Invitations]: https://github.com/botuniverse/onebot-11/blob/master/event/request.md#%E5%8A%A0%E7%BE%A4%E8%AF%B7%E6%B1%82%E9%82%80%E8%AF%B7
+[LifeCycle]: https://github.com/botuniverse/onebot-11/blob/master/event/meta.md#%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F
+[Heartbeat]: https://github.com/botuniverse/onebot-11/blob/master/event/meta.md#%E5%BF%83%E8%B7%B3
+
+
+
## Known Problem
~~- [ ] Signature Service is currently not established, so the login tend to be failed and return code may be 45, you can establish your own sign service by rewriting the `Signature` static class.~~
From 62b0842eb4b96bb19229f0cbfa094a3e11abeaab Mon Sep 17 00:00:00 2001
From: myot233 <1544189298@qq.com>
Date: Sat, 14 Oct 2023 11:45:38 +0800
Subject: [PATCH 2/3] Update README.md
translate some chinese to english
---
README.md | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/README.md b/README.md
index 580625c91..aea2345ca 100644
--- a/README.md
+++ b/README.md
@@ -184,25 +184,25 @@ Please use Lagrange.Core responsibly and in accordance with the law.
Event
-| PostType| EventName | Support |
-| --------| --------------------------|----------|
-| Message | [Private Message] | ๐ด |
-| Message | [Group Message] | ๐ด |
-| Notice | [Group File Upload] | ๐ด |
-| Notice | [Group Admin Change] | ๐ด |
-| Notice | [Group Member Decrease] | ๐ด |
-| Notice | [Group Member Increase] | ๐ด |
-| Notice | [Group Mute] | ๐ด |
-| Notice | [Friend Add] | ๐ด |
-| Notice | [Group Recall Message] | ๐ด |
-| Notice | [Friend Recall Message] | ๐ด |
-| Notice | [Group Poke] | ๐ด |
-| Notice | [็พค็บขๅ
่ฟๆฐ็] | ๐ด |
-| Notice | [็พคๆๅ่ฃ่ชๅๆด] | ๐ด |
-| Request | [Add Friend Request] | ๐ด |
-| Request | [Group Request/Invitations] | ๐ด |
-| Meta | [LifeCycle] | ๐ข |
-| Meta | [Heartbeat] | ๐ข |
+| PostType| EventName | Support |
+| --------| -----------------------------|----------|
+| Message | [Private Message] | ๐ด |
+| Message | [Group Message] | ๐ด |
+| Notice | [Group File Upload] | ๐ด |
+| Notice | [Group Admin Change] | ๐ด |
+| Notice | [Group Member Decrease] | ๐ด |
+| Notice | [Group Member Increase] | ๐ด |
+| Notice | [Group Mute] | ๐ด |
+| Notice | [Friend Add] | ๐ด |
+| Notice | [Group Recall Message] | ๐ด |
+| Notice | [Friend Recall Message] | ๐ด |
+| Notice | [Group Poke] | ๐ด |
+| Notice | [Group red envelope luck king]| ๐ด |
+| Notice | [Group Member Honor Changed] | ๐ด |
+| Request| [Add Friend Request] | ๐ด |
+| Request| [Group Request/Invitations] | ๐ด |
+| Meta | [LifeCycle] | ๐ข |
+| Meta | [Heartbeat] | ๐ข |
[Private Message]: https://github.com/botuniverse/onebot-11/blob/master/event/message.md#%E7%A7%81%E8%81%8A%E6%B6%88%E6%81%AF
[Group Message]: https://github.com/botuniverse/onebot-11/blob/master/event/message.md#%E7%BE%A4%E6%B6%88%E6%81%AF
From 59574482cdbd15b94276fdd51e4ff00bc2421f5d Mon Sep 17 00:00:00 2001
From: myot233 <1544189298@qq.com>
Date: Sat, 14 Oct 2023 11:46:26 +0800
Subject: [PATCH 3/3] Update README.md
fix link
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index aea2345ca..fd2983fbb 100644
--- a/README.md
+++ b/README.md
@@ -215,8 +215,8 @@ Please use Lagrange.Core responsibly and in accordance with the law.
[Group Recall Message]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E6%B6%88%E6%81%AF%E6%92%A4%E5%9B%9E
[Friend Recall Message]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E5%A5%BD%E5%8F%8B%E6%B6%88%E6%81%AF%E6%92%A4%E5%9B%9E
[Group Poke]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E5%86%85%E6%88%B3%E4%B8%80%E6%88%B3
-[็พค็บขๅ
่ฟๆฐ็]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E7%BA%A2%E5%8C%85%E8%BF%90%E6%B0%94%E7%8E%8B
-[็พคๆๅ่ฃ่ชๅๆด]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E6%88%90%E5%91%98%E8%8D%A3%E8%AA%89%E5%8F%98%E6%9B%B4
+[Group red envelope luck king]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E7%BA%A2%E5%8C%85%E8%BF%90%E6%B0%94%E7%8E%8B
+[Group Member Honor Changed]: https://github.com/botuniverse/onebot-11/blob/master/event/notice.md#%E7%BE%A4%E6%88%90%E5%91%98%E8%8D%A3%E8%AA%89%E5%8F%98%E6%9B%B4
[Add Friend Request]: https://github.com/botuniverse/onebot-11/blob/master/event/request.md#%E5%8A%A0%E5%A5%BD%E5%8F%8B%E8%AF%B7%E6%B1%82
[Group Request/Invitations]: https://github.com/botuniverse/onebot-11/blob/master/event/request.md#%E5%8A%A0%E7%BE%A4%E8%AF%B7%E6%B1%82%E9%82%80%E8%AF%B7
[LifeCycle]: https://github.com/botuniverse/onebot-11/blob/master/event/meta.md#%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F