Skip to content

UserPoke

Samuel Grant edited this page Jun 23, 2020 · 1 revision

Remarks

Pokes a user's client

Notes:

  1. Pokes a single client, not all clients belonging to a user

  2. The message is encoded by the function

Signature

Params

Name Type Description
clid int64 Clients connection/session ID
msg string Message to send to the client

Returns

Type Description
*status Query Response
error

Example

qres, err := client.UserPoke(clid, "Unescaped string")
if err != nil || !qres.IsSuccess() {
  // Handle error or rejected server query 
}
  

Clone this wiki locally