Telegram webhook endpoint
curl --request POST \
--url https://api.sitespy.app/api/v1/telegram/webhookimport requests
url = "https://api.sitespy.app/api/v1/telegram/webhook"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.sitespy.app/api/v1/telegram/webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Telegram Notifications
Telegram webhook endpoint
Receives updates from the Telegram Bot API. This endpoint is called by Telegram when users interact with the bot (e.g. /start command). Not intended for direct use.
POST
/
telegram
/
webhook
Telegram webhook endpoint
curl --request POST \
--url https://api.sitespy.app/api/v1/telegram/webhookimport requests
url = "https://api.sitespy.app/api/v1/telegram/webhook"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.sitespy.app/api/v1/telegram/webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Response
Update processed

