Converse converse.js

Namespace: adhoc

adhoc

The XEP-0050 Ad-Hoc Commands API

This API lets you discover ad-hoc commands available for an entity in the XMPP network.

Source:

Methods

(static) fetchCommandForm()

Source:

(static) fetchCommandForm()

Source:

(static) getCommands(to_jid)

Parameters:
Name Type Description
to_jid String
Source:

(static) getCommands(to_jid)

Parameters:
Name Type Description
to_jid String
Source:

(static) runCommand(jid, sessionid, action, node, inputs)

Parameters:
Name Type Description
jid String
sessionid String
action 'execute' | 'cancel' | 'prev' | 'next' | 'complete'
node String
inputs Array.<{string: string}>
Source:

(static) runCommand(jid, sessionid, action, node, inputs)

Parameters:
Name Type Description
jid String
sessionid String
action 'execute' | 'cancel' | 'prev' | 'next' | 'complete'
node String
inputs Array.<{string: string}>
Source:

adhoc

The XEP-0050 Ad-Hoc Commands API

This API lets you discover ad-hoc commands available for an entity in the XMPP network.

Source:

Methods

(static) fetchCommandForm()

Source:

(static) fetchCommandForm()

Source:

(static) getCommands(to_jid)

Parameters:
Name Type Description
to_jid String
Source:

(static) getCommands(to_jid)

Parameters:
Name Type Description
to_jid String
Source:

(static) runCommand(jid, sessionid, action, node, inputs)

Parameters:
Name Type Description
jid String
sessionid String
action 'execute' | 'cancel' | 'prev' | 'next' | 'complete'
node String
inputs Array.<{string: string}>
Source:

(static) runCommand(jid, sessionid, action, node, inputs)

Parameters:
Name Type Description
jid String
sessionid String
action 'execute' | 'cancel' | 'prev' | 'next' | 'complete'
node String
inputs Array.<{string: string}>
Source: