"Autoprodotto": metterlo come campo e filtro a parte ??
Se non hai l'USERNAME TELEGRAM presente, allora il BOT ti deve dire come fare per impostarlo. Creare una Chat di Help Supporto Tecnico
This commit is contained in:
@@ -1146,6 +1146,17 @@ module.exports = {
|
||||
return (myapp) ? myapp.telegram_bot_name : '';
|
||||
},
|
||||
|
||||
getTelegramSupportChat: function(idapp) {
|
||||
try {
|
||||
const myapp = this.getApps().find((item) => item.idapp === idapp);
|
||||
return (myapp && myapp.telegram_support_chat)
|
||||
? myapp.telegram_support_chat
|
||||
: '';
|
||||
}catch (e) {
|
||||
return '';
|
||||
}
|
||||
},
|
||||
|
||||
getTelegramKeyByIdApp: function(idapp) {
|
||||
const myarr = this.getApps();
|
||||
const myapp = myarr.find((item) => item.idapp === idapp);
|
||||
|
||||
Reference in New Issue
Block a user