We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from aiogram.bot.api import check_token check_token('1234:') # True check_token('12:ABC-DEF1234ghIkl-zyx57W2v1u123ew11') # ValidationError
In the first case I expect an exception, in the second I expect True
The text was updated successfully, but these errors were encountered:
#239 added check for right part of token exists; removed check for le…
f5d0089
…ft part length
#239 added test cases for check_token
89b0754
#239 added token type validation
4523a1c
Merge pull request #240 from aiogram/#239-check_token-bug-report
e4bf120
#239 check_token fix
Successfully merging a pull request may close this issue.
Context
Expected Behavior
In the first case I expect an exception, in the second I expect True
The text was updated successfully, but these errors were encountered: