Skip to content

Commit dac9991

Browse files
committed
device name
1 parent 14c35cc commit dac9991

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

content/docs/how-to/sessions/index.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,12 @@ It'll create a session in `STOPPED` status, and you can start it later by callin
182182

183183
You can customize how the session shows up under **WhatsApp → Linked Devices**.
184184

185-
```json
185+
<div style="width: 600px; max-width: 100%; margin: 0 auto;">
186+
{{< imgo src="whatsapp-linked-devices-devicename-test.png" alt="WhatsApp linked device name set to TEST" >}}
187+
</div>
188+
189+
190+
```json {title="Body"}
186191
{
187192
"name": "default",
188193
"config": {
@@ -194,12 +199,15 @@ You can customize how the session shows up under **WhatsApp → Linked Devices**
194199
}
195200
```
196201

197-
<div style="width: 600px; max-width: 100%; margin: 0 auto;">
198-
{{< imgo src="whatsapp-linked-devices-devicename-test.png" alt="WhatsApp linked device name set to TEST" >}}
199-
</div>
202+
or you can set it via [**⚙️ Configuration → Sessions - Device Name**]({{< relref "/docs/how-to/config#sessions---device-name" >}}).
203+
204+
```ini { title=".env" }
205+
WAHA_CLIENT_DEVICE_NAME=TEST
206+
WAHA_CLIENT_BROWSER_NAME=Chrome
207+
```
200208

201209
{{< callout context="caution" title="GOWS" icon="outline/alert-triangle" >}}
202-
GOWS supports custom device names **only via environment variables** for now. See [**⚙️ Configuration → Sessions - Device Name**]({{< relref "/docs/how-to/config#sessions---device-name" >}}).
210+
**GOWS** supports custom device names **only via environment variables** for now - see [**⚙️ Configuration → Sessions - Device Name**]({{< relref "/docs/how-to/config#sessions---device-name" >}}).
203211
{{< /callout >}}
204212

205213
{{< include file="content/docs/how-to/sessions/-device-name-pairing-code.md" >}}

0 commit comments

Comments
 (0)