Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to request phone number? #19

Open
mrleesin opened this issue Feb 5, 2018 · 1 comment
Open

How to request phone number? #19

mrleesin opened this issue Feb 5, 2018 · 1 comment

Comments

@mrleesin
Copy link

mrleesin commented Feb 5, 2018

request_contact: true

in the node-telegram-bot-api?

@romap0
Copy link

romap0 commented Apr 16, 2018

Use requestContact and requestLocation in your method

return ctx
          .keyboard([[
            {text: 'Send contact', requestContact: true},
            {text: 'Send location', requestLocation: true}
          ]])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants