//Funzioni che inviano un messaggio
function InviaVideoTypeA(ChatID, StringaVideoFile) {
var Url = TelegramUrl + "/sendVideo?chat_id=" + ChatID + "&video="+ StringaVideoFile;
var response = UrlFetchApp.fetch(Url);
}
function InviaVideoTypeB(ChatID, StringaVideoFile) {
var data = {
method: "post",
payload: {
method: "sendVideo",
chat_id: String(ChatID),
video: String(StringaVideoFile)
}
};
UrlFetchApp.fetch(TelegramUrl + '/', data);
}