Namespace: dialog

QB.chat. dialog

Methods

staticQB.chat.dialog.create(params, callback)

modules/chat/qbDialog.js, line 47
Create new dialog(read more).
Name Type Description
params Object Object of parameters.
callback createDialogCallback The callback function.

staticQB.chat.dialog.delete(id, params_or_callback, callback)

modules/chat/qbDialog.js, line 97
Delete a dialog or dialogs(read more).
Name Type Description
id Array The dialog IDs array.
params_or_callback Object | function Object of parameters or callback function.
callback deleteDialogCallback The callback function.

staticQB.chat.dialog.list(params, callback)

modules/chat/qbDialog.js, line 22
Retrieve list of dialogs(read more).
Name Type Description
params Object Some filters to get only chat dialogs you need.
callback listDialogCallback The callback function.

staticQB.chat.dialog.update(id, params, callback)

modules/chat/qbDialog.js, line 73
Update group dialog(read more).
Name Type Description
id String The dialog ID.
params Object Object of parameters.
callback updateDialogCallback The callback function.