How to make a bot which will notify you about new additions?

There is a mysql database table, which records the depositing of the users. I want to write a bot in php, that will notify about new completions. On what principle it should work, so when a new recording he sent me a message?
April 4th 20 at 00:53
2 answers
April 4th 20 at 00:55
Solution
That's who writes the replenishment of the mysql database with the table here and ask them to send you to a cart alert
How do I know chat_id where to send? - victoria_Robel commented on April 4th 20 at 00:58
@victoria_Robel, remember when you create an account who initiated its creation - lilyan_Bo commented on April 4th 20 at 01:01
April 4th 20 at 00:57
Solution
All just use the Documentation: sendmessage telegram, and then you just need to send get/post request, that's all!

The same documentation is only in Russian

Open a browser and navigate to the link, replacing Bot_token and chat_id in your data
https://api.telegram.org/bot<Bot_token>/sendMessage?chat_id=<chat_id>&text=Hello%20мир

Find more questions by tags PHPMySQLTelegram