mg
Size: a a a
mg
IB
mg
L
IB
VM
display: block;
content: " ";
background-image: url("../src/icons/green-check.svg");
background-size: 5px 5px;
height: 5px;
width: 5px;
IB
V
L
IB
II
SB
НТ
AM
{_40:0,_65:0,_55:null,_72:null}.export function getMessage() {
var url = 'https://api.telegram.org/bot' +
TOKEN +
'/getUpdates';
var result = fetch(url)
.then((response) => response.json())
.then((json) => {
console.log(json.result.slice(-1)[0].message.text); // 'Hello World!'
return json.result.slice(-1)[0].message.text;
})
.catch((error) => {
console.error(error);
});
console.log(result) // {_40:0,_65:0,_55:null,_72:null}
return result
}IB
T
{_40:0,_65:0,_55:null,_72:null}.export function getMessage() {
var url = 'https://api.telegram.org/bot' +
TOKEN +
'/getUpdates';
var result = fetch(url)
.then((response) => response.json())
.then((json) => {
console.log(json.result.slice(-1)[0].message.text); // 'Hello World!'
return json.result.slice(-1)[0].message.text;
})
.catch((error) => {
console.error(error);
});
console.log(result) // {_40:0,_65:0,_55:null,_72:null}
return result
}AM
SL