telegramGetUpdates
Script
v2
Fork
1
2
3
4
5
6
import
{
fetchJSON
}
from
"https://esm.town/v/stevekrouse/fetchJSON?v=41"
;
export
const
telegramGetUpdates
=
async
(
botToken
:
string
)
=>
fetchJSON
(
`https://api.telegram.org/bot
${
botToken
}
/getUpdates`
,
)
;