-
Notifications
You must be signed in to change notification settings - Fork 74
/
config.js
63 lines (45 loc) · 2.21 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
module.exports = {
////////////////////////////////////////////////////////////////
// GENERAL SETTINGS
////////////////////////////////////////////////////////////////
// Data directory is used so that we can persist cookies per session and not have to
// authorize this application every time.
// NOTE: This directory can get quite large overtime, in that case simply delete it
// and re-authorize Whatsapp.
data_dir: './tmp',
// When true, Chrome browser window will be shown. When false, it will be hidden
window: true,
////////////////////////////////////////////////////////////////
// CHAT SETTINGS
////////////////////////////////////////////////////////////////
// Number of milli seconds to check for new messages
check_message_interval: 1000,
// If true, your last message sent will be notified when read by other user
read_receipts: true,
////////////////////////////////////////////////////////////////
// CHAT COLOR SETTINGS
////////////////////////////////////////////////////////////////
// Colors: black, red, green, yellow, blue, magenta, cyan, white, gray
// If true, colored messages will be shown
colors: true,
received_message_color: 'green',
received_message_color_new_user: 'magenta',
sent_message_color: 'yellow',
////////////////////////////////////////////////////////////////
// CHAT NOTIFICATION SETTINGS
////////////////////////////////////////////////////////////////
// Enable or disable desktop notifications
notification_enabled: true,
// Hide or show chat message in notification
notification_hide_message: false,
// If notification_hide_message is TRUE, this content will be shown in notification for user's message
notification_hidden_message: "New Message Received",
// Hide or show chat user name in notification
notification_hide_user: false,
// If notification_hide_user is TRUE, this content will be shown in notification for user's name
notification_hidden_user: "Someone",
// Enable or disable notification sound
notification_sound: false,
// Time in seconds notification should be displayed.
notification_time: 10
}