after issue : #459
i try use getUpdates function for get chat id and send simple message but error occured and error_log say :
[23-Sep-2017 15:22:11 UTC] PHP Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: POST https://api.telegram.org/bot414729790:*************************/getUpdates resulted in a 409 Conflict response:
{"ok":false,"error_code":409,"description":"Conflict: can't use getUpdates method while webhook is active"}
' in /home2/ospay/public_html/InstagramBot/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
and then i decide to delete webhook and try again! but i cant get result from this too!
how i can send simple message for clients after they push bot start button ?
if you write simple example it can help me better
thanks
after issue : #459 i try use getUpdates function for get chat id and send simple message but error occured and error_log say :
[23-Sep-2017 15:22:11 UTC] PHP Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error:
POST https://api.telegram.org/bot414729790:*************************/getUpdates
resulted in a409 Conflict
response: {"ok":false,"error_code":409,"description":"Conflict: can't use getUpdates method while webhook is active"} ' in /home2/ospay/public_html/InstagramBot/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113and then i decide to delete webhook and try again! but i cant get result from this too!
how i can send simple message for clients after they push bot start button ? if you write simple example it can help me better thanks