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