You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how can i get user phone number with bot on event contact ?
is it a way to get it ?
bot.on('contact', (msg,info)=>{
const id = msg.from.id;
let day = msg.text;
console.log(info);
return bot.sendMessage(
id, 'thanks for contact number'
);
});
The text was updated successfully, but these errors were encountered:
how can i get user phone number with bot on event contact ?
is it a way to get it ?
bot.on('contact', (msg,info)=>{
const id = msg.from.id;
let day = msg.text;
console.log(info);
return bot.sendMessage(
id, 'thanks for contact number'
);
});
The text was updated successfully, but these errors were encountered: