0

I have created Telegram bot from BotFather and it gave me an API key. Now when I am trying to open this URL

https://api.telegram.org/bot<MYAPIKEY>/sendMessage?chat_id=@<MYTELEGRAMUSERNAME>&text=Hello

it responds me

{
    "ok": false,
    "error_code": 400,
    "description": "Bad Request: chat not found"
}

How to fix? What I forgot to do?

I was trying to open my bot's page in telegram and type there something (it didn't respond anything).


I want my computer to send Telegram notifications to me.

Dims
  • 47,675
  • 117
  • 331
  • 600

0 Answers0