This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# DONE BY gemaroul & jecaudal | |
import sys | |
sys.stderr.write("becarefull to enter an odd hex\n") | |
arr = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var token = "YOUR TELEGRAM API CODE"; | |
var telegramUrl = "https://api.telegram.org/bot" + token; | |
var webAppUrl = "THE URL OF THE APP SCRIPT INSTANCE" | |
function setWebhook() { | |
var url = telegramUrl + "/setWebhook?url=" + webAppUrl; | |
var response = UrlFetchApp.fetch(url); | |
} | |
function sendMessage(chat_id, text) { |