Updated \TgBotLib > Bot > setWebhook()

This commit is contained in:
Netkas 2023-02-14 21:03:13 -05:00
parent de16477f8a
commit 998b7825d1

View file

@ -179,7 +179,9 @@
*/
public function setWebhook(string $url, array $options=[]): bool
{
$this->sendRequest('setWebhook', $options);
$this->sendRequest('setWebhook', array_merge($options, [
'url' => $url
]));
return true;
}
}