narthur avatar
narthur
telegramBot
Script
An interactive, runnable TypeScript val by narthur
0
artalar avatar
artalar
jentlemans_bot
HTTP
Forked from maxm/telegramWebhookExample
0
neverstew avatar
neverstew
telegramWebhookEchoMessage
HTTP
Forked from vtdocs/telegramWebhookEchoMessage
0
vtdocs avatar
vtdocs
telegramWebhookEchoMessage
Script
An interactive, runnable TypeScript val by vtdocs
2
marcecoll avatar
marcecoll
telegramWebhookCompra
Express (deprecated)
Forked from enyo/telegramWebhookEchoMessage
0
enyo avatar
enyo
telegramWebhookEchoMessage
HTTP
Forked from vtdocs/telegramWebhookEchoMessage
0
dcm31 avatar
dcm31
telegramWebhookEchoMessageOLD
HTTP
Forked from maxm/telegramWebhookExample
0
vawogbemi avatar
vawogbemi
telegramWebhookEchoMessage
HTTP
Forked from maxm/telegramWebhookExample
0
maxm avatar
maxm
telegramWebhookExample
HTTP
An interactive, runnable TypeScript val by maxm
0
dcm31 avatar
dcm31
telegramWebhookEchoMessage
HTTP
// v15 was the last stable version
0
stevekrouse avatar
stevekrouse
telegramValTownBot
RPC (deprecated)
An interactive, runnable TypeScript val by stevekrouse
0
dpetrouk avatar
dpetrouk
telegramWebhookEchoMessage
Express (deprecated)
Forked from vtdocs/telegramWebhookEchoMessage
0
stevekrouse avatar
stevekrouse
telegramValTownAPI
HTTP
An interactive, runnable TypeScript val by stevekrouse
1
adjacent avatar
adjacent
telegramDalleBot
HTTP
Forked from hootz/telegramDalleBot
0
subguy avatar
subguy
sendFoodEmail
Cron
// Forked from @enyo.sendTelegramMessage
0
dpetrouk avatar
dpetrouk
notifyInTg
Script
Usage in bash: # Can be in .bashrc or .zsrhc: to-tg() { local input="" if [[ -p /dev/stdin ]]; then input="$(cat -)" else input="${@}" fi if [[ -z "${input}" ]]; then return 1 fi local chat_id="-1001826545120" # Set chat_id where your bot is local message="$input" curl -G https://api.val.town/v1/run/dpetrouk.notifyInTg --data-urlencode 'args=["'"$chat_id"'", "'"$message"'"]' } # You will get notification where command is succesfully finished <command in bash> && to-tg Success # Can be like that? <command in bash> | to-tg Success
0
Updated: October 23, 2023