Retrieve Users Number

(Sammy Joshua) #1

How can my bot retrieve users phone number and display to them.

#2

do your bot store that data in somewhere? for exemple in google sheet or in a db?
you only have to look for the column where is the id and then display it with your bot

if you dont and you are asking to: how to display the numbers before i catch them?
its simple, first you catch the number with a ask, then you make a send message and in the message you parsed the answer.

I would like to help you, but i dont understand at all you question :slight_smile:

(Sammy Joshua) #3

Oh thanks for your reply, we are working on a flow where we can retrieve users phone number, telegram username and id. we can retrieve username and id perfectly with the flow, but we don’t have a way of retrieving phone number without asking the user

#4

I’m soo sorry but there’s no way to get the phone number with a flow, but you could do a script that get that information, with the telegram api https://core.telegram.org/bots/2-0-intro#locations-and-numbers