Token contstructor required
orloffv opened this issue · 2 comments
orloffv commented
public function __construct($token, $async = false, $http_client_handler = null)
$this->accessToken = isset($token) ? $token : getenv(static::BOT_TOKEN_ENV_NAME);
maybe use
public function __construct($token = null, $async = false, $http_client_handler = null)?
irazasyed commented
Thanks for pointing out. Seems like i missed that. Pushing changes now 👍