Aggio App
This commit is contained in:
@@ -1194,6 +1194,7 @@ const MyTelegramBot = {
|
||||
let ris = {
|
||||
numrec: 0,
|
||||
nummsgsent: 0,
|
||||
text: '',
|
||||
};
|
||||
|
||||
let invia = false;
|
||||
@@ -1334,7 +1335,7 @@ async function local_sendMsgTelegram(idapp, username, text) {
|
||||
const teleg_id = await User.TelegIdByUsername(idapp, username);
|
||||
const cl = getclTelegByidapp(idapp);
|
||||
let ris = null;
|
||||
if (cl && teleg_id) {
|
||||
if (cl && teleg_id > 0) {
|
||||
ris = await cl.sendMsg(teleg_id, text);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user