mirror of
https://github.com/fumiama/NanoBot.git
synced 2026-06-05 18:50:24 +08:00
finish emoji
This commit is contained in:
@@ -149,3 +149,15 @@ func (bot *Bot) getOpenAPIofSchedule(ep string) (*Schedule, error) {
|
||||
}
|
||||
return &resp.Schedule, err
|
||||
}
|
||||
|
||||
func (bot *Bot) getOpenAPIofMessageReactionUsers(ep string) (*MessageReactionUsers, error) {
|
||||
resp := &struct {
|
||||
CodeMessageBase
|
||||
MessageReactionUsers
|
||||
}{}
|
||||
err := bot.GetOpenAPI(ep, "", resp)
|
||||
if err != nil {
|
||||
err = errors.Wrap(err, getCallerFuncName())
|
||||
}
|
||||
return &resp.MessageReactionUsers, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user