Settings & Features
Here is a list of settings supported by Junction Bot:
- by word
- by regex
- receiving only N-th message
- filtering out duplicates
- change message’s title
- change the link to the original message
- change message body with Before & After
- change message body with Replace
- change the look of captions
- change the look of the author’s name
- shorten long messages
- add feedback buttons
- copy original buttons
- add your custom buttons
- forward edited messages
- set a delay
- pin messages
- forward polls
- change bot’s language
Applying settings to one or all channels
Please note that all settings which start with the command /setting can be applied either to all your channels or to a specific channel.
/setting - apply changes to all channels. /settingchannel - apply changes to one source only. Format:
/setting setting_name value
/settingchannel channel_name setting_name value
channel_name should reference a source, where the messages are coming from. You can use:
- Name of a channel/group (starts with @) – for public channels and groups.
- Link to a channel/group (like https://t.me/mychannel) – for public channels and groups.
- Invitation link to a channel/group – for private channels and groups.
- For Direct Connection users: use the virtual channel number.
/settingchannel @mychannel header none
/settingchannel https://t.me/mychannel header none
/settingchannel https://t.me/joinchat/AAAAAffffSSSShhhh header noneFor Direct Connection users:
/settingchannel &31612345678#78787878 header none
Checking current settings
To see which settings are currently set on the source channel use the command
/settingchannel channel_name setting_name
channel_name – should reference a source.
setting_name – should be one of the possible setting types.
You can see all possible setting types with the command
Using intermediate channels
If you need to apply some really complex rules you may need to create an intermediate channel to arrange everything.
For example you want all the messages be forwarded from A to B. But for messages that include a certain text you want to apply a setting
It’s quite tricky. The only way to do it is to create in intermediate channel, let’s call it C. Then you set up the following forwards:
A -> B for all messages without a certain text.
A -> C for all messages with a certain text.
C -> B for all messages.
Next, you add a setting
after to a forward C -> B.