1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-05 18:50:24 +08:00
Files
NanoBot/openapi_codegen_putopenapiof.go
2023-10-11 18:00:46 +09:00

22 lines
432 B
Go

// Code generated by codegen/putopenapiof. DO NOT EDIT.
package nano
import (
"io"
"github.com/pkg/errors"
)
func (bot *Bot) putOpenAPIofGuildRoleChannelID(ep string, body io.Reader) (*GuildRoleChannelID, error) {
resp := &struct {
CodeMessageBase
GuildRoleChannelID
}{}
err := bot.PutOpenAPI(ep, "", resp, body)
if err != nil {
err = errors.Wrap(err, getCallerFuncName())
}
return &resp.GuildRoleChannelID, err
}