We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
BotTokens
accessToken
1 parent 7d09e07 commit f681b13Copy full SHA for f681b13
2 files changed
docs/v3-api.yaml
@@ -6471,6 +6471,7 @@ components:
6471
accessToken:
6472
type: string
6473
description: BOTアクセストークン
6474
+ nullable: true
6475
required:
6476
- verificationToken
6477
- accessToken
router/v3/responses.go
@@ -210,8 +210,8 @@ func formatBots(bs []*model.Bot) []*Bot {
210
}
211
212
type BotTokens struct {
213
- VerificationToken string `json:"verificationToken"`
214
- AccessToken string `json:"accessToken"`
+ VerificationToken string `json:"verificationToken"`
+ AccessToken optional.Of[string] `json:"accessToken"`
215
216
217
type BotDetail struct {
0 commit comments