draft openTelegram
This commit is contained in:
parent
248f29c12d
commit
bb429d3f7e
@ -487,16 +487,13 @@ const actions = {
|
|||||||
mailToEncoded(encEmail);
|
mailToEncoded(encEmail);
|
||||||
},
|
},
|
||||||
|
|
||||||
openWhatsApp: tel => {
|
openWhatsApp: (tel, msg = "") => {
|
||||||
let waUrl = "https://wa.me/" + tel;
|
let waUrl = "https://wa.me/" + tel;
|
||||||
|
|
||||||
window.open(waUrl, "_blank");
|
window.open(waUrl, "_blank");
|
||||||
},
|
},
|
||||||
|
|
||||||
openTelegram: tel => {
|
openTelegram: (tel, msg = "") => {
|
||||||
// TODO
|
let tgUrl = "tg://msg?text=" + msg + "&to=" + tel;
|
||||||
let tgUrl = "";
|
|
||||||
|
|
||||||
window.open(tgUrl, "_blank");
|
window.open(tgUrl, "_blank");
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user