| 1 | # WhatsApp settings |
| 2 | |
| 3 | > [!TIP] |
| 4 | > This page contains the details about whatsapp settings. More general information about whatsapp support in matterbridge can be found in [README.md](README.md). |
| 5 | |
| 6 | ## Number |
| 7 | |
| 8 | Number you will use as a relay bot. Tip: Get some disposable sim card, don't rely on your own number. |
| 9 | |
| 10 | - Setting: **REQUIRED** |
| 11 | - Format: *string* |
| 12 | - Example: |
| 13 | ```toml |
| 14 | Number="+48111222333" |
| 15 | ``` |
| 16 | |
| 17 | ## SessionFile |
| 18 | |
| 19 | First time that you login you will need to scan QR code, then credentials will |
| 20 | be saved in a session file. If you do not set a `SessionFile`, you will need |
| 21 | to scan your QR code on every restart. |
| 22 | |
| 23 | Unless this option is set, the Whatsapp login session is stored only in memory |
| 24 | until restarting matterbridge. |
| 25 | |
| 26 | - Setting: **OPTIONAL** |
| 27 | - Format: *string* |
| 28 | - Example: |
| 29 | ```toml |
| 30 | SessionFile="/usr/share/matterbridge/session-48111222333.gob" |
| 31 | ``` |
| 32 | |