Federations
Share one ban list between many Telegram groups. Create a federation, add groups, and ban a user everywhere with fban.
A federation is a shared ban list for several groups. If you own many groups, you ban a spammer once and they are banned in all of them.
Words to know
| Word | Meaning |
|---|---|
| Federation | A named group of groups that share one ban list |
| Federation owner | The person who created it. Each person can own only one federation. |
| Federation admin | A person the owner trusts to use /fban |
| fban | A ban that works in every group of the federation |
Create a federation
In a private chat with the bot:
Federation My Network created.
ID: abc12345
In each group (as group owner) run /joinfed abc12345. Then /fban works in all of them.
Add your groups
In each group, the group owner sends /joinfed <federation id>. A group can be in one federation at a time. To leave: /leavefed.
Ban and unban in the whole federation
Federation owner and admins use these in any group of the federation:
/fban <reply, id or @username> [reason]bans the person in all groups/unfban <reply, id or @username>lifts it
The person is also removed on sight when they join or write in any federation group. The owner and admins of a federation cannot be fbanned.
Manage your federation (private chat)
| Command | What it does |
|---|---|
/myfeds | Lists your federations |
/fedinfo [id] | Shows details: owner, admins, groups, bans |
/fedadmins [id] | Lists the admins |
/fedchats | Lists the groups (owner only) |
/fbanlist | Shows the latest bans |
/fpromote <user> | Makes someone a federation admin (owner only) |
/fdemote <user> | Removes a federation admin (owner only) |
/renamefed <id> <new name> | Renames it |
/delfed <id> | Deletes it |
Limits
A federation can have up to 200 groups and 50 admins. The name can be up to 40 characters.