Skip to content

Commit 1c1eb58

Browse files
committed
poke
1 parent 241ff7a commit 1c1eb58

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

onebot_api.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,3 +402,16 @@ message SetGroupSignInReq{
402402
}
403403
message SetGroupSignInResp{
404404
}
405+
406+
message SendGroupPokeReq{
407+
int64 group_id = 1;
408+
int64 user_id = 2;
409+
}
410+
message SendGroupPokeResp{
411+
}
412+
413+
message SendFriendPokeReq{
414+
int64 user_id = 2;
415+
}
416+
message SendFriendPokeResp{
417+
}

onebot_frame.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ message Frame{
6363
SetRestartReq set_restart_req = 237;
6464
CleanCacheReq clean_cache_req = 238;
6565
SetGroupSignInReq set_group_sign_in_req = 239;
66+
SendGroupPokeReq send_group_poke_req = 240;
67+
SendFriendPokeReq send_friend_poke_req = 241;
6668

6769
SendPrivateMsgResp send_private_msg_resp = 301;
6870
SendGroupMsgResp send_group_msg_resp = 302;
@@ -103,6 +105,8 @@ message Frame{
103105
SetRestartResp set_restart_resp = 337;
104106
CleanCacheResp clean_cache_resp = 338;
105107
SetGroupSignInResp set_group_sign_in_resp = 339;
108+
SendGroupPokeResp send_group_poke_resp = 340;
109+
SendFriendPokeResp send_friend_poke_resp = 341;
106110
}
107111

108112
enum FrameType{
@@ -160,6 +164,8 @@ message Frame{
160164
TSetRestartReq = 237;
161165
TCleanCacheReq = 238;
162166
TSetGroupSignInReq = 239;
167+
TSendGroupPokeReq = 240;
168+
TSendFriendPokeReq = 241;
163169

164170

165171
TSendPrivateMsgResp = 301;
@@ -201,5 +207,7 @@ message Frame{
201207
TSetRestartResp = 337;
202208
TCleanCacheResp = 338;
203209
TSetGroupSignInResp = 339;
210+
TSendGroupPokeResp = 340;
211+
TSendFriendPokeResp = 341;
204212
}
205213
}

0 commit comments

Comments
 (0)