How to get user_id of a phone number in telegram

后端 未结 3 1135
自闭症患者
自闭症患者 2020-12-14 19:26

Im creating a bot to send message to multiple contact in Telegram. user can share contact with bot. then i use getUpdates and obtain the phone number. For using the sendMes

3条回答
  •  爱一瞬间的悲伤
    2020-12-14 20:04

    There is a problem: you can't send a message from a bot to a user as the conversation initiator even if you have the user_id.

提交回复
热议问题