Functions for interfacing with the client
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
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(xmpp: string)
xmpp
Raw XMPP code to be sent
sends raw XMPP code to the kik socket
client.makeKikUUID() : long
returns a long value of an UUID that is synchronized with the kik servers
client.showToast(message: string)
Toast message
shows an android toast message
Last updated 5 years ago