1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-08 20:20:23 +08:00

QQサポートを追加

This commit is contained in:
源文雨
2023-11-16 01:31:07 +09:00
parent 57b0a7c52c
commit af82abd3b0
14 changed files with 476 additions and 39 deletions

14
openapi_v2.go Normal file
View File

@@ -0,0 +1,14 @@
package nano
type IDTimestampMessageResult struct {
ID string `json:"id"`
Timestamp int `json:"timestamp"`
}
// QQRobotStatus https://bot.q.qq.com/wiki/develop/api-231017/server-inter/group.html#%E4%BA%8B%E4%BB%B6
type QQRobotStatus struct {
OpenID string `json:"openid"`
GroupOpenID string `json:"group_openid"`
OpMemberOpenID string `json:"op_member_openid"`
Timestamp int `json:"timestamp"`
}