Instantiates a new Telegram super-class object.
public __construct ( string $token = null, boolean $async = false, Telegram\Bot\HttpClients\HttpClientInterface $httpClientHandler = null ) | ||
$token | string | The Telegram Bot API Access Token. |
$async | boolean | (Optional) Indicates if the request to Telegram will be asynchronous (non-blocking). |
$httpClientHandler | Telegram\Bot\HttpClients\HttpClientInterface | (Optional) Custom HTTP Client Handler. |