Hello,
I want to post to a channel, not a group.
I cannot add the bot recommended by the piece, so I cannot figure out the id.
I searched for another way and found the bot
@username_to_id_bot!
I forwarded him the link to my channel (Telegram: Contact @triroot if anybody wants to check), and he replied with the id.
I would add that to the description in the piece that currently reads:
How to obtain Chat ID:
- Search for the bot “@getmyid_bot” in Telegram.
- Start a conversation with the bot.
- Send the command “/my_id” to the bot.
- The bot will reply with your chat ID.
Note: Remember to initiate the chat with the bot, or you’ll get an error for "chat not found.
→ this gives as reply: Current chat ID: 700571422
Anyway, I get an error:
{
"response": {
"status": 400,
"body": {
"ok": false,
"error_code": 400,
"description": "Bad Request: chat not found"
}
},
"request": {
"body": {
"chat_id": "-1001220595325",
"text": "Neuer Beitrag auf urverbunden.com:\nhttps://www.urverbunden.com/lotte-und-julius-fuer-mich-selbst-einstehen/\nEnjoy. Julius",
"parse_mode": "HTML"
}
}
}
I get the same error when using the ID returned by @getmyid_bot .
Are channels not supported or am I doing something wrong?