Skip to content

Telegram bot for channel feedback, suggestions, etc / Простой бот-предложка для вашего канала

Notifications You must be signed in to change notification settings

Rebel028/tg-feedback-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot for channel feedback

This bot will forward any incoming messages to selected chat (private, group or channel). Chats with topics probably won't work for now.

Features:

  • forward all incoming messages to a specific chat, channel or dm
  • forward media group as album instead of separate messages
  • reply to any incoming messages (including albums)
  • launch with --confirmreceive to let users know that their message is received

Run using docker:

docker run -d --name tg-feedback-bot --pull=always \
  -e "BOT_TOKEN=bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11" \
  -e "CHAT_ID=123456" \
  ghcr.io/rebel028/tg-feedback-bot:latest

Run with Go

Prerequisites: Go 1.19

Clone this repository then

Linux:

cd tg-feedback-bot
go build -o tg-feedback-bot
tg-feedback-bot -token bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 -chatid 123456

Windows:

cd ./tg-feedback-bot
go build -o tg-feedback-bot.exe
./tg-feedback-bot.exe -token bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 -chatid 123456

where bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 is your bot token and 123456 is chat id to forward messages to.

How to obtain bot token?

How to get chat id?

About

Telegram bot for channel feedback, suggestions, etc / Простой бот-предложка для вашего канала

Topics

Resources

Stars

Watchers

Forks