-
Notifications
You must be signed in to change notification settings - Fork 1
UserPoke
Samuel Grant edited this page Jun 23, 2020
·
1 revision
Pokes a user's client
Notes:
-
Pokes a single client, not all clients belonging to a user
-
The message is encoded by the function
| Name | Type | Description |
|---|---|---|
| clid | int64 | Clients connection/session ID |
| msg | string | Message to send to the client |
| Type | Description |
|---|---|
| *status | Query Response |
| error |
qres, err := client.UserPoke(clid, "Unescaped string")
if err != nil || !qres.IsSuccess() {
// Handle error or rejected server query
}