"Command 4"] ], "resize_keyboard" : true }
)
botToken := "xxxxxxxxx:yyyyyyyyyyyyyyyyyyy"
chatID := "somechatId"
url := "https://api.telegram.org/bot" botToken "/sendMessage?text=Hello&chat_id=" chatID "&reply_markup=" keyb
json_message := URLDownloadToVar(url)
msgbox % json_message
return
URLDownloadToVar(url,ByRef variable=""){
try
{
hObject:=ComObjCreate("WinHttp.WinHttpRequest.5.1")
hObject.Open("GET",url)
hObject.Send()
variable:=hObject.ResponseText
return variable
}
}
Ух
Лять, это работает
Обсуждают сегодня