Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

Viewing file on branch master

1# Slack settings
2
3> [!TIP]
4> This page contains the details about slack settings. More general information about slack support in matterbridge can be found in [README.md](README.md).
5
6## Debug
7
8Extra slack specific debug info, warning this generates a lot of output.
9
10- Setting: **OPTIONAL**, **RELOADABLE**
11- Format: *boolean*
12- Example:
13 ```toml
14 Debug=true
15 ```
16
17## PreserveThreading
18
19Opportunistically preserve threaded replies between Slack channels.
20This only works if the parent message is still in the cache.
21Cache is flushed between restarts.
22Note: Not currently working on gateways with mixed bridges of
23both slack and slack-legacy type. Context in issue #624.
24
25- Setting: **OPTIONAL**, **RELOADABLE**
26- Format: *boolean*
27- Example:
28 ```toml
29 PreserveThreading=true
30 ```
31
32## ShowUserTyping
33
34Enable showing "user_typing" events from across gateway when available.
35Protip: Set your bot/user's "Full Name" to be "Someone (over chat bridge)",
36and so the message will say "Someone (over chat bridge) is typing".
37
38- Setting: **OPTIONAL**, **RELOADABLE**
39- Format: *boolean*
40- Example:
41 ```toml
42 ShowUserTyping=true
43 ```
44
45## SyncTopic
46
47Enable to sync topic/purpose changes from other bridges
48Only works syncing topic changes from slack bridge for now
49
50- Setting: **OPTIONAL**, **RELOADABLE**
51- Format: *boolean*
52- Example:
53 ```toml
54 SyncTopic=true
55 ```
56
57## Token
58
59Token to connect with the Slack API
60
61- Setting: **REQUIRED** (when not using webhooks)
62- Format: *string*
63- Example:
64 ```toml
65 Token="yourslacktoken"
66 ```
67
68### IconURL
69
70> [!WARNING]
71> NOT RECOMMENDED TO USE INCOMING/OUTGOING WEBHOOK.
72> USE DEDICATED BOT USER WHEN POSSIBLE!
73
74Icon that will be showed in slack.
75The string "{NICK}" (case sensitive) will be replaced by the actual nick / username.
76The string "{BRIDGE}" (case sensitive) will be replaced by the sending bridge.
77The string "{LABEL}" (case sensitive) will be replaced by label= field of the sending bridge.
78The string "{PROTOCOL}" (case sensitive) will be replaced by the protocol used by the bridge.
79
80- Setting: **OPTIONAL**
81- Format: *string*
82- Example:
83 ```toml
84 IconURL="https://robohash.org/{NICK}.png?size=48x48"
85 ```
86
87### WebhookBindAddress
88
89> [!WARNING]
90> NOT RECOMMENDED TO USE INCOMING/OUTGOING WEBHOOK.
91> USE DEDICATED BOT USER WHEN POSSIBLE!
92
93Address to listen on for outgoing webhook requests from slack.
94See account settings - integrations - outgoing webhooks on slack
95
96- Setting: **OPTIONAL**
97- Format: *string*
98- Example:
99 ```toml
100 WebhookBindAddress="0.0.0.0:9999"
101 ```
102
103### WebhookURL
104
105> [!WARNING]
106> NOT RECOMMENDED TO USE INCOMING/OUTGOING WEBHOOK.
107> USE DEDICATED BOT USER WHEN POSSIBLE!
108
109Url is your incoming webhook url as specified in slack.
110See account settings - integrations - incoming webhooks on slack
111
112- Setting: **OPTIONAL**
113- Format: *string*
114- Example:
115 ```toml
116 WebhookURL="https://hooks.slack.com/services/yourhook"
117 ```
118