#you place the bot token and chat id in the appropriate location of the telegram API address $token = "5770333379:AAHRdJ8OvllcCWuC2uAfcx8gXI0zrsi4F28" $chat = "-265142308" https://api.telegram.org/bot$token/sendMessage?chat_id=$chat&text=Hello+World