var github.com/gotd/td/telegram/auth.ErrInvalidBotToken
8 uses
github.com/gotd/td/telegram/auth (current package)
bot_token.go#L11: var ErrInvalidBotToken = errors.New("invalid bot token")
bot_token.go#L37: return BotToken{}, errors.Wrapf(ErrInvalidBotToken, "longer than %d characters", maxBotTokenLength)
bot_token.go#L40: return BotToken{}, errors.Wrap(ErrInvalidBotToken, "contains '/'")
bot_token.go#L44: return BotToken{}, errors.Wrap(ErrInvalidBotToken, "no ':'")
bot_token.go#L47: return BotToken{}, errors.Wrap(ErrInvalidBotToken, "bot ID is empty or has a leading zero")
bot_token.go#L51: return BotToken{}, errors.Wrap(ErrInvalidBotToken, "bot ID is not a decimal number")
bot_token.go#L56: return BotToken{}, errors.Wrap(ErrInvalidBotToken, "bot ID out of range")
bot_token.go#L59: return BotToken{}, errors.Wrap(ErrInvalidBotToken, "empty secret")
 |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |