Skip to content

Instantly share code, notes, and snippets.

<!doctype html>
<script>
// Docs: https://core.telegram.org/bots/api#getupdates
const UPDATES_URL = 'https://api.telegram.org/bot152495481:AAHOp1v7pz-cV3L2C-xiivqNi0qbVOOVNtQ/getUpdates';
// Bot name: @spbtv_test_bot
// sendMessage example:
// https://api.telegram.org/bot152495481:AAHOp1v7pz-cV3L2C-xiivqNi0qbVOOVNtQ/sendMessage?chat_id=2263761&text=blablbalba
</script>