Skip to content

State Code

bazingaterry edited this page Dec 8, 2016 · 7 revisions

Return code

Code State
-2 database connection error
0 ok
1 name has benn used
2 username and password missmatch
3 parameter empty
10 token invalid
11 permission deny
20 join or exit channel fail

Channel

Channel State Code State
0 UNSUBSCRIBE
1 CREATER
2 SUBSCRIBE
Channel Action Code State
0 join channel
1 exit channel

Reminder

Reminder State Code State
0 public reminder (publish by channel)
1 private reminder (personal reminder)
Reminder State Code State
0 undo
1 completed
Reminder Priority Code State
0 low
1 med
2 high
Clone this wiki locally