aboutsummaryrefslogtreecommitdiff
path: root/include/muc_request.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/muc_request.hrl')
-rw-r--r--include/muc_request.hrl16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/muc_request.hrl b/include/muc_request.hrl
new file mode 100644
index 000000000..bc14be35f
--- /dev/null
+++ b/include/muc_request.hrl
@@ -0,0 +1,16 @@
+%% Created automatically by xdata generator (xdata_codec.erl)
+%% Source: muc_request.xdata
+%% Form type: http://jabber.org/protocol/muc#request
+%% Document: XEP-0045
+
+
+-type property() :: {'role', participant} |
+ {'jid', jid:jid()} |
+ {'roomnick', binary()} |
+ {'request_allow', boolean()}.
+-type result() :: [property()].
+
+-type options(T) :: [{binary(), T}].
+-type property_with_options() ::
+ {'role', participant, options(participant)}.
+-type form() :: [property() | property_with_options() | xdata_field()].