Msg.execute: Difference between revisions
Jump to navigation
Jump to search
Created page with "'''msg.execute''' is emitted by a module that wants to send a chat message. ===Parameters=== '''callto''' ===How it works?=== The module that handles msg.execute will chec..." |
No edit summary |
||
| Line 4: | Line 4: | ||
'''callto''' | '''callto''' | ||
'''called''' | |||
'''called_instance''' | |||
'''caller''' | |||
'''caller_instance''' | |||
===How it works?=== | ===How it works?=== | ||
Revision as of 16:52, 22 January 2013
msg.execute is emitted by a module that wants to send a chat message.
Parameters
callto called called_instance caller caller_instance
How it works?
The module that handles msg.execute will check the callto parameter and called parameter to not be empty and if a full JID is obtain with a resource and a chan.text is emitted from the channel. The return value is true if the chan.text was emitted.
See also