client

Functions for interfacing with the client

Functions:

client.sendMessage

client.sendMessage(message: string, jid: string)

Argument

Type

Description

message

string

Message to be send, cannot be longer than 2048 characters, else it'll shorten it.

jid

string

JabberID of the person or group you are trying to send the message to

Sends a message to either a group or a

client.sendXMPP

client.sendXMPP(xmpp: string)

Argument

Type

Description

xmpp

string

Raw XMPP code to be sent

sends raw XMPP code to the kik socket

client.makeKikUUID

client.makeKikUUID() : long

returns a long value of an UUID that is synchronized with the kik servers

client.showToast

client.showToast(message: string)

Argument

Type

Description

message

string

Toast message

​shows an android toast message

Last updated

Was this helpful?