Using Telegram API to send the message to the channel.
- Telegram Account
- Account in www.000webhost.com
-
Open a telegram Account
-
Create a bot using BotFather.
-
Create a channel if it doesn't exists
-
Assign the Administrator Role for both BotFather and your bot
-
Copy the token from botfather and save it into safe place.
-
Also paste token and channelname into the php script i provided
-
Open the www.000webhost.com Account and see the FTP Credentials & Upload it into public_html folder.
-
Add the index.php into cron jobs.
The code is available under the MIT license.