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

finish channel permissions

This commit is contained in:
源文雨
2023-10-11 15:43:24 +09:00
parent 4745fa990e
commit f2f6f52b8a
6 changed files with 88 additions and 28 deletions

View File

@@ -12,10 +12,10 @@ type User struct {
UnionUserAccount string `json:"union_user_account"`
}
// GetMe 获取当前用户(机器人)详情
// GetMyInfo 获取当前用户(机器人)详情
//
// https://bot.q.qq.com/wiki/develop/api/openapi/user/me.html
func (bot *Bot) GetMe() (*User, error) {
func (bot *Bot) GetMyInfo() (*User, error) {
return bot.getOpenAPIofUser("/users/@me")
}