Solved: Telegram Help Post to Channel: chat not found + suggestion for the piece's description

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:

  1. Search for the bot “@getmyid_bot” in Telegram.
  2. Start a conversation with the bot.
  3. Send the command “/my_id” to the bot.
  4. 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?

Got it to work, I needed to add the created bot whose token is inserted in activepieces to the channel, and while this cannot be done via the channel menu, it can be done in the menu of the chat with that bot.

I’d also add this to the description in the piece, so:

How to add this bot to your channel:

  1. Send a message to the bot you created.
  2. In that chat, click on the bot’s name.
  3. In the chat settings, click “Add to Group or Channel” and add it to your channel and give it permission to post.

and change the get-id-part this way or add this as a second way:

  1. Search for the bot “@username_to_id_bot” in Telegram.
  2. Start a conversation with the bot.
  3. forward the bot a message from your channel.
  4. The bot will reply with your chat ID.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.