telegram-twitter-forwarder-bot icon indicating copy to clipboard operation
telegram-twitter-forwarder-bot copied to clipboard

How to add the bot to a telegram channel

Open m11ad opened this issue 3 years ago • 4 comments

I successfully added the bot to a group because there was an option for it. But I don't see any option for a channel? How can I add the bot to a channel?

  • The inline mode simply doesn't work, it will get stuck in loading when you mention the bot username in the input field

m11ad avatar May 31 '21 14:05 m11ad

You have to manually edit your database.

Am 31.05.2021 um 16:59 schrieb Milad @.***>:

 I successfully added the bot to a group because there was an option for it. But I don't see any option for a channel? How can I add the bot to a channel?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Adem1987 avatar May 31 '21 16:05 Adem1987

You have to manually edit your database.

would you elaborate?

m11ad avatar May 31 '21 16:05 m11ad

I didn’t tested it, but try this:

  • Add your bot to a group.
  • Subscribe where you want your tweets from.
  • Add your bot to a channel.
  • Stop your bot.
  • Open your database and replace the group id with the channel id.
  • Restart bot.

Change the ids, if you want to change anything and then add the channel Id again.

Am 31.05.2021 um 18:45 schrieb Milad @.***>:

 You have to manually edit your database. … Am 31.05.2021 um 16:59 schrieb Milad @.***>:  I successfully added the bot to a group because there was an option for it. But I don't see any option for a channel? How can I add the bot to a channel? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

can you elaborate?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Adem1987 avatar May 31 '21 16:05 Adem1987

There's no option in the code. Changing the DB manually as @Adem1987 explains is a way to do this. I'd accept a PR that allows to do this "in-band" via telegram, interacting with the bot :)

franciscod avatar May 31 '21 19:05 franciscod