plugin XEP-0085: Chat State Notifications
- new "options" parameter to send chat states
- plugin command export: messages without body are now delivered (since all the chat states other than "active" need them)
This commit is contained in:
parent
174a0d9862
commit
9cb7071e89
1 changed files with 368 additions and 33 deletions
|
|
@ -344,17 +344,19 @@ doc_return=List of confirmation request data, same as for [askConfirmation]
|
|||
[sendMessage]
|
||||
type=method
|
||||
category=core
|
||||
sig_in=sssss
|
||||
sig_in=ssssa{ss}s
|
||||
sig_out=
|
||||
param_2_default=''
|
||||
param_3_default="auto"
|
||||
param_4_default="@DEFAULT@"
|
||||
param_4_default={}
|
||||
param_5_default="@NONE@"
|
||||
doc=Send a message
|
||||
doc_param_0=to_jid: JID of the recipient
|
||||
doc_param_1=message: body of the message
|
||||
doc_param_2=subject: Subject of the message ('' if no subject)
|
||||
doc_param_3=mess_type: Type of the message (cf RFC 3921 #2.1.1) or "auto" for automatic type detection
|
||||
doc_param_4=%(doc_profile_key)s
|
||||
doc_param_4=options: optional data that can be used by a plugin to build more specific messages
|
||||
doc_param_5=%(doc_profile_key)s
|
||||
|
||||
[setPresence]
|
||||
type=method
|
||||
|
|
|
|||
Loading…
Reference in a new issue