Methods
-
staticQB.chat.message.create(params, callback)
modules/chat/qbMessage.js, line 42 -
Create message.
Name Type Description paramsObject Object of parameters. callbackcreateMessageCallback The callback function. -
staticQB.chat.message.delete(id, params, callback)
modules/chat/qbMessage.js, line 92 -
Delete message(read more).
Name Type Description idString The message id. paramsObject Object of parameters. callbackdeleteMessageCallback The callback function. -
staticQB.chat.message.list(params, callback)
modules/chat/qbMessage.js, line 22 -
Get a chat history(read more).
Name Type Description paramsObject Object of parameters. callbacklistMessageCallback The callback function. -
staticQB.chat.message.unreadCount(params, callback)
modules/chat/qbMessage.js, line 121 -
Get unread messages counter for one or group of dialogs(read more).
Name Type Description paramsObject Object of parameters. callbackunreadCountMessageCallback The callback function. -
staticQB.chat.message.update(id, params, callback)
modules/chat/qbMessage.js, line 67 -
Update message(read more).
Name Type Description idString The message id. paramsObject Object of parameters. Name Type Description readNumber optional Mark message as read (read=1). deliveredNumber optional Mark message as delivered (delivered=1). messageString optional The message's text. callbackupdateMessageCallback The callback function.