This bot will create the caption you specify in the channel posts
Clone the repository then use install deps.
cd telegram-channel-signature-bot
yarn
Edit .env
file to configure
cp .env.example .env
nano .env
BOT_TOKEN={TOKEN BOT HERE}
CHAT_ID={CHANNEL ID HERE}
ADMIN_ID={YOUR ACCOUNT ID HERE}
- To create bot, contact @BotFather
- Run bot with
BOT_TOKEN
yarn build
yarn start
- To find chat id, add the bot to the required channel and you will see a message in the console when the post is released:
SKIP CHAT -999999999 # <- CHAT_ID Here
- To find admin id, write any message to bot and you will see a reply:
Access denied, your ID: 99999999 # <- ADMIN_ID Here
- Send the bot a message with the content in the form of the desired caption to the posts
Now your bot will add your signature to all posts in the channel
More info look at GET_STARTED.md