Send message to phone number not @username using Telegram Bot

29,431

its not possible send message to phone number or username. you can only send message by ID.

i almost try every thing.(group chat or channel) the only way, bot can send a message to the user is the user start the conversation.

Share:
29,431
Saber Amani
Author by

Saber Amani

Software Developer

Updated on July 25, 2022

Comments

  • Saber Amani
    Saber Amani almost 2 years

    Is this possible to send message to phone number not @username using telegram bot?

    If answer is No, I have to say I have telegram account without @username and several days ago I got message from a Bot, how this is possible?

    Any advice will be helpful.

  • Pooya Estakhri
    Pooya Estakhri about 7 years
    What if user installed app but i only do have the username ?
  • Foad Tahmasebi
    Foad Tahmasebi about 6 years
    it is possible, recently I received message directly on my telegram for confirmation of my phone number from a site! but i couldn't find how!
  • Mohammad
    Mohammad about 6 years
    dear @FoadTahmasebi. its not possible to send the message by phone number in telegram bot api. what you saw is the new feature called telegram login. its so simple. here you can read about that: telegram.org/blog/login
  • Foad Tahmasebi
    Foad Tahmasebi about 6 years
    @David, thank you for your answer, I know what is telegram login for website. I'm sorry, maybe I shouldn't comment here, it's not a bot, it is sending a message directly from a phone number. If you want to test it, signup mql5.com and confirm your phone number by telegram in your profile section.
  • Mohammad
    Mohammad about 6 years
    Thanks for sharing dear @FoadTahmasebi. i check the website. they are using telegram api. its not bot api.
  • SaidbakR
    SaidbakR almost 4 years
    This is not the target of the question at all. This send public message to all the members of the channel!