Designed for better message forwarding in Telegram.
Use the "topic" feature to achieve a better PM bot.
Forward users' messages to topics in the group. Each user corresponds to a topic.
/id
.Any messages sent to the bot will be forwarded to the corresponding topic in the group.
More options and settings can be found by sending the /help
command to the bot in the group.
The following are the available language options:
en
zh_CN
ja_JP
We welcome contributions to add more languages.
docker run -d --name betterforward \
-e TOKEN=<your_bot_token> \
-e GROUP_ID=<your_group_id> \
-e LANGUAGE=<language> \
-v /path/to/data:/app/data \
--restart unless-stopped \
pplulee/betterforward:latest
If you deploy this project using Docker, you can use WatchTower to quickly update. Please adjust the container name yourself. Use the following command to update:
docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower -cR \
<Container Name>
/terminate [User ID]
: Ends the conversation with a specified user. When this command is issued within a conversation
thread, there is no need to include the User ID; the current conversation will be terminated automatically. The user
will not receive any further prompts or notifications./help
: Displays the help menu, which includes a list of available commands and their instructions./ban
: Prevents the user from sending more messages. This command is only applicable within the specific
conversation thread where it is executed./unban [User ID]
: Reinstates the ability for a user to send messages. If no User ID is specified, the command will
apply to the user in the current conversation thread.Please use issues
for bug reports and feature requests.