version: 2.1.3







isToken

Check the given token format

Parameters

token string token for checking format Yes
verify Boolean Check token with telegram or not(when you set this true and the token was right , you will receive getMe result as output) Optional(false)

Method errors

ErrorNamedescription
token parameter not found parameter token not founded , set it like example

Method examples

$this->isToken(['token'=>'123123123:abcabcabcabc']);

Method alices

There is no alices

Method output :

array|Boolean