skip to Main Content

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.

2

Answers


  1. 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.

    Login or Signup to reply.
  2. i can send message in to telegram channel with:

    https://api.telegram.org/bot“your token”/sendMessage?chat_id=”your chat public link as @msg”&text=123

    wold replaced “your token” with token
    and replaced “your chat public link as @msg” with chanel name

    important:
    your bot must be as administrator of your chanel

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search