isToken

Check the given token format

if you want to verify token with telegram , you should set `verify` parameter => true.

in that case , if token was right , you will receive getMe result , otherwise you will receive false

Arguments
Name Type Description Required
token string Your token yes
verify bool If you want to check token with telegram , this will call a telegram method no

Output : bool | BPT ypes\user

Static or normal : Static

Examples :

tools::isToken('123123123:abcabcabcabc');