yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.34k stars 1.52k forks source link

Getting User contact information #1135

Closed Redskullvue closed 11 months ago

Redskullvue commented 12 months ago

Feature Request

I have searched for this issue and found none about this

Introduction

it would be nice to be able to get the user contact information through the "msg" object ;

Example

like instead of asking user directly to input your number we can just get it from the object if user /starts our BOT

VDS13 commented 12 months ago

Hello, @Redskullvue. The Message object does not store this information.

https://core.telegram.org/bots/api#message https://core.telegram.org/bots/api#user