Compare commits

...

No commits in common. "master" and "gh-pages" have entirely different histories.

173 changed files with 32377 additions and 34182 deletions

52
.gitignore vendored
View File

@ -1,51 +1 @@
Makefile
Makefile.in
*.stamp
/src/*.o
/src/*.lo
/src/*.la
/src/*.gir
/src/*.typelib
/src/test-api-client
/src/test-client
/aclocal.m4
/ar-lib
/autom4te.cache
/compile
/config.guess
/config.h
/config.h.in
/config.log
/config.status
/config.sub
/configure
/depcomp
/install-sh
/libtool
/ltmain.sh
/missing
/src/.deps/
.libs/
/stamp-h1
/gtk-doc.make
/m4/*
!/m4/valac.m4
/GPATH
/GRTAGS
/GSYMS
/GTAGS
/INSTALL
/ChangeLog
/src/matrix-version.h
/src/matrix-enumtypes.[ch]
/src/matrix-marshalers.[ch]
/src/stamp-matrix-marshalers
# Vala related files
/src/Matrix-0.0.vapi
/src/vala-temp
/src/vala-stamp
/src/matrix-glib.h
/src/namespace-info.vala
/src/namespace-info.c
/src/matrix-glib-0.0.pc
/_site/

View File

@ -1 +0,0 @@
Gergely Polonkai <gergely@polonkai.eu>

View File

@ -1,79 +0,0 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our
project and our community a harassment-free experience for everyone,
regardless of age, body size, disability, ethnicity, gender identity
and expression, level of experience, nationality, personal appearance,
race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive
environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual
attention or advances
* Trolling, insulting/derogatory comments, and personal or political
attacks
* Public or private harassment
* Publishing others' private information, such as a physical or
electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in
a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of
acceptable behavior and are expected to take appropriate and fair
corrective action in response to any instances of unacceptable
behavior.
Project maintainers have the right and responsibility to remove, edit,
or reject comments, commits, code, wiki edits, issues, and other
contributions that are not aligned to this Code of Conduct, or to ban
temporarily or permanently any contributor for other behaviors that
they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public
spaces when an individual is representing the project or its
community. Examples of representing a project or community include
using an official project e-mail address, posting via an official
social media account, or acting as an appointed representative at an
online or offline event. Representation of a project may be further
defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior
may be reported by contacting the project team at
gergely@polonkai.eu. All complaints will be reviewed and investigated
and will result in a response that is deemed necessary and appropriate
to the circumstances. The project team is obligated to maintain
confidentiality with regard to the reporter of an incident. Further
details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct
in good faith may face temporary or permanent repercussions as
determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the
[Contributor Covenant][homepage], version 1.4, available at
[http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

View File

@ -1,114 +0,0 @@
# Contributing code to the Matrix GLib SDK
Everyone is welcome to contribute code to this SDK, provided that they
are willing to license their contributions under the same license as
the project itself. We follow a simple 'inbound=outbound' model for
contributions: the act of submitting an 'inbound' contribution means
that the contributor agrees to license the code under the same terms
as the project's overall 'outbound' license - which is the GNU Lesser
General Public License (see COPYING).
## How to contribute
The preferred and easiest way to contribute changes to the Matrix GLib
SDK is to fork the project on GitHub, and then create a pull request
to ask us to pull your changes into our repo
(https://help.github.com/articles/using-pull-requests/)
**The single biggest thing you need to know is: please base your changes on
the develop branch - /not/ master.**
We use the master branch to track the most recent release, so that
folks who blindly clone the repo and automatically check out master
get something that works. Develop is the unstable branch where all the
development actually happens: the workflow is that contributors should
fork the develop branch to make a 'feature' branch for a particular
contribution, and then make a pull request to merge this back into the
matrix.org 'official' develop branch. We use GitHub's pull request
workflow to review the contribution, and either ask you to make any
refinements needed or merge it and make them ourselves. The changes
will then land on master when we next do a release.
## Code style
The projects have a loosely-defined code-style, which is close to
GNOME's with a few differences. Check the source files for a hint.
Please ensure your changes match the cosmetic style of the project,
and **never** mix cosmetic and functional changes in the same commit,
as it makes it horribly hard to review otherwise.
## Attribution
Everyone who contributes anything to this SDK is welcome to be listed in the
AUTHORS file for the project in question. Please feel free to include a
change to AUTHORS in your pull request to list yourself and a short
description of the area(s) you've worked on.
## Sign off
In order to have a concrete record that your contribution is
intentional and you agree to license it under the same terms as the
project's license, we've adopted the same lightweight approach that
the
[Linux Kernel](https://www.kernel.org/doc/Documentation/SubmittingPatches),
[Docker](https://github.com/docker/docker/blob/master/CONTRIBUTING.md),
and many other projects use: the DCO
([Developer Certificate of Origin](http://developercertificate.org/)). This
is a simple declaration that you wrote the contribution or otherwise
have the right to contribute it to the SDK:
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
660 York Street, Suite 102,
San Francisco, CA 94110 USA
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
If you agree to this for your contribution, then all that's needed is
to include the line in your commit or pull request comment:
Signed-off-by: Your Name <your@email.example.org>
using your real name; unfortunately pseudonyms and anonymous
contributions can't be accepted. Git makes this trivial - just use the
`-s` flag when you do `git commit`, having first set `user.name` and
`user.email` git configs (which you should have done anyway :)
## Conclusion
That's it! Similar to Matrix, this SDK is a very open and project as
you might expect given our obsession with open communication. If we're
going to successfully matrix together all the fragmented communication
technologies out there we are reliant on contributions and
collaboration from the community to do so. So please get involved -
and we hope you have as much fun hacking on Matrix as we do!

165
COPYING
View File

@ -1,165 +0,0 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.

7006
Matrix-0.0-MatrixAPI.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,856 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixClient: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomAvatar.html" title="MatrixEventRoomAvatar">
<link rel="next" href="Matrix-0.0-MatrixMessageAudio.html" title="MatrixMessageAudio">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixClient.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomAvatar.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixMessageAudio.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixClient"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixClient.top_of_page"></a>MatrixClient</span></h2>
<p>MatrixClient — Base interface for client communication with a Matrix.org homeserver</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixClient.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-login-with-password" title="matrix_client_login_with_password ()">matrix_client_login_with_password</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-register-with-password" title="matrix_client_register_with_password ()">matrix_client_register_with_password</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-logout" title="matrix_client_logout ()">matrix_client_logout</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-begin-polling" title="matrix_client_begin_polling ()">matrix_client_begin_polling</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-stop-polling" title="matrix_client_stop_polling ()">matrix_client_stop_polling</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-emit-login-finished" title="matrix_client_emit_login_finished ()">matrix_client_emit_login_finished</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-incoming-event" title="matrix_client_incoming_event ()">matrix_client_incoming_event</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-connect-event" title="matrix_client_connect_event ()">matrix_client_connect_event</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="returnvalue">MatrixProfile</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-get-user-profile" title="matrix_client_get_user_profile ()">matrix_client_get_user_profile</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixPresence" title="enum MatrixPresence"><span class="returnvalue">MatrixPresence</span></a>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-get-user-presence" title="matrix_client_get_user_presence ()">matrix_client_get_user_presence</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">MatrixRoom</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-get-room-by-id" title="matrix_client_get_room_by_id ()">matrix_client_get_room_by_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClientEventCallback" title="MatrixClientEventCallback ()">*MatrixClientEventCallback</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixClient.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient">MatrixClient</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClientIface" title="struct MatrixClientIface">MatrixClientIface</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixClient.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixClient.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="matrix-client-login-with-password"></a><h3>matrix_client_login_with_password ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_client_login_with_password (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *username</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *password</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Authenticate with the Matrix.org server with a username and password.</p>
<div class="refsect3">
<a name="id-1.2.11.6.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>username</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the username to login with </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>password</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the password to use </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-client-register-with-password"></a><h3>matrix_client_register_with_password ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_client_register_with_password (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *username</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *password</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Register <em class="parameter"><code>username</code></em>
with the homeserver as a normal user.</p>
<p>Upon success, the user is registered and authenticated.</p>
<p>Implementations must emit the login-finished signal when a response arrives.</p>
<p>This method registers a normal user account. If you want to register a different kind of user, use <a class="link" href="Matrix-0.0-MatrixAPI.html#matrix-api-register-account" title="matrix_api_register_account ()"><code class="function">matrix_api_register_account()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.11.6.3.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>username</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the username to register. If omitted, the server will generate one </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>password</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the password to use with the registration </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-client-logout"></a><h3>matrix_client_logout ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_client_logout (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Logout from the homeserver. As Matrix.org doesnt have such a concept, this cancels all ongoing requests and clears the authentication data (e.g. tokens).</p>
<div class="refsect3">
<a name="id-1.2.11.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-client-begin-polling"></a><h3>matrix_client_begin_polling ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_client_begin_polling (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Begin polling the event stream.</p>
<div class="refsect3">
<a name="id-1.2.11.6.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-client-stop-polling"></a><h3>matrix_client_stop_polling ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_client_stop_polling (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> cancel_ongoing</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Stop polling the event stream. If <em class="parameter"><code>param</code></em>
cancel_ongoing is </p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="normal">true</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p>
, ongoing requests will be cancelled, too.</p>
<div class="refsect3">
<a name="id-1.2.11.6.6.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancel_ongoing</p></td>
<td class="parameter_description">
<p>  . </p>
<p>if </p>
<p>
</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="normal">true</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p>
</p>
<p>
, ongoing requests will be cancelled, too </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-client-emit-login-finished"></a><h3>matrix_client_emit_login_finished ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_client_emit_login_finished (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> success</code></em>);</pre>
<p>Convenience function to emits the login-finished signal.</p>
<div class="refsect3">
<a name="id-1.2.11.6.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>success</p></td>
<td class="parameter_description">
<p>  . </p>
<p>set to </p>
<p>
</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="normal">true</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p>
</p>
<p>
if login was successful </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-client-incoming-event"></a><h3>matrix_client_incoming_event ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_client_incoming_event (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *room_id</code></em>,
<em class="parameter"><code><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *raw_event</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a> *matrix_event</code></em>);</pre>
<p>Emits the <span class="type">“event”</span> signal.</p>
<div class="refsect3">
<a name="id-1.2.11.6.8.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>room_id</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the room this event is associated with </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>raw_event</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the raw event </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>matrix_event</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the event as a Matrix.Event </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-client-connect-event"></a><h3>matrix_client_connect_event ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_client_connect_event (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">GType</span> event_gtype</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClientEventCallback" title="MatrixClientEventCallback ()"><span class="type">MatrixClientEventCallback</span></a> event_callback</code></em>,
<em class="parameter"><code><span class="type">void</span> *event_callback_target</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> event_callback_target_destroy_notify</code></em>);</pre>
<p>Connect a handler for events. If <em class="parameter"><code>param</code></em>
event_gtype is Matrix.Event, all events will be sent to the callback function, otherwise only events that match the specified event type.</p>
<p>If <em class="parameter"><code>event_gtype</code></em> is not derived from Matrix.Event, <em class="parameter"><code>param</code></em> callback wont get connected.</p>
<div class="refsect3">
<a name="id-1.2.11.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>event_gtype</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the <span class="type">GType</span> of a Matrix.Event derivative </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>event_callback</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the allback function to connect </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>event_callback_target</p></td>
<td class="parameter_description"><p> user data to pass to <em class="parameter"><code>event_callback</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>event_callback_target_destroy_notify</p></td>
<td class="parameter_description"><p> function to call when <em class="parameter"><code>event_callback_target</code></em>
is no longer needed. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-client-get-user-profile"></a><h3>matrix_client_get_user_profile ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="returnvalue">MatrixProfile</span></a> *
matrix_client_get_user_profile (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *user_id</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *room_id</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Get the profile of a user specified by <em class="parameter"><code>param</code></em>
user_id. If <em class="parameter"><code>param</code></em>
room_id is not null, return the room-specific profile. If the user's profile is not cached yet, Matrix.Error.UNAVAILABLE is thrown.</p>
<div class="refsect3">
<a name="id-1.2.11.6.10.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_id</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>room_id</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-client-get-user-presence"></a><h3>matrix_client_get_user_presence ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixPresence" title="enum MatrixPresence"><span class="returnvalue">MatrixPresence</span></a>
matrix_client_get_user_presence (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *user_id</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *room_id</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Get the presence state of a user specified by <em class="parameter"><code>param</code></em>
user_id. If <em class="parameter"><code>param</code></em>
room_id is null, return the room specific presence state. If the user's presence state is not cached yet, Matrix.Error.UNAVAILABLE is thrown.</p>
<div class="refsect3">
<a name="id-1.2.11.6.11.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_id</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>room_id</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-client-get-room-by-id"></a><h3>matrix_client_get_room_by_id ()</h3>
<pre class="programlisting"><span class="returnvalue">MatrixRoom</span> *
matrix_client_get_room_by_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *room_id</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Get a room object by the room ID specified in <em class="parameter"><code>param</code></em>
room_id. If room data is not cached yet, Matrix.Error.UNAVAILABLE is thrown.</p>
<div class="refsect3">
<a name="id-1.2.11.6.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>room_id</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the ID of a room </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.11.6.12.6"></a><h4>Returns</h4>
<p>a Matrix.Room object </p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="MatrixClientEventCallback"></a><h3>MatrixClientEventCallback ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*MatrixClientEventCallback<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> *client</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *room_id</code></em>,
<em class="parameter"><code><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *raw_event</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a> *matrix_event</code></em>,
<em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
<p>Callback function delegate for the event signal.</p>
<div class="refsect3">
<a name="id-1.2.11.6.13.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>room_id</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the room the event associated with </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>raw_event</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the event as a raw JSON object </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>matrix_event</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the event as a Matrix.Event object </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p> data to pass to the delegate function. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixClient.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixClient"></a><h3>MatrixClient</h3>
<pre class="programlisting">typedef struct _MatrixClient MatrixClient;</pre>
<p>Base interface for client communication with a Matrix.org homeserver</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixClientIface"></a><h3>struct MatrixClientIface</h3>
<pre class="programlisting">struct MatrixClientIface {
GTypeInterface parent_iface;
void (*login_with_password) (MatrixClient* self, const gchar* username, const gchar* password, GError** error);
void (*register_with_password) (MatrixClient* self, const gchar* username, const gchar* password, GError** error);
void (*logout) (MatrixClient* self, GError** error);
void (*begin_polling) (MatrixClient* self, GError** error);
void (*stop_polling) (MatrixClient* self, gboolean cancel_ongoing, GError** error);
MatrixProfile* (*get_user_profile) (MatrixClient* self, const gchar* user_id, const gchar* room_id, GError** error);
MatrixPresence (*get_user_presence) (MatrixClient* self, const gchar* user_id, const gchar* room_id, GError** error);
MatrixRoom* (*get_room_by_id) (MatrixClient* self, const gchar* room_id, GError** error);
void (*login_finished) (MatrixClient* self, gboolean success);
void (*event) (MatrixClient* self, const gchar* room_id, JsonNode* raw_event, MatrixEventBase* matrix_event);
};
</pre>
<p>Interface for creating <a class="link" href="Matrix-0.0-MatrixClient.html#MatrixClient" title="MatrixClient"><span class="type">MatrixClient</span></a> implementations.</p>
<div class="refsect3">
<a name="id-1.2.11.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><span class="type">GTypeInterface</span> <em class="structfield"><code><a name="MatrixClientIface.parent-iface"></a>parent_iface</code></em>;</p></td>
<td class="struct_member_description"><p>the parent interface structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixClientIface.login-with-password"></a>login_with_password</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-login-with-password" title="matrix_client_login_with_password ()"><code class="function">matrix_client_login_with_password()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixClientIface.register-with-password"></a>register_with_password</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-register-with-password" title="matrix_client_register_with_password ()"><code class="function">matrix_client_register_with_password()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixClientIface.logout"></a>logout</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-logout" title="matrix_client_logout ()"><code class="function">matrix_client_logout()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixClientIface.begin-polling"></a>begin_polling</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-begin-polling" title="matrix_client_begin_polling ()"><code class="function">matrix_client_begin_polling()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixClientIface.stop-polling"></a>stop_polling</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-stop-polling" title="matrix_client_stop_polling ()"><code class="function">matrix_client_stop_polling()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixClientIface.get-user-profile"></a>get_user_profile</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-get-user-profile" title="matrix_client_get_user_profile ()"><code class="function">matrix_client_get_user_profile()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixClientIface.get-user-presence"></a>get_user_presence</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-get-user-presence" title="matrix_client_get_user_presence ()"><code class="function">matrix_client_get_user_presence()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixClientIface.get-room-by-id"></a>get_room_by_id</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixClient.html#matrix-client-get-room-by-id" title="matrix_client_get_room_by_id ()"><code class="function">matrix_client_get_room_by_id()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixClientIface.login-finished"></a>login_finished</code></em> ()</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixClientIface.event"></a>event</code></em> ()</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,482 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventBase: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixMessageFile.html" title="MatrixMessageFile">
<link rel="next" href="Matrix-0.0-MatrixEventTag.html" title="MatrixEventTag">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventBase.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixMessageFile.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventTag.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventBase"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventBase.top_of_page"></a>MatrixEventBase</span></h2>
<p>MatrixEventBase — Base class for Matrix events.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventBase.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">GType</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventBase.html#matrix-event-get-handler" title="matrix_event_get_handler ()">matrix_event_get_handler</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventBase.html#matrix-event-register-type" title="matrix_event_register_type ()">matrix_event_register_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventBase.html#matrix-event-unregister-type" title="matrix_event_unregister_type ()">matrix_event_unregister_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventBase.html#MATRIX-EVENT-TYPE-BASE:CAPS" title="MATRIX_EVENT_TYPE_BASE">MATRIX_EVENT_TYPE_BASE</a></td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventBase.html#matrix-event-base-from-json" title="matrix_event_base_from_json ()">matrix_event_base_from_json</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventBase.html#matrix-event-base-to-json" title="matrix_event_base_to_json ()">matrix_event_base_to_json</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventBase.html#matrix-event-base-get-event-type" title="matrix_event_base_get_event_type ()">matrix_event_base_get_event_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventBase.html#matrix-event-base-get-json" title="matrix_event_base_get_json ()">matrix_event_base_get_json</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="returnvalue">MatrixEventBase</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventBase.html#matrix-event-base-new-from-json" title="matrix_event_base_new_from_json ()">matrix_event_base_new_from_json</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventBase.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase">MatrixEventBase</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBaseClass" title="struct MatrixEventBaseClass">MatrixEventBaseClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventBase.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventBase.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="matrix-event-get-handler"></a><h3>matrix_event_get_handler ()</h3>
<pre class="programlisting"><span class="returnvalue">GType</span> *
matrix_event_get_handler (<em class="parameter"><code>const <span class="type">gchar</span> *event_type</code></em>);</pre>
<p>Get the <span class="type">GType</span> of the class that is registered to handle events with type <em class="parameter"><code>param</code></em>
event_type.</p>
<div class="refsect3">
<a name="id-1.2.27.6.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the (null) instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>event_type</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the event type to look up </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.27.6.2.6"></a><h4>Returns</h4>
<p>a <span class="type">GType</span> or Matrix.Event if no handler is registered </p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-register-type"></a><h3>matrix_event_register_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_register_type (<em class="parameter"><code>const <span class="type">gchar</span> *event_type</code></em>,
<em class="parameter"><code><span class="type">GType</span> event_gtype</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Registers <em class="parameter"><code>param</code></em>
event_type to be handled by the type <em class="parameter"><code>param</code></em>
event_gtype.</p>
<div class="refsect3">
<a name="id-1.2.27.6.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the (null) instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>event_type</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the type of the event </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>event_gtype</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the <span class="type">GType</span> of the events handler </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-unregister-type"></a><h3>matrix_event_unregister_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_unregister_type (<em class="parameter"><code>const <span class="type">gchar</span> *event_type</code></em>);</pre>
<p>Unregister <em class="parameter"><code>param</code></em>
event_type.</p>
<div class="refsect3">
<a name="id-1.2.27.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the (null) instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>event_type</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the event type to remove </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-BASE:CAPS"></a><h3>MATRIX_EVENT_TYPE_BASE</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_BASE (matrix_event_base_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-base-from-json"></a><h3>matrix_event_base_from_json ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_base_from_json (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a> *self</code></em>,
<em class="parameter"><code><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *json_data</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Subclasses should implement this function to initialize themselves from JSON data.</p>
<div class="refsect3">
<a name="id-1.2.27.6.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>json_data</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-base-to-json"></a><h3>matrix_event_base_to_json ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_base_to_json (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a> *self</code></em>,
<em class="parameter"><code><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *json_data</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Subclasses should implement this to export their data to JSON.</p>
<div class="refsect3">
<a name="id-1.2.27.6.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>json_data</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-base-get-event-type"></a><h3>matrix_event_base_get_event_type ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_base_get_event_type (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"event-type"</span> property.</p>
<p>The type of the event. It should be namespaced similar to the Java package naming conventions, e.g. <code class="literal">com.example.subdomain.event.type</code>. It cannot be changed after object initialization.</p>
<div class="refsect3">
<a name="id-1.2.27.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.27.6.8.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"event-type"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-base-get-json"></a><h3>matrix_event_base_get_json ()</h3>
<pre class="programlisting"><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
matrix_event_base_get_json (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"json"</span> property.</p>
<p>The event as a JSON node.</p>
<div class="refsect3">
<a name="id-1.2.27.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="type">MatrixEventBase</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.27.6.9.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"json"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-base-new-from-json"></a><h3>matrix_event_base_new_from_json ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBase" title="struct MatrixEventBase"><span class="returnvalue">MatrixEventBase</span></a> *
matrix_event_base_new_from_json (<em class="parameter"><code><span class="type">gchar</span> *event_type</code></em>,
<em class="parameter"><code><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *json_data</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.27.6.10.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>event_type</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>json_data</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventBase.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventBase"></a><h3>struct MatrixEventBase</h3>
<pre class="programlisting">struct MatrixEventBase {
GObject parent_instance;
MatrixEventBasePrivate * priv;
gchar* _event_type;
};
</pre>
<p>Base class for Matrix events.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventBaseClass"></a><h3>struct MatrixEventBaseClass</h3>
<pre class="programlisting">struct MatrixEventBaseClass {
GObjectClass parent_class;
void (*from_json) (MatrixEventBase* self, JsonNode* json_data, GError** error);
void (*to_json) (MatrixEventBase* self, JsonNode* json_data, GError** error);
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventBase.html#MATRIX-EVENT-TYPE-BASE:CAPS" title="MATRIX_EVENT_TYPE_BASE"><code class="literal">MATRIX_EVENT_TYPE_BASE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.27.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><span class="type">GObjectClass</span> <em class="structfield"><code><a name="MatrixEventBaseClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixEventBaseClass.from-json"></a>from_json</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixEventBase.html#matrix-event-base-from-json" title="matrix_event_base_from_json ()"><code class="function">matrix_event_base_from_json()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixEventBaseClass.to-json"></a>to_json</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixEventBase.html#matrix-event-base-to-json" title="matrix_event_base_to_json ()"><code class="function">matrix_event_base_to_json()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,269 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventCall: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomGuestAccess.html" title="MatrixEventRoomGuestAccess">
<link rel="next" href="Matrix-0.0-MatrixEventRoomJoinRules.html" title="MatrixEventRoomJoinRules">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventCall.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomGuestAccess.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomJoinRules.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventCall"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventCall.top_of_page"></a>MatrixEventCall</span></h2>
<p>MatrixEventCall — Base class for m.call.* events.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCall.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCall.html#MATRIX-EVENT-TYPE-CALL:CAPS" title="MATRIX_EVENT_TYPE_CALL">MATRIX_EVENT_TYPE_CALL</a></td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCall.html#matrix-event-call-get-call-id" title="matrix_event_call_get_call_id ()">matrix_event_call_get_call_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCall.html#matrix-event-call-set-call-id" title="matrix_event_call_set_call_id ()">matrix_event_call_set_call_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCall.html#matrix-event-call-get-version" title="matrix_event_call_get_version ()">matrix_event_call_get_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCall.html#matrix-event-call-set-version" title="matrix_event_call_set_version ()">matrix_event_call_set_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCall.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCall" title="struct MatrixEventCall">MatrixEventCall</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCallClass" title="struct MatrixEventCallClass">MatrixEventCallClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCall.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCall.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-CALL:CAPS"></a><h3>MATRIX_EVENT_TYPE_CALL</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_CALL (matrix_event_call_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCall" title="struct MatrixEventCall"><span class="type">MatrixEventCall</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-get-call-id"></a><h3>matrix_event_call_get_call_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_call_get_call_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCall" title="struct MatrixEventCall"><span class="type">MatrixEventCall</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"call-id"</span> property.</p>
<p>The ID of the call this event relates to.</p>
<div class="refsect3">
<a name="id-1.2.24.6.3.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCall" title="struct MatrixEventCall"><span class="type">MatrixEventCall</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.24.6.3.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"call-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-set-call-id"></a><h3>matrix_event_call_set_call_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_set_call_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCall" title="struct MatrixEventCall"><span class="type">MatrixEventCall</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"call-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The ID of the call this event relates to.</p>
<div class="refsect3">
<a name="id-1.2.24.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCall" title="struct MatrixEventCall"><span class="type">MatrixEventCall</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"call-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-get-version"></a><h3>matrix_event_call_get_version ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
matrix_event_call_get_version (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCall" title="struct MatrixEventCall"><span class="type">MatrixEventCall</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"version"</span> property.</p>
<p>The version of the VoIP specification this message adheres to.</p>
<div class="refsect3">
<a name="id-1.2.24.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCall" title="struct MatrixEventCall"><span class="type">MatrixEventCall</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.24.6.5.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"version"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-set-version"></a><h3>matrix_event_call_set_version ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_set_version (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCall" title="struct MatrixEventCall"><span class="type">MatrixEventCall</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"version"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The version of the VoIP specification this message adheres to.</p>
<div class="refsect3">
<a name="id-1.2.24.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCall" title="struct MatrixEventCall"><span class="type">MatrixEventCall</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"version"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCall.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventCall"></a><h3>struct MatrixEventCall</h3>
<pre class="programlisting">struct MatrixEventCall {
MatrixEventRoom parent_instance;
MatrixEventCallPrivate * priv;
};
</pre>
<p>Base class for m.call.* events.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventCallClass"></a><h3>struct MatrixEventCallClass</h3>
<pre class="programlisting">struct MatrixEventCallClass {
MatrixEventRoomClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventCall.html#MATRIX-EVENT-TYPE-CALL:CAPS" title="MATRIX_EVENT_TYPE_CALL"><code class="literal">MATRIX_EVENT_TYPE_CALL</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.24.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoomClass" title="struct MatrixEventRoomClass"><span class="type">MatrixEventRoomClass</span></a> <em class="structfield"><code><a name="MatrixEventCallClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,287 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventCallAnswer: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventTag.html" title="MatrixEventTag">
<link rel="next" href="Matrix-0.0-MatrixMessageImage.html" title="MatrixMessageImage">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventCallAnswer.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventTag.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixMessageImage.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventCallAnswer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventCallAnswer.top_of_page"></a>MatrixEventCallAnswer</span></h2>
<p>MatrixEventCallAnswer — This event is sent by the callee when they wish to answer the call.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallAnswer.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MATRIX-EVENT-TYPE-CALL-ANSWER:CAPS" title="MATRIX_EVENT_TYPE_CALL_ANSWER">MATRIX_EVENT_TYPE_CALL_ANSWER</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="returnvalue">MatrixEventCallAnswer</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-new" title="matrix_event_call_answer_new ()">matrix_event_call_answer_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixCallAnswerType" title="enum MatrixCallAnswerType"><span class="returnvalue">MatrixCallAnswerType</span></a>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-get-answer-type" title="matrix_event_call_answer_get_answer_type ()">matrix_event_call_answer_get_answer_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-set-answer-type" title="matrix_event_call_answer_set_answer_type ()">matrix_event_call_answer_set_answer_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-get-answer-sdp" title="matrix_event_call_answer_get_answer_sdp ()">matrix_event_call_answer_get_answer_sdp</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-set-answer-sdp" title="matrix_event_call_answer_set_answer_sdp ()">matrix_event_call_answer_set_answer_sdp</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallAnswer.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer">MatrixEventCallAnswer</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswerClass" title="struct MatrixEventCallAnswerClass">MatrixEventCallAnswerClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallAnswer.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallAnswer.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-CALL-ANSWER:CAPS"></a><h3>MATRIX_EVENT_TYPE_CALL_ANSWER</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_CALL_ANSWER (matrix_event_call_answer_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="type">MatrixEventCallAnswer</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-answer-new"></a><h3>matrix_event_call_answer_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="returnvalue">MatrixEventCallAnswer</span></a> *
matrix_event_call_answer_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-answer-get-answer-type"></a><h3>matrix_event_call_answer_get_answer_type ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixCallAnswerType" title="enum MatrixCallAnswerType"><span class="returnvalue">MatrixCallAnswerType</span></a>
matrix_event_call_answer_get_answer_type
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="type">MatrixEventCallAnswer</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"answer-type"</span> property.</p>
<p>The type of session description.</p>
<div class="refsect3">
<a name="id-1.2.29.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="type">MatrixEventCallAnswer</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.29.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"answer-type"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-answer-set-answer-type"></a><h3>matrix_event_call_answer_set_answer_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_answer_set_answer_type
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="type">MatrixEventCallAnswer</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixCallAnswerType" title="enum MatrixCallAnswerType"><span class="type">MatrixCallAnswerType</span></a> value</code></em>);</pre>
<p>Set the value of the <span class="type">"answer-type"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The type of session description.</p>
<div class="refsect3">
<a name="id-1.2.29.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="type">MatrixEventCallAnswer</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"answer-type"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-answer-get-answer-sdp"></a><h3>matrix_event_call_answer_get_answer_sdp ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_call_answer_get_answer_sdp
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="type">MatrixEventCallAnswer</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"answer-sdp"</span> property.</p>
<p>The SDP text of the session description.</p>
<div class="refsect3">
<a name="id-1.2.29.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="type">MatrixEventCallAnswer</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.29.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"answer-sdp"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-answer-set-answer-sdp"></a><h3>matrix_event_call_answer_set_answer_sdp ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_answer_set_answer_sdp
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="type">MatrixEventCallAnswer</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"answer-sdp"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The SDP text of the session description.</p>
<div class="refsect3">
<a name="id-1.2.29.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer" title="struct MatrixEventCallAnswer"><span class="type">MatrixEventCallAnswer</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"answer-sdp"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallAnswer.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventCallAnswer"></a><h3>struct MatrixEventCallAnswer</h3>
<pre class="programlisting">struct MatrixEventCallAnswer {
MatrixEventCall parent_instance;
MatrixEventCallAnswerPrivate * priv;
};
</pre>
<p>This event is sent by the callee when they wish to answer the call.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventCallAnswerClass"></a><h3>struct MatrixEventCallAnswerClass</h3>
<pre class="programlisting">struct MatrixEventCallAnswerClass {
MatrixEventCallClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventCallAnswer.html#MATRIX-EVENT-TYPE-CALL-ANSWER:CAPS" title="MATRIX_EVENT_TYPE_CALL_ANSWER"><code class="literal">MATRIX_EVENT_TYPE_CALL_ANSWER</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.29.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCallClass" title="struct MatrixEventCallClass"><span class="type">MatrixEventCallClass</span></a> <em class="structfield"><code><a name="MatrixEventCallAnswerClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,369 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventCallCandidates: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomAliases.html" title="MatrixEventRoomAliases">
<link rel="next" href="Matrix-0.0-MatrixAPI.html" title="MatrixAPI">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventCallCandidates.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomAliases.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixAPI.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventCallCandidates"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventCallCandidates.top_of_page"></a>MatrixEventCallCandidates</span></h2>
<p>MatrixEventCallCandidates — This event is sent by callers after sending an invite and by the callee after answering. Its purpose is to give the other party additional ICE candidates to try using to communicate.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallCandidates.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MATRIX-EVENT-TYPE-CALL-CANDIDATES:CAPS" title="MATRIX_EVENT_TYPE_CALL_CANDIDATES">MATRIX_EVENT_TYPE_CALL_CANDIDATES</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidates" title="struct MatrixEventCallCandidates"><span class="returnvalue">MatrixEventCallCandidates</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-new" title="matrix_event_call_candidates_new ()">matrix_event_call_candidates_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate"><span class="returnvalue">MatrixEventCallCandidatesCandidate</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-get-candidates" title="matrix_event_call_candidates_get_candidates ()">matrix_event_call_candidates_get_candidates</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-set-candidates" title="matrix_event_call_candidates_set_candidates ()">matrix_event_call_candidates_set_candidates</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate"><span class="returnvalue">MatrixEventCallCandidatesCandidate</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-dup" title="matrix_event_call_candidates_candidate_dup ()">matrix_event_call_candidates_candidate_dup</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-free" title="matrix_event_call_candidates_candidate_free ()">matrix_event_call_candidates_candidate_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-copy" title="matrix_event_call_candidates_candidate_copy ()">matrix_event_call_candidates_candidate_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-destroy" title="matrix_event_call_candidates_candidate_destroy ()">matrix_event_call_candidates_candidate_destroy</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallCandidates.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate">MatrixEventCallCandidatesCandidate</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidates" title="struct MatrixEventCallCandidates">MatrixEventCallCandidates</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesClass" title="struct MatrixEventCallCandidatesClass">MatrixEventCallCandidatesClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallCandidates.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallCandidates.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-CALL-CANDIDATES:CAPS"></a><h3>MATRIX_EVENT_TYPE_CALL_CANDIDATES</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_CALL_CANDIDATES (matrix_event_call_candidates_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidates" title="struct MatrixEventCallCandidates"><span class="type">MatrixEventCallCandidates</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-candidates-new"></a><h3>matrix_event_call_candidates_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidates" title="struct MatrixEventCallCandidates"><span class="returnvalue">MatrixEventCallCandidates</span></a> *
matrix_event_call_candidates_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-candidates-get-candidates"></a><h3>matrix_event_call_candidates_get_candidates ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate"><span class="returnvalue">MatrixEventCallCandidatesCandidate</span></a> *
matrix_event_call_candidates_get_candidates
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidates" title="struct MatrixEventCallCandidates"><span class="type">MatrixEventCallCandidates</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">int</span> *result_length1</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"candidates"</span> property.</p>
<p>The list of candidates.</p>
<div class="refsect3">
<a name="id-1.2.36.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidates" title="struct MatrixEventCallCandidates"><span class="type">MatrixEventCallCandidates</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.36.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"candidates"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-candidates-set-candidates"></a><h3>matrix_event_call_candidates_set_candidates ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_candidates_set_candidates
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidates" title="struct MatrixEventCallCandidates"><span class="type">MatrixEventCallCandidates</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate"><span class="type">MatrixEventCallCandidatesCandidate</span></a> *value</code></em>,
<em class="parameter"><code><span class="type">int</span> value_length1</code></em>);</pre>
<p>Set the value of the <span class="type">"candidates"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The list of candidates.</p>
<div class="refsect3">
<a name="id-1.2.36.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidates" title="struct MatrixEventCallCandidates"><span class="type">MatrixEventCallCandidates</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"candidates"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-candidates-candidate-dup"></a><h3>matrix_event_call_candidates_candidate_dup ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate"><span class="returnvalue">MatrixEventCallCandidatesCandidate</span></a> *
matrix_event_call_candidates_candidate_dup
(<em class="parameter"><code>const <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate"><span class="type">MatrixEventCallCandidatesCandidate</span></a> *self</code></em>);</pre>
<p>Creates a copy of self.</p>
<p><span class="emphasis"><em>See also</em></span>: <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-copy" title="matrix_event_call_candidates_candidate_copy ()"><code class="function">matrix_event_call_candidates_candidate_copy()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-destroy" title="matrix_event_call_candidates_candidate_destroy ()"><code class="function">matrix_event_call_candidates_candidate_destroy()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-free" title="matrix_event_call_candidates_candidate_free ()"><code class="function">matrix_event_call_candidates_candidate_free()</code></a></p>
<div class="refsect3">
<a name="id-1.2.36.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the instance to duplicate</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.36.6.6.7"></a><h4>Returns</h4>
<p> a copy of <em class="parameter"><code>self</code></em>
, free with <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-free" title="matrix_event_call_candidates_candidate_free ()"><code class="function">matrix_event_call_candidates_candidate_free()</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-candidates-candidate-free"></a><h3>matrix_event_call_candidates_candidate_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_candidates_candidate_free
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate"><span class="type">MatrixEventCallCandidatesCandidate</span></a> *self</code></em>);</pre>
<p>Frees the heap-allocated struct.</p>
<p><span class="emphasis"><em>See also</em></span>: <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-dup" title="matrix_event_call_candidates_candidate_dup ()"><code class="function">matrix_event_call_candidates_candidate_dup()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-copy" title="matrix_event_call_candidates_candidate_copy ()"><code class="function">matrix_event_call_candidates_candidate_copy()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-destroy" title="matrix_event_call_candidates_candidate_destroy ()"><code class="function">matrix_event_call_candidates_candidate_destroy()</code></a></p>
<div class="refsect3">
<a name="id-1.2.36.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the struct to free</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-candidates-candidate-copy"></a><h3>matrix_event_call_candidates_candidate_copy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_candidates_candidate_copy
(<em class="parameter"><code>const <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate"><span class="type">MatrixEventCallCandidatesCandidate</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate"><span class="type">MatrixEventCallCandidatesCandidate</span></a> *dest</code></em>);</pre>
<p>Creates a copy of self.</p>
<p><span class="emphasis"><em>See also</em></span>: <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-dup" title="matrix_event_call_candidates_candidate_dup ()"><code class="function">matrix_event_call_candidates_candidate_dup()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-destroy" title="matrix_event_call_candidates_candidate_destroy ()"><code class="function">matrix_event_call_candidates_candidate_destroy()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-free" title="matrix_event_call_candidates_candidate_free ()"><code class="function">matrix_event_call_candidates_candidate_free()</code></a></p>
<div class="refsect3">
<a name="id-1.2.36.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the struct to copy</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>a unused struct. Use <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-destroy" title="matrix_event_call_candidates_candidate_destroy ()"><code class="function">matrix_event_call_candidates_candidate_destroy()</code></a> to free the content.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-candidates-candidate-destroy"></a><h3>matrix_event_call_candidates_candidate_destroy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_candidates_candidate_destroy
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate" title="struct MatrixEventCallCandidatesCandidate"><span class="type">MatrixEventCallCandidatesCandidate</span></a> *self</code></em>);</pre>
<p>Frees the content of the struct pointed by <em class="parameter"><code>self</code></em>
.</p>
<p><span class="emphasis"><em>See also</em></span>: <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-dup" title="matrix_event_call_candidates_candidate_dup ()"><code class="function">matrix_event_call_candidates_candidate_dup()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-copy" title="matrix_event_call_candidates_candidate_copy ()"><code class="function">matrix_event_call_candidates_candidate_copy()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-free" title="matrix_event_call_candidates_candidate_free ()"><code class="function">matrix_event_call_candidates_candidate_free()</code></a></p>
<div class="refsect3">
<a name="id-1.2.36.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the struct to destroy</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallCandidates.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventCallCandidatesCandidate"></a><h3>struct MatrixEventCallCandidatesCandidate</h3>
<pre class="programlisting">struct MatrixEventCallCandidatesCandidate {
gchar* sdp_mid;
gint* sdp_line_index;
gchar* candidate;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventCallCandidates"></a><h3>struct MatrixEventCallCandidates</h3>
<pre class="programlisting">struct MatrixEventCallCandidates {
MatrixEventCall parent_instance;
MatrixEventCallCandidatesPrivate * priv;
};
</pre>
<p>This event is sent by callers after sending an invite and by the callee after answering. Its purpose is to give the other party additional ICE candidates to try using to communicate.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventCallCandidatesClass"></a><h3>struct MatrixEventCallCandidatesClass</h3>
<pre class="programlisting">struct MatrixEventCallCandidatesClass {
MatrixEventCallClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventCallCandidates.html#MATRIX-EVENT-TYPE-CALL-CANDIDATES:CAPS" title="MATRIX_EVENT_TYPE_CALL_CANDIDATES"><code class="literal">MATRIX_EVENT_TYPE_CALL_CANDIDATES</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.36.7.4.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCallClass" title="struct MatrixEventCallClass"><span class="type">MatrixEventCallClass</span></a> <em class="structfield"><code><a name="MatrixEventCallCandidatesClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,134 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventCallHangup: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixMessageImage.html" title="MatrixMessageImage">
<link rel="next" href="Matrix-0.0-MatrixEventRoomRedaction.html" title="MatrixEventRoomRedaction">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventCallHangup.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixMessageImage.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomRedaction.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventCallHangup"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventCallHangup.top_of_page"></a>MatrixEventCallHangup</span></h2>
<p>MatrixEventCallHangup — Sent by either party to signal their termination of the call. This can be sent either once the call has has been established or before to abort the call.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallHangup.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallHangup.html#MATRIX-EVENT-TYPE-CALL-HANGUP:CAPS" title="MATRIX_EVENT_TYPE_CALL_HANGUP">MATRIX_EVENT_TYPE_CALL_HANGUP</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventCallHangup.html#MatrixEventCallHangup" title="struct MatrixEventCallHangup"><span class="returnvalue">MatrixEventCallHangup</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallHangup.html#matrix-event-call-hangup-new" title="matrix_event_call_hangup_new ()">matrix_event_call_hangup_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallHangup.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallHangup.html#MatrixEventCallHangup" title="struct MatrixEventCallHangup">MatrixEventCallHangup</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallHangup.html#MatrixEventCallHangupClass" title="struct MatrixEventCallHangupClass">MatrixEventCallHangupClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallHangup.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallHangup.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-CALL-HANGUP:CAPS"></a><h3>MATRIX_EVENT_TYPE_CALL_HANGUP</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_CALL_HANGUP (matrix_event_call_hangup_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventCallHangup.html#MatrixEventCallHangup" title="struct MatrixEventCallHangup"><span class="type">MatrixEventCallHangup</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-hangup-new"></a><h3>matrix_event_call_hangup_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventCallHangup.html#MatrixEventCallHangup" title="struct MatrixEventCallHangup"><span class="returnvalue">MatrixEventCallHangup</span></a> *
matrix_event_call_hangup_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallHangup.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventCallHangup"></a><h3>struct MatrixEventCallHangup</h3>
<pre class="programlisting">struct MatrixEventCallHangup {
MatrixEventCall parent_instance;
MatrixEventCallHangupPrivate * priv;
};
</pre>
<p>Sent by either party to signal their termination of the call. This can be sent either once the call has has been established or before to abort the call.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventCallHangupClass"></a><h3>struct MatrixEventCallHangupClass</h3>
<pre class="programlisting">struct MatrixEventCallHangupClass {
MatrixEventCallClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventCallHangup.html#MATRIX-EVENT-TYPE-CALL-HANGUP:CAPS" title="MATRIX_EVENT_TYPE_CALL_HANGUP"><code class="literal">MATRIX_EVENT_TYPE_CALL_HANGUP</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.31.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCallClass" title="struct MatrixEventCallClass"><span class="type">MatrixEventCallClass</span></a> <em class="structfield"><code><a name="MatrixEventCallHangupClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,360 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventCallInvite: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixHTTPAPI.html" title="MatrixHTTPAPI">
<link rel="next" href="Matrix-0.0-MatrixEventRoomName.html" title="MatrixEventRoomName">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventCallInvite.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixHTTPAPI.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomName.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventCallInvite"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventCallInvite.top_of_page"></a>MatrixEventCallInvite</span></h2>
<p>MatrixEventCallInvite — This event is sent by the caller when they wish to establish a call.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallInvite.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MATRIX-EVENT-TYPE-CALL-INVITE:CAPS" title="MATRIX_EVENT_TYPE_CALL_INVITE">MATRIX_EVENT_TYPE_CALL_INVITE</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="returnvalue">MatrixEventCallInvite</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-new" title="matrix_event_call_invite_new ()">matrix_event_call_invite_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixCallOfferType" title="enum MatrixCallOfferType"><span class="returnvalue">MatrixCallOfferType</span></a>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-get-offer-type" title="matrix_event_call_invite_get_offer_type ()">matrix_event_call_invite_get_offer_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-set-offer-type" title="matrix_event_call_invite_set_offer_type ()">matrix_event_call_invite_set_offer_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-get-sdp" title="matrix_event_call_invite_get_sdp ()">matrix_event_call_invite_get_sdp</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-set-sdp" title="matrix_event_call_invite_set_sdp ()">matrix_event_call_invite_set_sdp</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-get-lifetime" title="matrix_event_call_invite_get_lifetime ()">matrix_event_call_invite_get_lifetime</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-set-lifetime" title="matrix_event_call_invite_set_lifetime ()">matrix_event_call_invite_set_lifetime</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallInvite.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite">MatrixEventCallInvite</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInviteClass" title="struct MatrixEventCallInviteClass">MatrixEventCallInviteClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallInvite.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallInvite.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-CALL-INVITE:CAPS"></a><h3>MATRIX_EVENT_TYPE_CALL_INVITE</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_CALL_INVITE (matrix_event_call_invite_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-invite-new"></a><h3>matrix_event_call_invite_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="returnvalue">MatrixEventCallInvite</span></a> *
matrix_event_call_invite_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-invite-get-offer-type"></a><h3>matrix_event_call_invite_get_offer_type ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixCallOfferType" title="enum MatrixCallOfferType"><span class="returnvalue">MatrixCallOfferType</span></a>
matrix_event_call_invite_get_offer_type
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"offer-type"</span> property.</p>
<p>The type of session description.</p>
<div class="refsect3">
<a name="id-1.2.5.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.5.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"offer-type"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-invite-set-offer-type"></a><h3>matrix_event_call_invite_set_offer_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_invite_set_offer_type
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixCallOfferType" title="enum MatrixCallOfferType"><span class="type">MatrixCallOfferType</span></a> value</code></em>);</pre>
<p>Set the value of the <span class="type">"offer-type"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The type of session description.</p>
<div class="refsect3">
<a name="id-1.2.5.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"offer-type"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-invite-get-sdp"></a><h3>matrix_event_call_invite_get_sdp ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_call_invite_get_sdp (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"sdp"</span> property.</p>
<p>The SDP text of the session description.</p>
<div class="refsect3">
<a name="id-1.2.5.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.5.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"sdp"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-invite-set-sdp"></a><h3>matrix_event_call_invite_set_sdp ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_invite_set_sdp (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"sdp"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The SDP text of the session description.</p>
<div class="refsect3">
<a name="id-1.2.5.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"sdp"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-invite-get-lifetime"></a><h3>matrix_event_call_invite_get_lifetime ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
matrix_event_call_invite_get_lifetime (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"lifetime"</span> property.</p>
<p>The time in milliseconds that the invite is valid for. Once the invite age exceeds this value, clients should discard it. They should also no longer show the call as awaiting an answer in the UI.</p>
<div class="refsect3">
<a name="id-1.2.5.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.5.6.8.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"lifetime"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-call-invite-set-lifetime"></a><h3>matrix_event_call_invite_set_lifetime ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_call_invite_set_lifetime (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"lifetime"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The time in milliseconds that the invite is valid for. Once the invite age exceeds this value, clients should discard it. They should also no longer show the call as awaiting an answer in the UI.</p>
<div class="refsect3">
<a name="id-1.2.5.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite" title="struct MatrixEventCallInvite"><span class="type">MatrixEventCallInvite</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"lifetime"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventCallInvite.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventCallInvite"></a><h3>struct MatrixEventCallInvite</h3>
<pre class="programlisting">struct MatrixEventCallInvite {
MatrixEventCall parent_instance;
MatrixEventCallInvitePrivate * priv;
};
</pre>
<p>This event is sent by the caller when they wish to establish a call.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventCallInviteClass"></a><h3>struct MatrixEventCallInviteClass</h3>
<pre class="programlisting">struct MatrixEventCallInviteClass {
MatrixEventCallClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventCallInvite.html#MATRIX-EVENT-TYPE-CALL-INVITE:CAPS" title="MATRIX_EVENT_TYPE_CALL_INVITE"><code class="literal">MATRIX_EVENT_TYPE_CALL_INVITE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.5.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventCall.html#MatrixEventCallClass" title="struct MatrixEventCallClass"><span class="type">MatrixEventCallClass</span></a> <em class="structfield"><code><a name="MatrixEventCallInviteClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,586 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventPresence: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomName.html" title="MatrixEventRoomName">
<link rel="next" href="Matrix-0.0-MatrixEventState.html" title="MatrixEventState">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventPresence.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomName.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventState.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventPresence"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventPresence.top_of_page"></a>MatrixEventPresence</span></h2>
<p>MatrixEventPresence — Class for representing presence events</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventPresence.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MATRIX-EVENT-TYPE-PRESENCE:CAPS" title="MATRIX_EVENT_TYPE_PRESENCE">MATRIX_EVENT_TYPE_PRESENCE</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="returnvalue">MatrixEventPresence</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-new" title="matrix_event_presence_new ()">matrix_event_presence_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-avatar-url" title="matrix_event_presence_get_avatar_url ()">matrix_event_presence_get_avatar_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-avatar-url" title="matrix_event_presence_set_avatar_url ()">matrix_event_presence_set_avatar_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-display-name" title="matrix_event_presence_get_display_name ()">matrix_event_presence_get_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-display-name" title="matrix_event_presence_set_display_name ()">matrix_event_presence_set_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">glong</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-last-active-ago" title="matrix_event_presence_get_last_active_ago ()">matrix_event_presence_get_last_active_ago</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-last-active-ago" title="matrix_event_presence_set_last_active_ago ()">matrix_event_presence_set_last_active_ago</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-user-id" title="matrix_event_presence_get_user_id ()">matrix_event_presence_get_user_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-user-id" title="matrix_event_presence_set_user_id ()">matrix_event_presence_set_user_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-event-id" title="matrix_event_presence_get_event_id ()">matrix_event_presence_get_event_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-event-id" title="matrix_event_presence_set_event_id ()">matrix_event_presence_set_event_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixPresence" title="enum MatrixPresence"><span class="returnvalue">MatrixPresence</span></a>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-presence" title="matrix_event_presence_get_presence ()">matrix_event_presence_get_presence</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-presence" title="matrix_event_presence_set_presence ()">matrix_event_presence_set_presence</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventPresence.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence">MatrixEventPresence</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresenceClass" title="struct MatrixEventPresenceClass">MatrixEventPresenceClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventPresence.description"></a><h2>Description</h2>
<p>Informs the client of a user's presence state change.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventPresence.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-PRESENCE:CAPS"></a><h3>MATRIX_EVENT_TYPE_PRESENCE</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_PRESENCE (matrix_event_presence_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-new"></a><h3>matrix_event_presence_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="returnvalue">MatrixEventPresence</span></a> *
matrix_event_presence_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-get-avatar-url"></a><h3>matrix_event_presence_get_avatar_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_presence_get_avatar_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"avatar-url"</span> property.</p>
<p>The current avatar URL for this user, if any.</p>
<div class="refsect3">
<a name="id-1.2.7.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"avatar-url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-set-avatar-url"></a><h3>matrix_event_presence_set_avatar_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_presence_set_avatar_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"avatar-url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The current avatar URL for this user, if any.</p>
<div class="refsect3">
<a name="id-1.2.7.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"avatar-url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-get-display-name"></a><h3>matrix_event_presence_get_display_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_presence_get_display_name
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"display-name"</span> property.</p>
<p>The current display name for this user, if any.</p>
<div class="refsect3">
<a name="id-1.2.7.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"display-name"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-set-display-name"></a><h3>matrix_event_presence_set_display_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_presence_set_display_name
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"display-name"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The current display name for this user, if any.</p>
<div class="refsect3">
<a name="id-1.2.7.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"display-name"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-get-last-active-ago"></a><h3>matrix_event_presence_get_last_active_ago ()</h3>
<pre class="programlisting"><span class="returnvalue">glong</span>
matrix_event_presence_get_last_active_ago
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"last-active-ago"</span> property.</p>
<p>The last time since this used performed some action, in milliseconds.</p>
<p>This wont get into the generated event JSON if negative.</p>
<div class="refsect3">
<a name="id-1.2.7.6.8.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.8.8"></a><h4>Returns</h4>
<p> the value of the <span class="type">"last-active-ago"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-set-last-active-ago"></a><h3>matrix_event_presence_set_last_active_ago ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_presence_set_last_active_ago
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">glong</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"last-active-ago"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The last time since this used performed some action, in milliseconds.</p>
<p>This wont get into the generated event JSON if negative.</p>
<div class="refsect3">
<a name="id-1.2.7.6.9.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"last-active-ago"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-get-user-id"></a><h3>matrix_event_presence_get_user_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_presence_get_user_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"user-id"</span> property.</p>
<p>The user's ID.</p>
<div class="refsect3">
<a name="id-1.2.7.6.10.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.10.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"user-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-set-user-id"></a><h3>matrix_event_presence_set_user_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_presence_set_user_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"user-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The user's ID.</p>
<div class="refsect3">
<a name="id-1.2.7.6.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"user-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-get-event-id"></a><h3>matrix_event_presence_get_event_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_presence_get_event_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"event-id"</span> property.</p>
<div class="refsect3">
<a name="id-1.2.7.6.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.12.6"></a><h4>Returns</h4>
<p> the value of the <span class="type">"event-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-set-event-id"></a><h3>matrix_event_presence_set_event_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_presence_set_event_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"event-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.7.6.13.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"event-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-get-presence"></a><h3>matrix_event_presence_get_presence ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixPresence" title="enum MatrixPresence"><span class="returnvalue">MatrixPresence</span></a>
matrix_event_presence_get_presence (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"presence"</span> property.</p>
<p>The presence state for this user.</p>
<div class="refsect3">
<a name="id-1.2.7.6.14.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.14.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"presence"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-presence-set-presence"></a><h3>matrix_event_presence_set_presence ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_presence_set_presence (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixPresence" title="enum MatrixPresence"><span class="type">MatrixPresence</span></a> value</code></em>);</pre>
<p>Set the value of the <span class="type">"presence"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The presence state for this user.</p>
<div class="refsect3">
<a name="id-1.2.7.6.15.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence" title="struct MatrixEventPresence"><span class="type">MatrixEventPresence</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"presence"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventPresence.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventPresence"></a><h3>struct MatrixEventPresence</h3>
<pre class="programlisting">struct MatrixEventPresence {
MatrixEventBase parent_instance;
MatrixEventPresencePrivate * priv;
};
</pre>
<p>Class for representing presence events</p>
<p>Informs the client of a user's presence state change.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventPresenceClass"></a><h3>struct MatrixEventPresenceClass</h3>
<pre class="programlisting">struct MatrixEventPresenceClass {
MatrixEventBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventPresence.html#MATRIX-EVENT-TYPE-PRESENCE:CAPS" title="MATRIX_EVENT_TYPE_PRESENCE"><code class="literal">MATRIX_EVENT_TYPE_PRESENCE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.7.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBaseClass" title="struct MatrixEventBaseClass"><span class="type">MatrixEventBaseClass</span></a> <em class="structfield"><code><a name="MatrixEventPresenceClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,208 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventReceipt: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixMessageBase.html" title="MatrixMessageBase">
<link rel="next" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html" title="MatrixEventRoomMessageFeedback">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventReceipt.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixMessageBase.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventReceipt"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventReceipt.top_of_page"></a>MatrixEventReceipt</span></h2>
<p>MatrixEventReceipt — Class to hold m.receipt events.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventReceipt.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MATRIX-EVENT-TYPE-RECEIPT:CAPS" title="MATRIX_EVENT_TYPE_RECEIPT">MATRIX_EVENT_TYPE_RECEIPT</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceipt" title="struct MatrixEventReceipt"><span class="returnvalue">MatrixEventReceipt</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventReceipt.html#matrix-event-receipt-new" title="matrix_event_receipt_new ()">matrix_event_receipt_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventReceipt.html#matrix-event-receipt-get-room-id" title="matrix_event_receipt_get_room_id ()">matrix_event_receipt_get_room_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventReceipt.html#matrix-event-receipt-set-room-id" title="matrix_event_receipt_set_room_id ()">matrix_event_receipt_set_room_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventReceipt.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceipt" title="struct MatrixEventReceipt">MatrixEventReceipt</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceiptClass" title="struct MatrixEventReceiptClass">MatrixEventReceiptClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventReceipt.description"></a><h2>Description</h2>
<p>Informs the client of new receipts.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventReceipt.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-RECEIPT:CAPS"></a><h3>MATRIX_EVENT_TYPE_RECEIPT</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_RECEIPT (matrix_event_receipt_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceipt" title="struct MatrixEventReceipt"><span class="type">MatrixEventReceipt</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-receipt-new"></a><h3>matrix_event_receipt_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceipt" title="struct MatrixEventReceipt"><span class="returnvalue">MatrixEventReceipt</span></a> *
matrix_event_receipt_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-receipt-get-room-id"></a><h3>matrix_event_receipt_get_room_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_receipt_get_room_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceipt" title="struct MatrixEventReceipt"><span class="type">MatrixEventReceipt</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"room-id"</span> property.</p>
<div class="refsect3">
<a name="id-1.2.19.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceipt" title="struct MatrixEventReceipt"><span class="type">MatrixEventReceipt</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.19.6.4.6"></a><h4>Returns</h4>
<p> the value of the <span class="type">"room-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-receipt-set-room-id"></a><h3>matrix_event_receipt_set_room_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_receipt_set_room_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceipt" title="struct MatrixEventReceipt"><span class="type">MatrixEventReceipt</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"room-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.19.6.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceipt" title="struct MatrixEventReceipt"><span class="type">MatrixEventReceipt</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"room-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventReceipt.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventReceipt"></a><h3>struct MatrixEventReceipt</h3>
<pre class="programlisting">struct MatrixEventReceipt {
MatrixEventBase parent_instance;
MatrixEventReceiptPrivate * priv;
};
</pre>
<p>Class to hold m.receipt events.</p>
<p>Informs the client of new receipts.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventReceiptClass"></a><h3>struct MatrixEventReceiptClass</h3>
<pre class="programlisting">struct MatrixEventReceiptClass {
MatrixEventBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventReceipt.html#MATRIX-EVENT-TYPE-RECEIPT:CAPS" title="MATRIX_EVENT_TYPE_RECEIPT"><code class="literal">MATRIX_EVENT_TYPE_RECEIPT</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.19.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBaseClass" title="struct MatrixEventBaseClass"><span class="type">MatrixEventBaseClass</span></a> <em class="structfield"><code><a name="MatrixEventReceiptClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,569 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoom: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomMember.html" title="MatrixEventRoomMember">
<link rel="next" href="Matrix-0.0-MatrixMessageBase.html" title="MatrixMessageBase">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoom.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomMember.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixMessageBase.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoom"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoom.top_of_page"></a>MatrixEventRoom</span></h2>
<p>MatrixEventRoom — Abstract base class for room events.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoom.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MATRIX-EVENT-TYPE-ROOM:CAPS" title="MATRIX_EVENT_TYPE_ROOM">MATRIX_EVENT_TYPE_ROOM</a></td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-event-id" title="matrix_event_room_get_event_id ()">matrix_event_room_get_event_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-event-id" title="matrix_event_room_set_event_id ()">matrix_event_room_set_event_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-room-id" title="matrix_event_room_get_room_id ()">matrix_event_room_get_room_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-room-id" title="matrix_event_room_set_room_id ()">matrix_event_room_set_room_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-sender" title="matrix_event_room_get_sender ()">matrix_event_room_get_sender</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-sender" title="matrix_event_room_set_sender ()">matrix_event_room_set_sender</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">glong</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-age" title="matrix_event_room_get_age ()">matrix_event_room_get_age</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-age" title="matrix_event_room_set_age ()">matrix_event_room_set_age</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-redacted-because" title="matrix_event_room_get_redacted_because ()">matrix_event_room_get_redacted_because</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-redacted-because" title="matrix_event_room_set_redacted_because ()">matrix_event_room_set_redacted_because</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-transaction-id" title="matrix_event_room_get_transaction_id ()">matrix_event_room_get_transaction_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-transaction-id" title="matrix_event_room_set_transaction_id ()">matrix_event_room_set_transaction_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoom.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom">MatrixEventRoom</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoomClass" title="struct MatrixEventRoomClass">MatrixEventRoomClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoom.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoom.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM (matrix_event_room_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-get-event-id"></a><h3>matrix_event_room_get_event_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_get_event_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"event-id"</span> property.</p>
<p>A globally unique event ID. Required.</p>
<div class="refsect3">
<a name="id-1.2.17.6.3.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.17.6.3.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"event-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-set-event-id"></a><h3>matrix_event_room_set_event_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_set_event_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"event-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>A globally unique event ID. Required.</p>
<div class="refsect3">
<a name="id-1.2.17.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"event-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-get-room-id"></a><h3>matrix_event_room_get_room_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_get_room_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"room-id"</span> property.</p>
<p>The ID of the room associated with this event. Required, but it may be stripped by HS implementations from some APIs if they reside under a key marked with the room ID.</p>
<div class="refsect3">
<a name="id-1.2.17.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.17.6.5.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"room-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-set-room-id"></a><h3>matrix_event_room_set_room_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_set_room_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"room-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The ID of the room associated with this event. Required, but it may be stripped by HS implementations from some APIs if they reside under a key marked with the room ID.</p>
<div class="refsect3">
<a name="id-1.2.17.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"room-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-get-sender"></a><h3>matrix_event_room_get_sender ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_get_sender (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"sender"</span> property.</p>
<p>The fully qualified Matrix ID of the user who sent the event. Required.</p>
<div class="refsect3">
<a name="id-1.2.17.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.17.6.7.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"sender"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-set-sender"></a><h3>matrix_event_room_set_sender ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_set_sender (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"sender"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The fully qualified Matrix ID of the user who sent the event. Required.</p>
<div class="refsect3">
<a name="id-1.2.17.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"sender"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-get-age"></a><h3>matrix_event_room_get_age ()</h3>
<pre class="programlisting"><span class="returnvalue">glong</span>
matrix_event_room_get_age (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"age"</span> property.</p>
<p>The time, in milliseconds, that has elapsed since the event was sent. This is part of the unsigned event data.</p>
<p>This value will be omitted from the generated event JSON if less than zero.</p>
<div class="refsect3">
<a name="id-1.2.17.6.9.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.17.6.9.8"></a><h4>Returns</h4>
<p> the value of the <span class="type">"age"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-set-age"></a><h3>matrix_event_room_set_age ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_set_age (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">glong</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"age"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The time, in milliseconds, that has elapsed since the event was sent. This is part of the unsigned event data.</p>
<p>This value will be omitted from the generated event JSON if less than zero.</p>
<div class="refsect3">
<a name="id-1.2.17.6.10.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"age"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-get-redacted-because"></a><h3>matrix_event_room_get_redacted_because ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_get_redacted_because
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"redacted-because"</span> property.</p>
<p>The reason this event was redacted, if it was redacted.</p>
<div class="refsect3">
<a name="id-1.2.17.6.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.17.6.11.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"redacted-because"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-set-redacted-because"></a><h3>matrix_event_room_set_redacted_because ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_set_redacted_because
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"redacted-because"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The reason this event was redacted, if it was redacted.</p>
<div class="refsect3">
<a name="id-1.2.17.6.12.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"redacted-because"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-get-transaction-id"></a><h3>matrix_event_room_get_transaction_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_get_transaction_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"transaction-id"</span> property.</p>
<p>The client-supplied transaction ID. This should only be set if the client being given the event is the same one which sent it.</p>
<div class="refsect3">
<a name="id-1.2.17.6.13.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.17.6.13.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"transaction-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-set-transaction-id"></a><h3>matrix_event_room_set_transaction_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_set_transaction_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"transaction-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The client-supplied transaction ID. This should only be set if the client being given the event is the same one which sent it.</p>
<div class="refsect3">
<a name="id-1.2.17.6.14.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom" title="struct MatrixEventRoom"><span class="type">MatrixEventRoom</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"transaction-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoom.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoom"></a><h3>struct MatrixEventRoom</h3>
<pre class="programlisting">struct MatrixEventRoom {
MatrixEventBase parent_instance;
MatrixEventRoomPrivate * priv;
};
</pre>
<p>Abstract base class for room events.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomClass"></a><h3>struct MatrixEventRoomClass</h3>
<pre class="programlisting">struct MatrixEventRoomClass {
MatrixEventBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoom.html#MATRIX-EVENT-TYPE-ROOM:CAPS" title="MATRIX_EVENT_TYPE_ROOM"><code class="literal">MATRIX_EVENT_TYPE_ROOM</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.17.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBaseClass" title="struct MatrixEventBaseClass"><span class="type">MatrixEventBaseClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,217 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomAliases: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html" title="MatrixEventRoomHistoryVisibility">
<link rel="next" href="Matrix-0.0-MatrixEventCallCandidates.html" title="MatrixEventCallCandidates">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomAliases.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventCallCandidates.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomAliases"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomAliases.top_of_page"></a>MatrixEventRoomAliases</span></h2>
<p>MatrixEventRoomAliases — Class to hold a m.room.aliases event.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomAliases.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MATRIX-EVENT-TYPE-ROOM-ALIASES:CAPS" title="MATRIX_EVENT_TYPE_ROOM_ALIASES">MATRIX_EVENT_TYPE_ROOM_ALIASES</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliases" title="struct MatrixEventRoomAliases"><span class="returnvalue">MatrixEventRoomAliases</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#matrix-event-room-aliases-new" title="matrix_event_room_aliases_new ()">matrix_event_room_aliases_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gchar</span> **
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#matrix-event-room-aliases-get-aliases" title="matrix_event_room_aliases_get_aliases ()">matrix_event_room_aliases_get_aliases</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#matrix-event-room-aliases-set-aliases" title="matrix_event_room_aliases_set_aliases ()">matrix_event_room_aliases_set_aliases</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomAliases.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliases" title="struct MatrixEventRoomAliases">MatrixEventRoomAliases</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliasesClass" title="struct MatrixEventRoomAliasesClass">MatrixEventRoomAliasesClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomAliases.description"></a><h2>Description</h2>
<p>This event is sent by a homeserver directly to inform of changes to the list of aliases it knows about for that room.</p>
<p>The state_key for this event is set to the homeserver which owns the room alias.</p>
<p>The entire set of known aliases for the room is the union of all the m.room.aliases events, one for each homeserver. Clients should check the validity of any room alias given in this list before presenting it to the user as trusted fact. The lists given by this event should be considered simply as advice on which aliases might exist, for which the client can perform the lookup to confirm whether it receives the correct room ID.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomAliases.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-ALIASES:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_ALIASES</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_ALIASES (matrix_event_room_aliases_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliases" title="struct MatrixEventRoomAliases"><span class="type">MatrixEventRoomAliases</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-aliases-new"></a><h3>matrix_event_room_aliases_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliases" title="struct MatrixEventRoomAliases"><span class="returnvalue">MatrixEventRoomAliases</span></a> *
matrix_event_room_aliases_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-aliases-get-aliases"></a><h3>matrix_event_room_aliases_get_aliases ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> **
matrix_event_room_aliases_get_aliases (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliases" title="struct MatrixEventRoomAliases"><span class="type">MatrixEventRoomAliases</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">int</span> *result_length1</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"aliases"</span> property.</p>
<p>A list of room aliases.</p>
<div class="refsect3">
<a name="id-1.2.35.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliases" title="struct MatrixEventRoomAliases"><span class="type">MatrixEventRoomAliases</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.35.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"aliases"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-aliases-set-aliases"></a><h3>matrix_event_room_aliases_set_aliases ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_aliases_set_aliases (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliases" title="struct MatrixEventRoomAliases"><span class="type">MatrixEventRoomAliases</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gchar</span> **value</code></em>,
<em class="parameter"><code><span class="type">int</span> value_length1</code></em>);</pre>
<p>Set the value of the <span class="type">"aliases"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>A list of room aliases.</p>
<div class="refsect3">
<a name="id-1.2.35.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliases" title="struct MatrixEventRoomAliases"><span class="type">MatrixEventRoomAliases</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"aliases"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomAliases.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomAliases"></a><h3>struct MatrixEventRoomAliases</h3>
<pre class="programlisting">struct MatrixEventRoomAliases {
MatrixEventState parent_instance;
MatrixEventRoomAliasesPrivate * priv;
};
</pre>
<p>Class to hold a m.room.aliases event.</p>
<p>This event is sent by a homeserver directly to inform of changes to the list of aliases it knows about for that room.</p>
<p>The state_key for this event is set to the homeserver which owns the room alias.</p>
<p>The entire set of known aliases for the room is the union of all the m.room.aliases events, one for each homeserver. Clients should check the validity of any room alias given in this list before presenting it to the user as trusted fact. The lists given by this event should be considered simply as advice on which aliases might exist, for which the client can perform the lookup to confirm whether it receives the correct room ID.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomAliasesClass"></a><h3>struct MatrixEventRoomAliasesClass</h3>
<pre class="programlisting">struct MatrixEventRoomAliasesClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomAliases.html#MATRIX-EVENT-TYPE-ROOM-ALIASES:CAPS" title="MATRIX_EVENT_TYPE_ROOM_ALIASES"><code class="literal">MATRIX_EVENT_TYPE_ROOM_ALIASES</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.35.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomAliasesClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,438 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomAvatar: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html" title="MatrixEventRoomCanonicalAlias">
<link rel="next" href="Matrix-0.0-MatrixClient.html" title="MatrixClient">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomAvatar.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixClient.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomAvatar"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomAvatar.top_of_page"></a>MatrixEventRoomAvatar</span></h2>
<p>MatrixEventRoomAvatar — Class to hold a m.room.avatar event</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomAvatar.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MATRIX-EVENT-TYPE-ROOM-AVATAR:CAPS" title="MATRIX_EVENT_TYPE_ROOM_AVATAR">MATRIX_EVENT_TYPE_ROOM_AVATAR</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="returnvalue">MatrixEventRoomAvatar</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-new" title="matrix_event_room_avatar_new ()">matrix_event_room_avatar_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-url" title="matrix_event_room_avatar_get_url ()">matrix_event_room_avatar_get_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-url" title="matrix_event_room_avatar_set_url ()">matrix_event_room_avatar_set_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-thumbnail-url" title="matrix_event_room_avatar_get_thumbnail_url ()">matrix_event_room_avatar_get_thumbnail_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-thumbnail-url" title="matrix_event_room_avatar_set_thumbnail_url ()">matrix_event_room_avatar_set_thumbnail_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-info" title="matrix_event_room_avatar_get_info ()">matrix_event_room_avatar_get_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-info" title="matrix_event_room_avatar_set_info ()">matrix_event_room_avatar_set_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-thumbnail-info" title="matrix_event_room_avatar_get_thumbnail_info ()">matrix_event_room_avatar_get_thumbnail_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-thumbnail-info" title="matrix_event_room_avatar_set_thumbnail_info ()">matrix_event_room_avatar_set_thumbnail_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomAvatar.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar">MatrixEventRoomAvatar</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatarClass" title="struct MatrixEventRoomAvatarClass">MatrixEventRoomAvatarClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomAvatar.description"></a><h2>Description</h2>
<p>A picture that is associated with the room. This can be displayed alongside the room information.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomAvatar.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-AVATAR:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_AVATAR</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_AVATAR (matrix_event_room_avatar_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-avatar-new"></a><h3>matrix_event_room_avatar_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="returnvalue">MatrixEventRoomAvatar</span></a> *
matrix_event_room_avatar_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-avatar-get-url"></a><h3>matrix_event_room_avatar_get_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_avatar_get_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"url"</span> property.</p>
<p>The URL to the image.</p>
<div class="refsect3">
<a name="id-1.2.10.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.10.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-avatar-set-url"></a><h3>matrix_event_room_avatar_set_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_avatar_set_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The URL to the image.</p>
<div class="refsect3">
<a name="id-1.2.10.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-avatar-get-thumbnail-url"></a><h3>matrix_event_room_avatar_get_thumbnail_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_avatar_get_thumbnail_url
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"thumbnail-url"</span> property.</p>
<p>The URL to the thumbnail of the image.</p>
<div class="refsect3">
<a name="id-1.2.10.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.10.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"thumbnail-url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-avatar-set-thumbnail-url"></a><h3>matrix_event_room_avatar_set_thumbnail_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_avatar_set_thumbnail_url
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"thumbnail-url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The URL to the thumbnail of the image.</p>
<div class="refsect3">
<a name="id-1.2.10.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"thumbnail-url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-avatar-get-info"></a><h3>matrix_event_room_avatar_get_info ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
matrix_event_room_avatar_get_info (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"info"</span> property.</p>
<p>Metadata about the image referred to in url.</p>
<div class="refsect3">
<a name="id-1.2.10.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.10.6.8.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"info"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-avatar-set-info"></a><h3>matrix_event_room_avatar_set_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_avatar_set_info (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="type">MatrixImageInfo</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"info"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Metadata about the image referred to in url.</p>
<div class="refsect3">
<a name="id-1.2.10.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"info"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-avatar-get-thumbnail-info"></a><h3>matrix_event_room_avatar_get_thumbnail_info ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
matrix_event_room_avatar_get_thumbnail_info
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"thumbnail-info"</span> property.</p>
<p>Metadata about the image referred to in thumbnail_url.</p>
<div class="refsect3">
<a name="id-1.2.10.6.10.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.10.6.10.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"thumbnail-info"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-avatar-set-thumbnail-info"></a><h3>matrix_event_room_avatar_set_thumbnail_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_avatar_set_thumbnail_info
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="type">MatrixImageInfo</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"thumbnail-info"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Metadata about the image referred to in thumbnail_url.</p>
<div class="refsect3">
<a name="id-1.2.10.6.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar" title="struct MatrixEventRoomAvatar"><span class="type">MatrixEventRoomAvatar</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"thumbnail-info"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomAvatar.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomAvatar"></a><h3>struct MatrixEventRoomAvatar</h3>
<pre class="programlisting">struct MatrixEventRoomAvatar {
MatrixEventState parent_instance;
MatrixEventRoomAvatarPrivate * priv;
};
</pre>
<p>Class to hold a m.room.avatar event</p>
<p>A picture that is associated with the room. This can be displayed alongside the room information.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomAvatarClass"></a><h3>struct MatrixEventRoomAvatarClass</h3>
<pre class="programlisting">struct MatrixEventRoomAvatarClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomAvatar.html#MATRIX-EVENT-TYPE-ROOM-AVATAR:CAPS" title="MATRIX_EVENT_TYPE_ROOM_AVATAR"><code class="literal">MATRIX_EVENT_TYPE_ROOM_AVATAR</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.10.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomAvatarClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,212 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomCanonicalAlias: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventState.html" title="MatrixEventState">
<link rel="next" href="Matrix-0.0-MatrixEventRoomAvatar.html" title="MatrixEventRoomAvatar">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomCanonicalAlias.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventState.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomAvatar.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomCanonicalAlias"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomCanonicalAlias.top_of_page"></a>MatrixEventRoomCanonicalAlias</span></h2>
<p>MatrixEventRoomCanonicalAlias — Class to hold a m.room.canonical_alias event</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomCanonicalAlias.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MATRIX-EVENT-TYPE-ROOM-CANONICAL-ALIAS:CAPS" title="MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS">MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAlias" title="struct MatrixEventRoomCanonicalAlias"><span class="returnvalue">MatrixEventRoomCanonicalAlias</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#matrix-event-room-canonical-alias-new" title="matrix_event_room_canonical_alias_new ()">matrix_event_room_canonical_alias_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#matrix-event-room-canonical-alias-get-canonical-alias" title="matrix_event_room_canonical_alias_get_canonical_alias ()">matrix_event_room_canonical_alias_get_canonical_alias</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#matrix-event-room-canonical-alias-set-canonical-alias" title="matrix_event_room_canonical_alias_set_canonical_alias ()">matrix_event_room_canonical_alias_set_canonical_alias</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomCanonicalAlias.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAlias" title="struct MatrixEventRoomCanonicalAlias">MatrixEventRoomCanonicalAlias</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAliasClass" title="struct MatrixEventRoomCanonicalAliasClass">MatrixEventRoomCanonicalAliasClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomCanonicalAlias.description"></a><h2>Description</h2>
<p>This event is used to inform the room about which alias should be considered the canonical one. This could be for display purposes or as suggestion to users which alias to use to advertise the room.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomCanonicalAlias.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-CANONICAL-ALIAS:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS (matrix_event_room_canonical_alias_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAlias" title="struct MatrixEventRoomCanonicalAlias"><span class="type">MatrixEventRoomCanonicalAlias</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-canonical-alias-new"></a><h3>matrix_event_room_canonical_alias_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAlias" title="struct MatrixEventRoomCanonicalAlias"><span class="returnvalue">MatrixEventRoomCanonicalAlias</span></a> *
matrix_event_room_canonical_alias_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-canonical-alias-get-canonical-alias"></a><h3>matrix_event_room_canonical_alias_get_canonical_alias ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_canonical_alias_get_canonical_alias
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAlias" title="struct MatrixEventRoomCanonicalAlias"><span class="type">MatrixEventRoomCanonicalAlias</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"canonical-alias"</span> property.</p>
<p>The canonical alias.</p>
<div class="refsect3">
<a name="id-1.2.9.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAlias" title="struct MatrixEventRoomCanonicalAlias"><span class="type">MatrixEventRoomCanonicalAlias</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.9.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"canonical-alias"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-canonical-alias-set-canonical-alias"></a><h3>matrix_event_room_canonical_alias_set_canonical_alias ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_canonical_alias_set_canonical_alias
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAlias" title="struct MatrixEventRoomCanonicalAlias"><span class="type">MatrixEventRoomCanonicalAlias</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"canonical-alias"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The canonical alias.</p>
<div class="refsect3">
<a name="id-1.2.9.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAlias" title="struct MatrixEventRoomCanonicalAlias"><span class="type">MatrixEventRoomCanonicalAlias</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"canonical-alias"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomCanonicalAlias.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomCanonicalAlias"></a><h3>struct MatrixEventRoomCanonicalAlias</h3>
<pre class="programlisting">struct MatrixEventRoomCanonicalAlias {
MatrixEventState parent_instance;
MatrixEventRoomCanonicalAliasPrivate * priv;
};
</pre>
<p>Class to hold a m.room.canonical_alias event</p>
<p>This event is used to inform the room about which alias should be considered the canonical one. This could be for display purposes or as suggestion to users which alias to use to advertise the room.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomCanonicalAliasClass"></a><h3>struct MatrixEventRoomCanonicalAliasClass</h3>
<pre class="programlisting">struct MatrixEventRoomCanonicalAliasClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MATRIX-EVENT-TYPE-ROOM-CANONICAL-ALIAS:CAPS" title="MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS"><code class="literal">MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.9.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomCanonicalAliasClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,285 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomCreate: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixHTTPClient.html" title="MatrixHTTPClient">
<link rel="next" href="Matrix-0.0-MatrixEventRoomGuestAccess.html" title="MatrixEventRoomGuestAccess">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomCreate.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixHTTPClient.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomGuestAccess.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomCreate"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomCreate.top_of_page"></a>MatrixEventRoomCreate</span></h2>
<p>MatrixEventRoomCreate — Class to hold a m.room.create event</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomCreate.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MATRIX-EVENT-TYPE-ROOM-CREATE:CAPS" title="MATRIX_EVENT_TYPE_ROOM_CREATE">MATRIX_EVENT_TYPE_ROOM_CREATE</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="returnvalue">MatrixEventRoomCreate</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-new" title="matrix_event_room_create_new ()">matrix_event_room_create_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-get-creator" title="matrix_event_room_create_get_creator ()">matrix_event_room_create_get_creator</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-set-creator" title="matrix_event_room_create_set_creator ()">matrix_event_room_create_set_creator</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-get-federate" title="matrix_event_room_create_get_federate ()">matrix_event_room_create_get_federate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-set-federate" title="matrix_event_room_create_set_federate ()">matrix_event_room_create_set_federate</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomCreate.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate">MatrixEventRoomCreate</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreateClass" title="struct MatrixEventRoomCreateClass">MatrixEventRoomCreateClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomCreate.description"></a><h2>Description</h2>
<p>This is the first event in a room and cannot be changed. It acts as the root of all other events.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomCreate.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-CREATE:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_CREATE</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_CREATE (matrix_event_room_create_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="type">MatrixEventRoomCreate</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-create-new"></a><h3>matrix_event_room_create_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="returnvalue">MatrixEventRoomCreate</span></a> *
matrix_event_room_create_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-create-get-creator"></a><h3>matrix_event_room_create_get_creator ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_create_get_creator (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="type">MatrixEventRoomCreate</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"creator"</span> property.</p>
<p>The user_id of the room creator. This is set by the homeserver.</p>
<div class="refsect3">
<a name="id-1.2.22.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="type">MatrixEventRoomCreate</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.22.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"creator"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-create-set-creator"></a><h3>matrix_event_room_create_set_creator ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_create_set_creator (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="type">MatrixEventRoomCreate</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"creator"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The user_id of the room creator. This is set by the homeserver.</p>
<div class="refsect3">
<a name="id-1.2.22.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="type">MatrixEventRoomCreate</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"creator"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-create-get-federate"></a><h3>matrix_event_room_create_get_federate ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
matrix_event_room_create_get_federate (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="type">MatrixEventRoomCreate</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"federate"</span> property.</p>
<p>Whether users on other servers can join this room. Defaults to true if key does not exist.</p>
<div class="refsect3">
<a name="id-1.2.22.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="type">MatrixEventRoomCreate</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.22.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"federate"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-create-set-federate"></a><h3>matrix_event_room_create_set_federate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_create_set_federate (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="type">MatrixEventRoomCreate</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"federate"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Whether users on other servers can join this room. Defaults to true if key does not exist.</p>
<div class="refsect3">
<a name="id-1.2.22.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate" title="struct MatrixEventRoomCreate"><span class="type">MatrixEventRoomCreate</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"federate"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomCreate.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomCreate"></a><h3>struct MatrixEventRoomCreate</h3>
<pre class="programlisting">struct MatrixEventRoomCreate {
MatrixEventState parent_instance;
MatrixEventRoomCreatePrivate * priv;
};
</pre>
<p>Class to hold a m.room.create event</p>
<p>This is the first event in a room and cannot be changed. It acts as the root of all other events.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomCreateClass"></a><h3>struct MatrixEventRoomCreateClass</h3>
<pre class="programlisting">struct MatrixEventRoomCreateClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomCreate.html#MATRIX-EVENT-TYPE-ROOM-CREATE:CAPS" title="MATRIX_EVENT_TYPE_ROOM_CREATE"><code class="literal">MATRIX_EVENT_TYPE_ROOM_CREATE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.22.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomCreateClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,211 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomGuestAccess: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomCreate.html" title="MatrixEventRoomCreate">
<link rel="next" href="Matrix-0.0-MatrixEventCall.html" title="MatrixEventCall">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomGuestAccess.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomCreate.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventCall.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomGuestAccess"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomGuestAccess.top_of_page"></a>MatrixEventRoomGuestAccess</span></h2>
<p>MatrixEventRoomGuestAccess — Class to hold a m.room.guest_access event</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomGuestAccess.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MATRIX-EVENT-TYPE-ROOM-GUEST-ACCESS:CAPS" title="MATRIX_EVENT_TYPE_ROOM_GUEST_ACCESS">MATRIX_EVENT_TYPE_ROOM_GUEST_ACCESS</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccess" title="struct MatrixEventRoomGuestAccess"><span class="returnvalue">MatrixEventRoomGuestAccess</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#matrix-event-room-guest-access-new" title="matrix_event_room_guest_access_new ()">matrix_event_room_guest_access_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixGuestAccess" title="enum MatrixGuestAccess"><span class="returnvalue">MatrixGuestAccess</span></a>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#matrix-event-room-guest-access-get-guest-access" title="matrix_event_room_guest_access_get_guest_access ()">matrix_event_room_guest_access_get_guest_access</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#matrix-event-room-guest-access-set-guest-access" title="matrix_event_room_guest_access_set_guest_access ()">matrix_event_room_guest_access_set_guest_access</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomGuestAccess.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccess" title="struct MatrixEventRoomGuestAccess">MatrixEventRoomGuestAccess</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccessClass" title="struct MatrixEventRoomGuestAccessClass">MatrixEventRoomGuestAccessClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomGuestAccess.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomGuestAccess.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-GUEST-ACCESS:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_GUEST_ACCESS</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_GUEST_ACCESS (matrix_event_room_guest_access_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccess" title="struct MatrixEventRoomGuestAccess"><span class="type">MatrixEventRoomGuestAccess</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-guest-access-new"></a><h3>matrix_event_room_guest_access_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccess" title="struct MatrixEventRoomGuestAccess"><span class="returnvalue">MatrixEventRoomGuestAccess</span></a> *
matrix_event_room_guest_access_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-guest-access-get-guest-access"></a><h3>matrix_event_room_guest_access_get_guest_access ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixGuestAccess" title="enum MatrixGuestAccess"><span class="returnvalue">MatrixGuestAccess</span></a>
matrix_event_room_guest_access_get_guest_access
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccess" title="struct MatrixEventRoomGuestAccess"><span class="type">MatrixEventRoomGuestAccess</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"guest-access"</span> property.</p>
<p>Whether guests can join the room.</p>
<div class="refsect3">
<a name="id-1.2.23.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccess" title="struct MatrixEventRoomGuestAccess"><span class="type">MatrixEventRoomGuestAccess</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.23.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"guest-access"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-guest-access-set-guest-access"></a><h3>matrix_event_room_guest_access_set_guest_access ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_guest_access_set_guest_access
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccess" title="struct MatrixEventRoomGuestAccess"><span class="type">MatrixEventRoomGuestAccess</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixGuestAccess" title="enum MatrixGuestAccess"><span class="type">MatrixGuestAccess</span></a> value</code></em>);</pre>
<p>Set the value of the <span class="type">"guest-access"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Whether guests can join the room.</p>
<div class="refsect3">
<a name="id-1.2.23.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccess" title="struct MatrixEventRoomGuestAccess"><span class="type">MatrixEventRoomGuestAccess</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"guest-access"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomGuestAccess.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomGuestAccess"></a><h3>struct MatrixEventRoomGuestAccess</h3>
<pre class="programlisting">struct MatrixEventRoomGuestAccess {
MatrixEventState parent_instance;
MatrixEventRoomGuestAccessPrivate * priv;
};
</pre>
<p>Class to hold a m.room.guest_access event</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomGuestAccessClass"></a><h3>struct MatrixEventRoomGuestAccessClass</h3>
<pre class="programlisting">struct MatrixEventRoomGuestAccessClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomGuestAccess.html#MATRIX-EVENT-TYPE-ROOM-GUEST-ACCESS:CAPS" title="MATRIX_EVENT_TYPE_ROOM_GUEST_ACCESS"><code class="literal">MATRIX_EVENT_TYPE_ROOM_GUEST_ACCESS</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.23.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomGuestAccessClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,214 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomHistoryVisibility: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixMessageNotice.html" title="MatrixMessageNotice">
<link rel="next" href="Matrix-0.0-MatrixEventRoomAliases.html" title="MatrixEventRoomAliases">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomHistoryVisibility.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixMessageNotice.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomAliases.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomHistoryVisibility"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomHistoryVisibility.top_of_page"></a>MatrixEventRoomHistoryVisibility</span></h2>
<p>MatrixEventRoomHistoryVisibility — Class to hold a m.room.history_visibility event.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomHistoryVisibility.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MATRIX-EVENT-TYPE-ROOM-HISTORY-VISIBILITY:CAPS" title="MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY">MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibility" title="struct MatrixEventRoomHistoryVisibility"><span class="returnvalue">MatrixEventRoomHistoryVisibility</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#matrix-event-room-history-visibility-new" title="matrix_event_room_history_visibility_new ()">matrix_event_room_history_visibility_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixHistoryVisibility" title="enum MatrixHistoryVisibility"><span class="returnvalue">MatrixHistoryVisibility</span></a>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#matrix-event-room-history-visibility-get-visibility" title="matrix_event_room_history_visibility_get_visibility ()">matrix_event_room_history_visibility_get_visibility</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#matrix-event-room-history-visibility-set-visibility" title="matrix_event_room_history_visibility_set_visibility ()">matrix_event_room_history_visibility_set_visibility</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomHistoryVisibility.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibility" title="struct MatrixEventRoomHistoryVisibility">MatrixEventRoomHistoryVisibility</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibilityClass" title="struct MatrixEventRoomHistoryVisibilityClass">MatrixEventRoomHistoryVisibilityClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomHistoryVisibility.description"></a><h2>Description</h2>
<p>This event controls whether a user can see the events that happened in a room from before they joined.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomHistoryVisibility.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-HISTORY-VISIBILITY:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY (matrix_event_room_history_visibility_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibility" title="struct MatrixEventRoomHistoryVisibility"><span class="type">MatrixEventRoomHistoryVisibility</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-history-visibility-new"></a><h3>matrix_event_room_history_visibility_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibility" title="struct MatrixEventRoomHistoryVisibility"><span class="returnvalue">MatrixEventRoomHistoryVisibility</span></a> *
matrix_event_room_history_visibility_new
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-history-visibility-get-visibility"></a><h3>matrix_event_room_history_visibility_get_visibility ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixHistoryVisibility" title="enum MatrixHistoryVisibility"><span class="returnvalue">MatrixHistoryVisibility</span></a>
matrix_event_room_history_visibility_get_visibility
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibility" title="struct MatrixEventRoomHistoryVisibility"><span class="type">MatrixEventRoomHistoryVisibility</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"visibility"</span> property.</p>
<p>Who can see the room history.</p>
<div class="refsect3">
<a name="id-1.2.34.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibility" title="struct MatrixEventRoomHistoryVisibility"><span class="type">MatrixEventRoomHistoryVisibility</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.34.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"visibility"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-history-visibility-set-visibility"></a><h3>matrix_event_room_history_visibility_set_visibility ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_history_visibility_set_visibility
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibility" title="struct MatrixEventRoomHistoryVisibility"><span class="type">MatrixEventRoomHistoryVisibility</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixHistoryVisibility" title="enum MatrixHistoryVisibility"><span class="type">MatrixHistoryVisibility</span></a> value</code></em>);</pre>
<p>Set the value of the <span class="type">"visibility"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Who can see the room history.</p>
<div class="refsect3">
<a name="id-1.2.34.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibility" title="struct MatrixEventRoomHistoryVisibility"><span class="type">MatrixEventRoomHistoryVisibility</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"visibility"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomHistoryVisibility.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomHistoryVisibility"></a><h3>struct MatrixEventRoomHistoryVisibility</h3>
<pre class="programlisting">struct MatrixEventRoomHistoryVisibility {
MatrixEventState parent_instance;
MatrixEventRoomHistoryVisibilityPrivate * priv;
};
</pre>
<p>Class to hold a m.room.history_visibility event.</p>
<p>This event controls whether a user can see the events that happened in a room from before they joined.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomHistoryVisibilityClass"></a><h3>struct MatrixEventRoomHistoryVisibilityClass</h3>
<pre class="programlisting">struct MatrixEventRoomHistoryVisibilityClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MATRIX-EVENT-TYPE-ROOM-HISTORY-VISIBILITY:CAPS" title="MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY"><code class="literal">MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.34.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomHistoryVisibilityClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,211 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomJoinRules: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventCall.html" title="MatrixEventCall">
<link rel="next" href="Matrix-0.0-MatrixMessageFile.html" title="MatrixMessageFile">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomJoinRules.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventCall.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixMessageFile.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomJoinRules"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomJoinRules.top_of_page"></a>MatrixEventRoomJoinRules</span></h2>
<p>MatrixEventRoomJoinRules — Class to hold a m.room.join_rules event.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomJoinRules.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MATRIX-EVENT-TYPE-ROOM-JOIN-RULES:CAPS" title="MATRIX_EVENT_TYPE_ROOM_JOIN_RULES">MATRIX_EVENT_TYPE_ROOM_JOIN_RULES</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRules" title="struct MatrixEventRoomJoinRules"><span class="returnvalue">MatrixEventRoomJoinRules</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#matrix-event-room-join-rules-new" title="matrix_event_room_join_rules_new ()">matrix_event_room_join_rules_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixJoinRules" title="enum MatrixJoinRules"><span class="returnvalue">MatrixJoinRules</span></a>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#matrix-event-room-join-rules-get-join-rules" title="matrix_event_room_join_rules_get_join_rules ()">matrix_event_room_join_rules_get_join_rules</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#matrix-event-room-join-rules-set-join-rules" title="matrix_event_room_join_rules_set_join_rules ()">matrix_event_room_join_rules_set_join_rules</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomJoinRules.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRules" title="struct MatrixEventRoomJoinRules">MatrixEventRoomJoinRules</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRulesClass" title="struct MatrixEventRoomJoinRulesClass">MatrixEventRoomJoinRulesClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomJoinRules.description"></a><h2>Description</h2>
<p>A room may be public meaning anyone can join the room without any prior action. Alternatively, it can be invite meaning that a user who wishes to join the room must first receive an invite to the room from someone already inside of the room. Currently, knock and private are reserved keywords which are not implemented.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomJoinRules.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-JOIN-RULES:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_JOIN_RULES</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_JOIN_RULES (matrix_event_room_join_rules_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRules" title="struct MatrixEventRoomJoinRules"><span class="type">MatrixEventRoomJoinRules</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-join-rules-new"></a><h3>matrix_event_room_join_rules_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRules" title="struct MatrixEventRoomJoinRules"><span class="returnvalue">MatrixEventRoomJoinRules</span></a> *
matrix_event_room_join_rules_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-join-rules-get-join-rules"></a><h3>matrix_event_room_join_rules_get_join_rules ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixJoinRules" title="enum MatrixJoinRules"><span class="returnvalue">MatrixJoinRules</span></a>
matrix_event_room_join_rules_get_join_rules
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRules" title="struct MatrixEventRoomJoinRules"><span class="type">MatrixEventRoomJoinRules</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"join-rules"</span> property.</p>
<div class="refsect3">
<a name="id-1.2.25.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRules" title="struct MatrixEventRoomJoinRules"><span class="type">MatrixEventRoomJoinRules</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.25.6.4.6"></a><h4>Returns</h4>
<p> the value of the <span class="type">"join-rules"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-join-rules-set-join-rules"></a><h3>matrix_event_room_join_rules_set_join_rules ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_join_rules_set_join_rules
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRules" title="struct MatrixEventRoomJoinRules"><span class="type">MatrixEventRoomJoinRules</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixJoinRules" title="enum MatrixJoinRules"><span class="type">MatrixJoinRules</span></a> value</code></em>);</pre>
<p>Set the value of the <span class="type">"join-rules"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.25.6.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRules" title="struct MatrixEventRoomJoinRules"><span class="type">MatrixEventRoomJoinRules</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"join-rules"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomJoinRules.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomJoinRules"></a><h3>struct MatrixEventRoomJoinRules</h3>
<pre class="programlisting">struct MatrixEventRoomJoinRules {
MatrixEventState parent_instance;
MatrixEventRoomJoinRulesPrivate * priv;
};
</pre>
<p>Class to hold a m.room.join_rules event.</p>
<p>A room may be public meaning anyone can join the room without any prior action. Alternatively, it can be invite meaning that a user who wishes to join the room must first receive an invite to the room from someone already inside of the room. Currently, knock and private are reserved keywords which are not implemented.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomJoinRulesClass"></a><h3>struct MatrixEventRoomJoinRulesClass</h3>
<pre class="programlisting">struct MatrixEventRoomJoinRulesClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomJoinRules.html#MATRIX-EVENT-TYPE-ROOM-JOIN-RULES:CAPS" title="MATRIX_EVENT_TYPE_ROOM_JOIN_RULES"><code class="literal">MATRIX_EVENT_TYPE_ROOM_JOIN_RULES</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.25.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomJoinRulesClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,839 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomMember: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixJsonCompact.html" title="MatrixJsonCompact">
<link rel="next" href="Matrix-0.0-MatrixEventRoom.html" title="MatrixEventRoom">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomMember.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixJsonCompact.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoom.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomMember"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomMember.top_of_page"></a>MatrixEventRoomMember</span></h2>
<p>MatrixEventRoomMember — Class for representing a room membership events</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMember.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MATRIX-EVENT-TYPE-ROOM-MEMBER:CAPS" title="MATRIX_EVENT_TYPE_ROOM_MEMBER">MATRIX_EVENT_TYPE_ROOM_MEMBER</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="returnvalue">MatrixEventRoomMember</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-new" title="matrix_event_room_member_new ()">matrix_event_room_member_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixRoomMembership" title="enum MatrixRoomMembership"><span class="returnvalue">MatrixRoomMembership</span></a>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-membership" title="matrix_event_room_member_get_membership ()">matrix_event_room_member_get_membership</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-membership" title="matrix_event_room_member_set_membership ()">matrix_event_room_member_set_membership</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-avatar-url" title="matrix_event_room_member_get_avatar_url ()">matrix_event_room_member_get_avatar_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-avatar-url" title="matrix_event_room_member_set_avatar_url ()">matrix_event_room_member_set_avatar_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-display-name" title="matrix_event_room_member_get_display_name ()">matrix_event_room_member_get_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-display-name" title="matrix_event_room_member_set_display_name ()">matrix_event_room_member_set_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-display-name" title="matrix_event_room_member_get_tpi_display_name ()">matrix_event_room_member_get_tpi_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-display-name" title="matrix_event_room_member_set_tpi_display_name ()">matrix_event_room_member_set_tpi_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-signed-mxid" title="matrix_event_room_member_get_tpi_signed_mxid ()">matrix_event_room_member_get_tpi_signed_mxid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-signed-mxid" title="matrix_event_room_member_set_tpi_signed_mxid ()">matrix_event_room_member_set_tpi_signed_mxid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-signed-token" title="matrix_event_room_member_get_tpi_signed_token ()">matrix_event_room_member_get_tpi_signed_token</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-signed-token" title="matrix_event_room_member_set_tpi_signed_token ()">matrix_event_room_member_set_tpi_signed_token</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-signature" title="matrix_event_room_member_get_tpi_signature ()">matrix_event_room_member_get_tpi_signature</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-signature" title="matrix_event_room_member_set_tpi_signature ()">matrix_event_room_member_set_tpi_signature</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="returnvalue">MatrixEventState</span></a> **
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-invite-room-state" title="matrix_event_room_member_get_invite_room_state ()">matrix_event_room_member_get_invite_room_state</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-invite-room-state" title="matrix_event_room_member_set_invite_room_state ()">matrix_event_room_member_set_invite_room_state</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-user-id" title="matrix_event_room_member_get_user_id ()">matrix_event_room_member_get_user_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-user-id" title="matrix_event_room_member_set_user_id ()">matrix_event_room_member_set_user_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMember.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember">MatrixEventRoomMember</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMemberClass" title="struct MatrixEventRoomMemberClass">MatrixEventRoomMemberClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMember.description"></a><h2>Description</h2>
<p>Adjusts the membership state for a user in a room. It is preferable to use the membership APIs (`/rooms/&lt;room id&gt;/invite` etc) when performing membership actions rather than adjusting the state directly as there are a restricted set of valid transformations. For example, user A cannot force user B to join a room, and trying to force this state change directly will fail.</p>
<p>The following membership states are specified:</p>
<p>- invite - The user has been invited to join a room, but has not yet joined it. They may not participate in the room until they join.</p>
<p>- join - The user has joined the room (possibly after accepting an invite), and may participate in it.</p>
<p>- leave - The user was once joined to the room, but has since left (possibly by choice, or possibly by being kicked).</p>
<p>- ban - The user has been banned from the room, and is no longer allowed to join it until they are un-banned from the room (by having their membership state set to a value other than ban).</p>
<p>- knock - This is a reserved word, which currently has no meaning.</p>
<p>The third_party_invite property will be set if this invite is an invite event and is the successor of an m.room.third_party_invite event, and absent otherwise.</p>
<p>This event may also include an invite_room_state key outside the content key. If present, this contains an array of stripped state events. These events provide information on a few select state events such as the room name.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMember.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-MEMBER:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_MEMBER</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_MEMBER (matrix_event_room_member_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-new"></a><h3>matrix_event_room_member_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="returnvalue">MatrixEventRoomMember</span></a> *
matrix_event_room_member_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-get-membership"></a><h3>matrix_event_room_member_get_membership ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixRoomMembership" title="enum MatrixRoomMembership"><span class="returnvalue">MatrixRoomMembership</span></a>
matrix_event_room_member_get_membership
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"membership"</span> property.</p>
<p>The membership state of the user.</p>
<div class="refsect3">
<a name="id-1.2.16.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.16.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"membership"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-set-membership"></a><h3>matrix_event_room_member_set_membership ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_member_set_membership
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixRoomMembership" title="enum MatrixRoomMembership"><span class="type">MatrixRoomMembership</span></a> value</code></em>);</pre>
<p>Set the value of the <span class="type">"membership"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The membership state of the user.</p>
<div class="refsect3">
<a name="id-1.2.16.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"membership"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-get-avatar-url"></a><h3>matrix_event_room_member_get_avatar_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_member_get_avatar_url
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"avatar-url"</span> property.</p>
<p>The avatar URL for this user, if any. This is added by the homeserver.</p>
<div class="refsect3">
<a name="id-1.2.16.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.16.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"avatar-url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-set-avatar-url"></a><h3>matrix_event_room_member_set_avatar_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_member_set_avatar_url
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"avatar-url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The avatar URL for this user, if any. This is added by the homeserver.</p>
<div class="refsect3">
<a name="id-1.2.16.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"avatar-url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-get-display-name"></a><h3>matrix_event_room_member_get_display_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_member_get_display_name
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"display-name"</span> property.</p>
<p>The display name for this user, if any. This is added by the homeserver.</p>
<div class="refsect3">
<a name="id-1.2.16.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.16.6.8.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"display-name"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-set-display-name"></a><h3>matrix_event_room_member_set_display_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_member_set_display_name
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"display-name"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The display name for this user, if any. This is added by the homeserver.</p>
<div class="refsect3">
<a name="id-1.2.16.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"display-name"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-get-tpi-display-name"></a><h3>matrix_event_room_member_get_tpi_display_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_member_get_tpi_display_name
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"tpi-display-name"</span> property.</p>
<p>A name which can be displayed to represent the user instead of their third party identifier</p>
<div class="refsect3">
<a name="id-1.2.16.6.10.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.16.6.10.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"tpi-display-name"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-set-tpi-display-name"></a><h3>matrix_event_room_member_set_tpi_display_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_member_set_tpi_display_name
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"tpi-display-name"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>A name which can be displayed to represent the user instead of their third party identifier</p>
<div class="refsect3">
<a name="id-1.2.16.6.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"tpi-display-name"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-get-tpi-signed-mxid"></a><h3>matrix_event_room_member_get_tpi_signed_mxid ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_member_get_tpi_signed_mxid
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"tpi-signed-mxid"</span> property.</p>
<p>The invited matrix user ID. Must be equal to the user_id property of the event.</p>
<div class="refsect3">
<a name="id-1.2.16.6.12.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.16.6.12.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"tpi-signed-mxid"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-set-tpi-signed-mxid"></a><h3>matrix_event_room_member_set_tpi_signed_mxid ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_member_set_tpi_signed_mxid
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"tpi-signed-mxid"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The invited matrix user ID. Must be equal to the user_id property of the event.</p>
<div class="refsect3">
<a name="id-1.2.16.6.13.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"tpi-signed-mxid"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-get-tpi-signed-token"></a><h3>matrix_event_room_member_get_tpi_signed_token ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_member_get_tpi_signed_token
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"tpi-signed-token"</span> property.</p>
<p>The token property of the containing third_party_invite object.</p>
<div class="refsect3">
<a name="id-1.2.16.6.14.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.16.6.14.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"tpi-signed-token"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-set-tpi-signed-token"></a><h3>matrix_event_room_member_set_tpi_signed_token ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_member_set_tpi_signed_token
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"tpi-signed-token"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The token property of the containing third_party_invite object.</p>
<div class="refsect3">
<a name="id-1.2.16.6.15.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"tpi-signed-token"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-get-tpi-signature"></a><h3>matrix_event_room_member_get_tpi_signature ()</h3>
<pre class="programlisting"><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
matrix_event_room_member_get_tpi_signature
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"tpi-signature"</span> property.</p>
<p>A single signature from the verifying server, in the format specified by the Signing Events section of the server-server API.</p>
<div class="refsect3">
<a name="id-1.2.16.6.16.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.16.6.16.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"tpi-signature"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-set-tpi-signature"></a><h3>matrix_event_room_member_set_tpi_signature ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_member_set_tpi_signature
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>,
<em class="parameter"><code><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"tpi-signature"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>A single signature from the verifying server, in the format specified by the Signing Events section of the server-server API.</p>
<div class="refsect3">
<a name="id-1.2.16.6.17.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"tpi-signature"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-get-invite-room-state"></a><h3>matrix_event_room_member_get_invite_room_state ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="returnvalue">MatrixEventState</span></a> **
matrix_event_room_member_get_invite_room_state
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">int</span> *result_length1</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"invite-room-state"</span> property.</p>
<p>A subset of the state of the room at the time of the invite, if membership is invite.</p>
<div class="refsect3">
<a name="id-1.2.16.6.18.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.16.6.18.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"invite-room-state"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-set-invite-room-state"></a><h3>matrix_event_room_member_set_invite_room_state ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_member_set_invite_room_state
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> **value</code></em>,
<em class="parameter"><code><span class="type">int</span> value_length1</code></em>);</pre>
<p>Set the value of the <span class="type">"invite-room-state"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>A subset of the state of the room at the time of the invite, if membership is invite.</p>
<div class="refsect3">
<a name="id-1.2.16.6.19.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"invite-room-state"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-get-user-id"></a><h3>matrix_event_room_member_get_user_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_member_get_user_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"user-id"</span> property.</p>
<p>The user ID whom this event relates to.</p>
<div class="refsect3">
<a name="id-1.2.16.6.20.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.16.6.20.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"user-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-member-set-user-id"></a><h3>matrix_event_room_member_set_user_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_member_set_user_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"user-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The user ID whom this event relates to.</p>
<div class="refsect3">
<a name="id-1.2.16.6.21.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember" title="struct MatrixEventRoomMember"><span class="type">MatrixEventRoomMember</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"user-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMember.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomMember"></a><h3>struct MatrixEventRoomMember</h3>
<pre class="programlisting">struct MatrixEventRoomMember {
MatrixEventState parent_instance;
MatrixEventRoomMemberPrivate * priv;
};
</pre>
<p>Class for representing a room membership events</p>
<p>Adjusts the membership state for a user in a room. It is preferable to use the membership APIs (`/rooms/&lt;room id&gt;/invite` etc) when performing membership actions rather than adjusting the state directly as there are a restricted set of valid transformations. For example, user A cannot force user B to join a room, and trying to force this state change directly will fail.</p>
<p>The following membership states are specified:</p>
<p>- invite - The user has been invited to join a room, but has not yet joined it. They may not participate in the room until they join.</p>
<p>- join - The user has joined the room (possibly after accepting an invite), and may participate in it.</p>
<p>- leave - The user was once joined to the room, but has since left (possibly by choice, or possibly by being kicked).</p>
<p>- ban - The user has been banned from the room, and is no longer allowed to join it until they are un-banned from the room (by having their membership state set to a value other than ban).</p>
<p>- knock - This is a reserved word, which currently has no meaning.</p>
<p>The third_party_invite property will be set if this invite is an invite event and is the successor of an m.room.third_party_invite event, and absent otherwise.</p>
<p>This event may also include an invite_room_state key outside the content key. If present, this contains an array of stripped state events. These events provide information on a few select state events such as the room name.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomMemberClass"></a><h3>struct MatrixEventRoomMemberClass</h3>
<pre class="programlisting">struct MatrixEventRoomMemberClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomMember.html#MATRIX-EVENT-TYPE-ROOM-MEMBER:CAPS" title="MATRIX_EVENT_TYPE_ROOM_MEMBER"><code class="literal">MATRIX_EVENT_TYPE_ROOM_MEMBER</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.16.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomMemberClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,247 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomMessage: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomTopic.html" title="MatrixEventRoomTopic">
<link rel="next" href="Matrix-0.0-MatrixMessageEmote.html" title="MatrixMessageEmote">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomMessage.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomTopic.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixMessageEmote.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomMessage"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomMessage.top_of_page"></a>MatrixEventRoomMessage</span></h2>
<p>MatrixEventRoomMessage — Class to hold an m.room.message event</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMessage.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MATRIX-EVENT-TYPE-ROOM-MESSAGE:CAPS" title="MATRIX_EVENT_TYPE_ROOM_MESSAGE">MATRIX_EVENT_TYPE_ROOM_MESSAGE</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage" title="struct MatrixEventRoomMessage"><span class="returnvalue">MatrixEventRoomMessage</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-new" title="matrix_event_room_message_new ()">matrix_event_room_message_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="returnvalue">MatrixMessageBase</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-get-message" title="matrix_event_room_message_get_message ()">matrix_event_room_message_get_message</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-set-message" title="matrix_event_room_message_set_message ()">matrix_event_room_message_set_message</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-get-fallback-content" title="matrix_event_room_message_get_fallback_content ()">matrix_event_room_message_get_fallback_content</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMessage.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage" title="struct MatrixEventRoomMessage">MatrixEventRoomMessage</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessageClass" title="struct MatrixEventRoomMessageClass">MatrixEventRoomMessageClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMessage.description"></a><h2>Description</h2>
<p>This event is used when sending messages in a room. Messages are not limited to be text. The `msgtype` key outlines the type of message, e.g. text, audio, image, video, etc. The `body` key is text and MUST be used with every kind of `msgtype` as a fallback mechanism for when a client cannot render a message. This allows clients to display *something* even if it is just plain text.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMessage.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-MESSAGE:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_MESSAGE</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_MESSAGE (matrix_event_room_message_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage" title="struct MatrixEventRoomMessage"><span class="type">MatrixEventRoomMessage</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-message-new"></a><h3>matrix_event_room_message_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage" title="struct MatrixEventRoomMessage"><span class="returnvalue">MatrixEventRoomMessage</span></a> *
matrix_event_room_message_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-message-get-message"></a><h3>matrix_event_room_message_get_message ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="returnvalue">MatrixMessageBase</span></a> *
matrix_event_room_message_get_message (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage" title="struct MatrixEventRoomMessage"><span class="type">MatrixEventRoomMessage</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"message"</span> property.</p>
<p>The message as a Matrix.Message object.</p>
<div class="refsect3">
<a name="id-1.2.42.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage" title="struct MatrixEventRoomMessage"><span class="type">MatrixEventRoomMessage</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.42.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"message"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-message-set-message"></a><h3>matrix_event_room_message_set_message ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_message_set_message (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage" title="struct MatrixEventRoomMessage"><span class="type">MatrixEventRoomMessage</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"message"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The message as a Matrix.Message object.</p>
<div class="refsect3">
<a name="id-1.2.42.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage" title="struct MatrixEventRoomMessage"><span class="type">MatrixEventRoomMessage</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"message"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-message-get-fallback-content"></a><h3>matrix_event_room_message_get_fallback_content ()</h3>
<pre class="programlisting"><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
matrix_event_room_message_get_fallback_content
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage" title="struct MatrixEventRoomMessage"><span class="type">MatrixEventRoomMessage</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"fallback-content"</span> property.</p>
<p>The message as a JSON object. This gets set by Matrix.Message.Base.new_from_json if no handler is installed for the given message type.</p>
<div class="refsect3">
<a name="id-1.2.42.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage" title="struct MatrixEventRoomMessage"><span class="type">MatrixEventRoomMessage</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.42.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"fallback-content"</span> property</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMessage.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomMessage"></a><h3>struct MatrixEventRoomMessage</h3>
<pre class="programlisting">struct MatrixEventRoomMessage {
MatrixEventRoom parent_instance;
MatrixEventRoomMessagePrivate * priv;
};
</pre>
<p>Class to hold an m.room.message event</p>
<p>This event is used when sending messages in a room. Messages are not limited to be text. The `msgtype` key outlines the type of message, e.g. text, audio, image, video, etc. The `body` key is text and MUST be used with every kind of `msgtype` as a fallback mechanism for when a client cannot render a message. This allows clients to display *something* even if it is just plain text.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomMessageClass"></a><h3>struct MatrixEventRoomMessageClass</h3>
<pre class="programlisting">struct MatrixEventRoomMessageClass {
MatrixEventRoomClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomMessage.html#MATRIX-EVENT-TYPE-ROOM-MESSAGE:CAPS" title="MATRIX_EVENT_TYPE_ROOM_MESSAGE"><code class="literal">MATRIX_EVENT_TYPE_ROOM_MESSAGE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.42.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoomClass" title="struct MatrixEventRoomClass"><span class="type">MatrixEventRoomClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomMessageClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,291 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomMessageFeedback: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventReceipt.html" title="MatrixEventReceipt">
<link rel="next" href="Matrix-0.0-MatrixHTTPClient.html" title="MatrixHTTPClient">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomMessageFeedback.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventReceipt.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixHTTPClient.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomMessageFeedback"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomMessageFeedback.top_of_page"></a>MatrixEventRoomMessageFeedback</span></h2>
<p>MatrixEventRoomMessageFeedback — Class to hold a m.room.message.feedback event.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMessageFeedback.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MATRIX-EVENT-TYPE-ROOM-MESSAGE-FEEDBACK:CAPS" title="MATRIX_EVENT_TYPE_ROOM_MESSAGE_FEEDBACK">MATRIX_EVENT_TYPE_ROOM_MESSAGE_FEEDBACK</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="returnvalue">MatrixEventRoomMessageFeedback</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-new" title="matrix_event_room_message_feedback_new ()">matrix_event_room_message_feedback_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-get-feedback-type" title="matrix_event_room_message_feedback_get_feedback_type ()">matrix_event_room_message_feedback_get_feedback_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-set-feedback-type" title="matrix_event_room_message_feedback_set_feedback_type ()">matrix_event_room_message_feedback_set_feedback_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-get-target-event-id" title="matrix_event_room_message_feedback_get_target_event_id ()">matrix_event_room_message_feedback_get_target_event_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-set-target-event-id" title="matrix_event_room_message_feedback_set_target_event_id ()">matrix_event_room_message_feedback_set_target_event_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMessageFeedback.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback">MatrixEventRoomMessageFeedback</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedbackClass" title="struct MatrixEventRoomMessageFeedbackClass">MatrixEventRoomMessageFeedbackClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMessageFeedback.description"></a><h2>Description</h2>
<p>Usage of this event is discouraged in favour of the receipts module. Most clients will not recognise this event.</p>
<p>Feedback events are events sent to acknowledge a message in some way. There are two supported acknowledgements: `delivered` (sent when the event has been received) and `read` (sent when the event has been observed by the end-user). The `target_event_id` should reference the `m.room.message` event being acknowledged.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMessageFeedback.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-MESSAGE-FEEDBACK:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_MESSAGE_FEEDBACK</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_MESSAGE_FEEDBACK (matrix_event_room_message_feedback_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="type">MatrixEventRoomMessageFeedback</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-message-feedback-new"></a><h3>matrix_event_room_message_feedback_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="returnvalue">MatrixEventRoomMessageFeedback</span></a> *
matrix_event_room_message_feedback_new
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-message-feedback-get-feedback-type"></a><h3>matrix_event_room_message_feedback_get_feedback_type ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_message_feedback_get_feedback_type
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="type">MatrixEventRoomMessageFeedback</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"feedback-type"</span> property.</p>
<p>The type of the feedback. As the use of this event type is discouraged, Matrix GLib SDK doesnt implement this as an actual enum.</p>
<div class="refsect3">
<a name="id-1.2.20.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="type">MatrixEventRoomMessageFeedback</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.20.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"feedback-type"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-message-feedback-set-feedback-type"></a><h3>matrix_event_room_message_feedback_set_feedback_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_message_feedback_set_feedback_type
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="type">MatrixEventRoomMessageFeedback</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"feedback-type"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The type of the feedback. As the use of this event type is discouraged, Matrix GLib SDK doesnt implement this as an actual enum.</p>
<div class="refsect3">
<a name="id-1.2.20.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="type">MatrixEventRoomMessageFeedback</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"feedback-type"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-message-feedback-get-target-event-id"></a><h3>matrix_event_room_message_feedback_get_target_event_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_message_feedback_get_target_event_id
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="type">MatrixEventRoomMessageFeedback</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"target-event-id"</span> property.</p>
<p>The event that this feedback is related to.</p>
<div class="refsect3">
<a name="id-1.2.20.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="type">MatrixEventRoomMessageFeedback</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.20.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"target-event-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-message-feedback-set-target-event-id"></a><h3>matrix_event_room_message_feedback_set_target_event_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_message_feedback_set_target_event_id
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="type">MatrixEventRoomMessageFeedback</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"target-event-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The event that this feedback is related to.</p>
<div class="refsect3">
<a name="id-1.2.20.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback" title="struct MatrixEventRoomMessageFeedback"><span class="type">MatrixEventRoomMessageFeedback</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"target-event-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomMessageFeedback.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomMessageFeedback"></a><h3>struct MatrixEventRoomMessageFeedback</h3>
<pre class="programlisting">struct MatrixEventRoomMessageFeedback {
MatrixEventRoom parent_instance;
MatrixEventRoomMessageFeedbackPrivate * priv;
};
</pre>
<p>Class to hold a m.room.message.feedback event.</p>
<p>Usage of this event is discouraged in favour of the receipts module. Most clients will not recognise this event.</p>
<p>Feedback events are events sent to acknowledge a message in some way. There are two supported acknowledgements: `delivered` (sent when the event has been received) and `read` (sent when the event has been observed by the end-user). The `target_event_id` should reference the `m.room.message` event being acknowledged.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomMessageFeedbackClass"></a><h3>struct MatrixEventRoomMessageFeedbackClass</h3>
<pre class="programlisting">struct MatrixEventRoomMessageFeedbackClass {
MatrixEventRoomClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MATRIX-EVENT-TYPE-ROOM-MESSAGE-FEEDBACK:CAPS" title="MATRIX_EVENT_TYPE_ROOM_MESSAGE_FEEDBACK"><code class="literal">MATRIX_EVENT_TYPE_ROOM_MESSAGE_FEEDBACK</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.20.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoomClass" title="struct MatrixEventRoomClass"><span class="type">MatrixEventRoomClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomMessageFeedbackClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,208 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomName: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventCallInvite.html" title="MatrixEventCallInvite">
<link rel="next" href="Matrix-0.0-MatrixEventPresence.html" title="MatrixEventPresence">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomName.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventCallInvite.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventPresence.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomName"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomName.top_of_page"></a>MatrixEventRoomName</span></h2>
<p>MatrixEventRoomName — Class to hold a m.room.name event.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomName.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MATRIX-EVENT-TYPE-ROOM-NAME:CAPS" title="MATRIX_EVENT_TYPE_ROOM_NAME">MATRIX_EVENT_TYPE_ROOM_NAME</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomName" title="struct MatrixEventRoomName"><span class="returnvalue">MatrixEventRoomName</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomName.html#matrix-event-room-name-new" title="matrix_event_room_name_new ()">matrix_event_room_name_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomName.html#matrix-event-room-name-get-name" title="matrix_event_room_name_get_name ()">matrix_event_room_name_get_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomName.html#matrix-event-room-name-set-name" title="matrix_event_room_name_set_name ()">matrix_event_room_name_set_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomName.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomName" title="struct MatrixEventRoomName">MatrixEventRoomName</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomNameClass" title="struct MatrixEventRoomNameClass">MatrixEventRoomNameClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomName.description"></a><h2>Description</h2>
<p>A room has an opaque room ID which is not human-friendly to read. A room alias is human-friendly, but not all rooms have room aliases. The room name is a human-friendly string designed to be displayed to the end-user. The room name is not unique, as multiple rooms can have the same room name set. The room name can also be set when creating a room using createRoom with the name key.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomName.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-NAME:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_NAME</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_NAME (matrix_event_room_name_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomName" title="struct MatrixEventRoomName"><span class="type">MatrixEventRoomName</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-name-new"></a><h3>matrix_event_room_name_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomName" title="struct MatrixEventRoomName"><span class="returnvalue">MatrixEventRoomName</span></a> *
matrix_event_room_name_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-name-get-name"></a><h3>matrix_event_room_name_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_name_get_name (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomName" title="struct MatrixEventRoomName"><span class="type">MatrixEventRoomName</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"name"</span> property.</p>
<div class="refsect3">
<a name="id-1.2.6.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomName" title="struct MatrixEventRoomName"><span class="type">MatrixEventRoomName</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.4.6"></a><h4>Returns</h4>
<p> the value of the <span class="type">"name"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-name-set-name"></a><h3>matrix_event_room_name_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_name_set_name (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomName" title="struct MatrixEventRoomName"><span class="type">MatrixEventRoomName</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"name"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.6.6.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomName" title="struct MatrixEventRoomName"><span class="type">MatrixEventRoomName</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"name"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomName.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomName"></a><h3>struct MatrixEventRoomName</h3>
<pre class="programlisting">struct MatrixEventRoomName {
MatrixEventState parent_instance;
MatrixEventRoomNamePrivate * priv;
};
</pre>
<p>Class to hold a m.room.name event.</p>
<p>A room has an opaque room ID which is not human-friendly to read. A room alias is human-friendly, but not all rooms have room aliases. The room name is a human-friendly string designed to be displayed to the end-user. The room name is not unique, as multiple rooms can have the same room name set. The room name can also be set when creating a room using createRoom with the name key.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomNameClass"></a><h3>struct MatrixEventRoomNameClass</h3>
<pre class="programlisting">struct MatrixEventRoomNameClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomName.html#MATRIX-EVENT-TYPE-ROOM-NAME:CAPS" title="MATRIX_EVENT_TYPE_ROOM_NAME"><code class="literal">MATRIX_EVENT_TYPE_ROOM_NAME</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.6.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomNameClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,675 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomPowerLevels: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixAPI.html" title="MatrixAPI">
<link rel="next" href="Matrix-0.0-MatrixMessageText.html" title="MatrixMessageText">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomPowerLevels.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixAPI.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixMessageText.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomPowerLevels"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomPowerLevels.top_of_page"></a>MatrixEventRoomPowerLevels</span></h2>
<p>MatrixEventRoomPowerLevels — Class to handle m.room.power_levels event</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomPowerLevels.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MATRIX-EVENT-TYPE-ROOM-POWER-LEVELS:CAPS" title="MATRIX_EVENT_TYPE_ROOM_POWER_LEVELS">MATRIX_EVENT_TYPE_ROOM_POWER_LEVELS</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="returnvalue">MatrixEventRoomPowerLevels</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-new" title="matrix_event_room_power_levels_new ()">matrix_event_room_power_levels_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-users-default" title="matrix_event_room_power_levels_get_users_default ()">matrix_event_room_power_levels_get_users_default</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-users-default" title="matrix_event_room_power_levels_set_users_default ()">matrix_event_room_power_levels_set_users_default</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-events-default" title="matrix_event_room_power_levels_get_events_default ()">matrix_event_room_power_levels_get_events_default</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-events-default" title="matrix_event_room_power_levels_set_events_default ()">matrix_event_room_power_levels_set_events_default</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-state-default" title="matrix_event_room_power_levels_get_state_default ()">matrix_event_room_power_levels_get_state_default</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-state-default" title="matrix_event_room_power_levels_set_state_default ()">matrix_event_room_power_levels_set_state_default</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-ban" title="matrix_event_room_power_levels_get_ban ()">matrix_event_room_power_levels_get_ban</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-ban" title="matrix_event_room_power_levels_set_ban ()">matrix_event_room_power_levels_set_ban</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-kick" title="matrix_event_room_power_levels_get_kick ()">matrix_event_room_power_levels_get_kick</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-kick" title="matrix_event_room_power_levels_set_kick ()">matrix_event_room_power_levels_set_kick</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-redact" title="matrix_event_room_power_levels_get_redact ()">matrix_event_room_power_levels_get_redact</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-redact" title="matrix_event_room_power_levels_set_redact ()">matrix_event_room_power_levels_set_redact</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-invite" title="matrix_event_room_power_levels_get_invite ()">matrix_event_room_power_levels_get_invite</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-invite" title="matrix_event_room_power_levels_set_invite ()">matrix_event_room_power_levels_set_invite</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomPowerLevels.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels">MatrixEventRoomPowerLevels</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevelsClass" title="struct MatrixEventRoomPowerLevelsClass">MatrixEventRoomPowerLevelsClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomPowerLevels.description"></a><h2>Description</h2>
<p>This event specifies the minimum level a user must have in order to perform a certain action. It also specifies the levels of each user in the room. If a user_id is in the users list, then that user_id has the associated power level. Otherwise they have the default level users_default. If users_default is not supplied, it is assumed to be 0. The level required to send a certain event is governed by events, state_default and events_default. If an event type is specified in events, then the user must have at least the level specified in order to send that event. If the event type is not supplied, it defaults to events_default for Message Events and state_default for State Events.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomPowerLevels.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-POWER-LEVELS:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_POWER_LEVELS</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_POWER_LEVELS (matrix_event_room_power_levels_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-new"></a><h3>matrix_event_room_power_levels_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="returnvalue">MatrixEventRoomPowerLevels</span></a> *
matrix_event_room_power_levels_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-get-users-default"></a><h3>matrix_event_room_power_levels_get_users_default ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
matrix_event_room_power_levels_get_users_default
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"users-default"</span> property.</p>
<p>The default power level for every user in the room, unless their user_id is mentioned in the users key.</p>
<div class="refsect3">
<a name="id-1.2.38.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.38.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"users-default"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-set-users-default"></a><h3>matrix_event_room_power_levels_set_users_default ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_power_levels_set_users_default
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"users-default"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The default power level for every user in the room, unless their user_id is mentioned in the users key.</p>
<div class="refsect3">
<a name="id-1.2.38.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"users-default"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-get-events-default"></a><h3>matrix_event_room_power_levels_get_events_default ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
matrix_event_room_power_levels_get_events_default
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"events-default"</span> property.</p>
<p>The default level required to send message events. Can be overridden by the events key.</p>
<div class="refsect3">
<a name="id-1.2.38.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.38.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"events-default"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-set-events-default"></a><h3>matrix_event_room_power_levels_set_events_default ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_power_levels_set_events_default
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"events-default"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The default level required to send message events. Can be overridden by the events key.</p>
<div class="refsect3">
<a name="id-1.2.38.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"events-default"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-get-state-default"></a><h3>matrix_event_room_power_levels_get_state_default ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
matrix_event_room_power_levels_get_state_default
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"state-default"</span> property.</p>
<p>The default level required to send state events. Can be overridden by the events key.</p>
<div class="refsect3">
<a name="id-1.2.38.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.38.6.8.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"state-default"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-set-state-default"></a><h3>matrix_event_room_power_levels_set_state_default ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_power_levels_set_state_default
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"state-default"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The default level required to send state events. Can be overridden by the events key.</p>
<div class="refsect3">
<a name="id-1.2.38.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"state-default"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-get-ban"></a><h3>matrix_event_room_power_levels_get_ban ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
matrix_event_room_power_levels_get_ban
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"ban"</span> property.</p>
<p>The level required to ban a user.</p>
<div class="refsect3">
<a name="id-1.2.38.6.10.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.38.6.10.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"ban"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-set-ban"></a><h3>matrix_event_room_power_levels_set_ban ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_power_levels_set_ban
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"ban"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The level required to ban a user.</p>
<div class="refsect3">
<a name="id-1.2.38.6.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"ban"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-get-kick"></a><h3>matrix_event_room_power_levels_get_kick ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
matrix_event_room_power_levels_get_kick
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"kick"</span> property.</p>
<p>The level required to kick a user.</p>
<div class="refsect3">
<a name="id-1.2.38.6.12.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.38.6.12.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"kick"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-set-kick"></a><h3>matrix_event_room_power_levels_set_kick ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_power_levels_set_kick
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"kick"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The level required to kick a user.</p>
<div class="refsect3">
<a name="id-1.2.38.6.13.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"kick"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-get-redact"></a><h3>matrix_event_room_power_levels_get_redact ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
matrix_event_room_power_levels_get_redact
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"redact"</span> property.</p>
<p>The level required to redact an event.</p>
<div class="refsect3">
<a name="id-1.2.38.6.14.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.38.6.14.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"redact"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-set-redact"></a><h3>matrix_event_room_power_levels_set_redact ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_power_levels_set_redact
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"redact"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The level required to redact an event.</p>
<div class="refsect3">
<a name="id-1.2.38.6.15.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"redact"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-get-invite"></a><h3>matrix_event_room_power_levels_get_invite ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
matrix_event_room_power_levels_get_invite
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"invite"</span> property.</p>
<p>The level required to invite someone.</p>
<div class="refsect3">
<a name="id-1.2.38.6.16.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.38.6.16.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"invite"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-power-levels-set-invite"></a><h3>matrix_event_room_power_levels_set_invite ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_power_levels_set_invite
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"invite"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The level required to invite someone.</p>
<div class="refsect3">
<a name="id-1.2.38.6.17.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels" title="struct MatrixEventRoomPowerLevels"><span class="type">MatrixEventRoomPowerLevels</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"invite"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomPowerLevels.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomPowerLevels"></a><h3>struct MatrixEventRoomPowerLevels</h3>
<pre class="programlisting">struct MatrixEventRoomPowerLevels {
MatrixEventState parent_instance;
MatrixEventRoomPowerLevelsPrivate * priv;
};
</pre>
<p>Class to handle m.room.power_levels event</p>
<p>This event specifies the minimum level a user must have in order to perform a certain action. It also specifies the levels of each user in the room. If a user_id is in the users list, then that user_id has the associated power level. Otherwise they have the default level users_default. If users_default is not supplied, it is assumed to be 0. The level required to send a certain event is governed by events, state_default and events_default. If an event type is specified in events, then the user must have at least the level specified in order to send that event. If the event type is not supplied, it defaults to events_default for Message Events and state_default for State Events.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomPowerLevelsClass"></a><h3>struct MatrixEventRoomPowerLevelsClass</h3>
<pre class="programlisting">struct MatrixEventRoomPowerLevelsClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomPowerLevels.html#MATRIX-EVENT-TYPE-ROOM-POWER-LEVELS:CAPS" title="MATRIX_EVENT_TYPE_ROOM_POWER_LEVELS"><code class="literal">MATRIX_EVENT_TYPE_ROOM_POWER_LEVELS</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.38.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomPowerLevelsClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,288 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomRedaction: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventCallHangup.html" title="MatrixEventCallHangup">
<link rel="next" href="Matrix-0.0-MatrixMessageNotice.html" title="MatrixMessageNotice">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomRedaction.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventCallHangup.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixMessageNotice.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomRedaction"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomRedaction.top_of_page"></a>MatrixEventRoomRedaction</span></h2>
<p>MatrixEventRoomRedaction — Class to hold a m.room.redaction event</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomRedaction.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MATRIX-EVENT-TYPE-ROOM-REDACTION:CAPS" title="MATRIX_EVENT_TYPE_ROOM_REDACTION">MATRIX_EVENT_TYPE_ROOM_REDACTION</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="returnvalue">MatrixEventRoomRedaction</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-new" title="matrix_event_room_redaction_new ()">matrix_event_room_redaction_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-get-reason" title="matrix_event_room_redaction_get_reason ()">matrix_event_room_redaction_get_reason</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-set-reason" title="matrix_event_room_redaction_set_reason ()">matrix_event_room_redaction_set_reason</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-get-redacted-event-id" title="matrix_event_room_redaction_get_redacted_event_id ()">matrix_event_room_redaction_get_redacted_event_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-set-redacted-event-id" title="matrix_event_room_redaction_set_redacted_event_id ()">matrix_event_room_redaction_set_redacted_event_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomRedaction.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction">MatrixEventRoomRedaction</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedactionClass" title="struct MatrixEventRoomRedactionClass">MatrixEventRoomRedactionClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomRedaction.description"></a><h2>Description</h2>
<p>Events can be redacted by either room or server admins. Redacting an event means that all keys not required by the protocol are stripped off, allowing admins to remove offensive or illegal content that may have been attached to any event. This cannot be undone, allowing server owners to physically delete the offending data. There is also a concept of a moderator hiding a message event, which can be undone, but cannot be applied to state events. The event that has been redacted is specified in the redacts event level key.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomRedaction.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-REDACTION:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_REDACTION</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_REDACTION (matrix_event_room_redaction_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="type">MatrixEventRoomRedaction</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-redaction-new"></a><h3>matrix_event_room_redaction_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="returnvalue">MatrixEventRoomRedaction</span></a> *
matrix_event_room_redaction_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-redaction-get-reason"></a><h3>matrix_event_room_redaction_get_reason ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_redaction_get_reason
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="type">MatrixEventRoomRedaction</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"reason"</span> property.</p>
<p>The reason for the redaction, if any.</p>
<div class="refsect3">
<a name="id-1.2.32.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="type">MatrixEventRoomRedaction</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.32.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"reason"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-redaction-set-reason"></a><h3>matrix_event_room_redaction_set_reason ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_redaction_set_reason
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="type">MatrixEventRoomRedaction</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"reason"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The reason for the redaction, if any.</p>
<div class="refsect3">
<a name="id-1.2.32.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="type">MatrixEventRoomRedaction</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"reason"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-redaction-get-redacted-event-id"></a><h3>matrix_event_room_redaction_get_redacted_event_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_redaction_get_redacted_event_id
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="type">MatrixEventRoomRedaction</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"redacted-event-id"</span> property.</p>
<p>The event ID that was redacted.</p>
<div class="refsect3">
<a name="id-1.2.32.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="type">MatrixEventRoomRedaction</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.32.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"redacted-event-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-redaction-set-redacted-event-id"></a><h3>matrix_event_room_redaction_set_redacted_event_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_redaction_set_redacted_event_id
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="type">MatrixEventRoomRedaction</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"redacted-event-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The event ID that was redacted.</p>
<div class="refsect3">
<a name="id-1.2.32.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction" title="struct MatrixEventRoomRedaction"><span class="type">MatrixEventRoomRedaction</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"redacted-event-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomRedaction.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomRedaction"></a><h3>struct MatrixEventRoomRedaction</h3>
<pre class="programlisting">struct MatrixEventRoomRedaction {
MatrixEventRoom parent_instance;
MatrixEventRoomRedactionPrivate * priv;
};
</pre>
<p>Class to hold a m.room.redaction event</p>
<p>Events can be redacted by either room or server admins. Redacting an event means that all keys not required by the protocol are stripped off, allowing admins to remove offensive or illegal content that may have been attached to any event. This cannot be undone, allowing server owners to physically delete the offending data. There is also a concept of a moderator hiding a message event, which can be undone, but cannot be applied to state events. The event that has been redacted is specified in the redacts event level key.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomRedactionClass"></a><h3>struct MatrixEventRoomRedactionClass</h3>
<pre class="programlisting">struct MatrixEventRoomRedactionClass {
MatrixEventRoomClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomRedaction.html#MATRIX-EVENT-TYPE-ROOM-REDACTION:CAPS" title="MATRIX_EVENT_TYPE_ROOM_REDACTION"><code class="literal">MATRIX_EVENT_TYPE_ROOM_REDACTION</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.32.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoomClass" title="struct MatrixEventRoomClass"><span class="type">MatrixEventRoomClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomRedactionClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,675 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomThirdPartyInvite: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="next" href="Matrix-0.0-MatrixMessageLocation.html" title="MatrixMessageLocation">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomThirdPartyInvite.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixMessageLocation.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomThirdPartyInvite"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomThirdPartyInvite.top_of_page"></a>MatrixEventRoomThirdPartyInvite</span></h2>
<p>MatrixEventRoomThirdPartyInvite — Class to hold a m.room.third_party_invite event</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomThirdPartyInvite.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MATRIX-EVENT-TYPE-ROOM-THIRD-PARTY-INVITE:CAPS" title="MATRIX_EVENT_TYPE_ROOM_THIRD_PARTY_INVITE">MATRIX_EVENT_TYPE_ROOM_THIRD_PARTY_INVITE</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="returnvalue">MatrixEventRoomThirdPartyInvite</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-new" title="matrix_event_room_third_party_invite_new ()">matrix_event_room_third_party_invite_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-display-name" title="matrix_event_room_third_party_invite_get_display_name ()">matrix_event_room_third_party_invite_get_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-display-name" title="matrix_event_room_third_party_invite_set_display_name ()">matrix_event_room_third_party_invite_set_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-key-validity-url" title="matrix_event_room_third_party_invite_get_key_validity_url ()">matrix_event_room_third_party_invite_get_key_validity_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-key-validity-url" title="matrix_event_room_third_party_invite_set_key_validity_url ()">matrix_event_room_third_party_invite_set_key_validity_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-public-key" title="matrix_event_room_third_party_invite_get_public_key ()">matrix_event_room_third_party_invite_get_public_key</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-public-key" title="matrix_event_room_third_party_invite_set_public_key ()">matrix_event_room_third_party_invite_set_public_key</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey"><span class="returnvalue">MatrixEventRoomThirdPartyInvitePublicKey</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-public-keys" title="matrix_event_room_third_party_invite_get_public_keys ()">matrix_event_room_third_party_invite_get_public_keys</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-public-keys" title="matrix_event_room_third_party_invite_set_public_keys ()">matrix_event_room_third_party_invite_set_public_keys</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-token" title="matrix_event_room_third_party_invite_get_token ()">matrix_event_room_third_party_invite_get_token</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-token" title="matrix_event_room_third_party_invite_set_token ()">matrix_event_room_third_party_invite_set_token</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey"><span class="returnvalue">MatrixEventRoomThirdPartyInvitePublicKey</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-dup" title="matrix_event_room_third_party_invite_public_key_dup ()">matrix_event_room_third_party_invite_public_key_dup</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-free" title="matrix_event_room_third_party_invite_public_key_free ()">matrix_event_room_third_party_invite_public_key_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-copy" title="matrix_event_room_third_party_invite_public_key_copy ()">matrix_event_room_third_party_invite_public_key_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-destroy" title="matrix_event_room_third_party_invite_public_key_destroy ()">matrix_event_room_third_party_invite_public_key_destroy</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomThirdPartyInvite.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey">MatrixEventRoomThirdPartyInvitePublicKey</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite">MatrixEventRoomThirdPartyInvite</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInviteClass" title="struct MatrixEventRoomThirdPartyInviteClass">MatrixEventRoomThirdPartyInviteClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomThirdPartyInvite.description"></a><h2>Description</h2>
<p>Acts as an m.room.member invite event, where there isn't a target user_id to invite. This event contains a token and a public key whose private key must be used to sign the token. Any user who can present that signature may use this invitation to join the target room.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomThirdPartyInvite.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-THIRD-PARTY-INVITE:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_THIRD_PARTY_INVITE</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_THIRD_PARTY_INVITE (matrix_event_room_third_party_invite_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-new"></a><h3>matrix_event_room_third_party_invite_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="returnvalue">MatrixEventRoomThirdPartyInvite</span></a> *
matrix_event_room_third_party_invite_new
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-get-display-name"></a><h3>matrix_event_room_third_party_invite_get_display_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_third_party_invite_get_display_name
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"display-name"</span> property.</p>
<p>A user-readable string which represents the user who has been invited. This should not contain the user's third party ID, as otherwise when the invite is accepted it would leak the association between the matrix ID and the third party ID.</p>
<div class="refsect3">
<a name="id-1.2.2.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"display-name"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-set-display-name"></a><h3>matrix_event_room_third_party_invite_set_display_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_third_party_invite_set_display_name
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"display-name"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>A user-readable string which represents the user who has been invited. This should not contain the user's third party ID, as otherwise when the invite is accepted it would leak the association between the matrix ID and the third party ID.</p>
<div class="refsect3">
<a name="id-1.2.2.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"display-name"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-get-key-validity-url"></a><h3>matrix_event_room_third_party_invite_get_key_validity_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_third_party_invite_get_key_validity_url
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"key-validity-url"</span> property.</p>
<p>A URL which can be fetched, with querystring public_key=public_key, to validate whether the key has been revoked. The URL must return a JSON object containing a boolean property named valid.</p>
<div class="refsect3">
<a name="id-1.2.2.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"key-validity-url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-set-key-validity-url"></a><h3>matrix_event_room_third_party_invite_set_key_validity_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_third_party_invite_set_key_validity_url
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"key-validity-url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>A URL which can be fetched, with querystring public_key=public_key, to validate whether the key has been revoked. The URL must return a JSON object containing a boolean property named valid.</p>
<div class="refsect3">
<a name="id-1.2.2.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"key-validity-url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-get-public-key"></a><h3>matrix_event_room_third_party_invite_get_public_key ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_third_party_invite_get_public_key
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"public-key"</span> property.</p>
<p>A base64-encoded ed25519 key with which token must be signed (though a signature from any entry in public_keys is also sufficient). This exists for backwards compatibility.</p>
<div class="refsect3">
<a name="id-1.2.2.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.6.8.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"public-key"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-set-public-key"></a><h3>matrix_event_room_third_party_invite_set_public_key ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_third_party_invite_set_public_key
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"public-key"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>A base64-encoded ed25519 key with which token must be signed (though a signature from any entry in public_keys is also sufficient). This exists for backwards compatibility.</p>
<div class="refsect3">
<a name="id-1.2.2.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"public-key"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-get-public-keys"></a><h3>matrix_event_room_third_party_invite_get_public_keys ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey"><span class="returnvalue">MatrixEventRoomThirdPartyInvitePublicKey</span></a> *
matrix_event_room_third_party_invite_get_public_keys
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">int</span> *result_length1</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"public-keys"</span> property.</p>
<p>Keys with which the token may be signed.</p>
<div class="refsect3">
<a name="id-1.2.2.6.10.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.6.10.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"public-keys"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-set-public-keys"></a><h3>matrix_event_room_third_party_invite_set_public_keys ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_third_party_invite_set_public_keys
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey"><span class="type">MatrixEventRoomThirdPartyInvitePublicKey</span></a> *value</code></em>,
<em class="parameter"><code><span class="type">int</span> value_length1</code></em>);</pre>
<p>Set the value of the <span class="type">"public-keys"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Keys with which the token may be signed.</p>
<div class="refsect3">
<a name="id-1.2.2.6.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"public-keys"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-get-token"></a><h3>matrix_event_room_third_party_invite_get_token ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_third_party_invite_get_token
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"token"</span> property.</p>
<p>The token, of which a signature must be produced in order to join the room.</p>
<div class="refsect3">
<a name="id-1.2.2.6.12.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.6.12.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"token"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-set-token"></a><h3>matrix_event_room_third_party_invite_set_token ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_third_party_invite_set_token
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"token"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The token, of which a signature must be produced in order to join the room.</p>
<div class="refsect3">
<a name="id-1.2.2.6.13.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite" title="struct MatrixEventRoomThirdPartyInvite"><span class="type">MatrixEventRoomThirdPartyInvite</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"token"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-public-key-dup"></a><h3>matrix_event_room_third_party_invite_public_key_dup ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey"><span class="returnvalue">MatrixEventRoomThirdPartyInvitePublicKey</span></a> *
matrix_event_room_third_party_invite_public_key_dup
(<em class="parameter"><code>const <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey"><span class="type">MatrixEventRoomThirdPartyInvitePublicKey</span></a> *self</code></em>);</pre>
<p>Creates a copy of self.</p>
<p><span class="emphasis"><em>See also</em></span>: <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-copy" title="matrix_event_room_third_party_invite_public_key_copy ()"><code class="function">matrix_event_room_third_party_invite_public_key_copy()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-destroy" title="matrix_event_room_third_party_invite_public_key_destroy ()"><code class="function">matrix_event_room_third_party_invite_public_key_destroy()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-free" title="matrix_event_room_third_party_invite_public_key_free ()"><code class="function">matrix_event_room_third_party_invite_public_key_free()</code></a></p>
<div class="refsect3">
<a name="id-1.2.2.6.14.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the instance to duplicate</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.6.14.7"></a><h4>Returns</h4>
<p> a copy of <em class="parameter"><code>self</code></em>
, free with <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-free" title="matrix_event_room_third_party_invite_public_key_free ()"><code class="function">matrix_event_room_third_party_invite_public_key_free()</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-public-key-free"></a><h3>matrix_event_room_third_party_invite_public_key_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_third_party_invite_public_key_free
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey"><span class="type">MatrixEventRoomThirdPartyInvitePublicKey</span></a> *self</code></em>);</pre>
<p>Frees the heap-allocated struct.</p>
<p><span class="emphasis"><em>See also</em></span>: <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-dup" title="matrix_event_room_third_party_invite_public_key_dup ()"><code class="function">matrix_event_room_third_party_invite_public_key_dup()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-copy" title="matrix_event_room_third_party_invite_public_key_copy ()"><code class="function">matrix_event_room_third_party_invite_public_key_copy()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-destroy" title="matrix_event_room_third_party_invite_public_key_destroy ()"><code class="function">matrix_event_room_third_party_invite_public_key_destroy()</code></a></p>
<div class="refsect3">
<a name="id-1.2.2.6.15.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the struct to free</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-public-key-copy"></a><h3>matrix_event_room_third_party_invite_public_key_copy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_third_party_invite_public_key_copy
(<em class="parameter"><code>const <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey"><span class="type">MatrixEventRoomThirdPartyInvitePublicKey</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey"><span class="type">MatrixEventRoomThirdPartyInvitePublicKey</span></a> *dest</code></em>);</pre>
<p>Creates a copy of self.</p>
<p><span class="emphasis"><em>See also</em></span>: <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-dup" title="matrix_event_room_third_party_invite_public_key_dup ()"><code class="function">matrix_event_room_third_party_invite_public_key_dup()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-destroy" title="matrix_event_room_third_party_invite_public_key_destroy ()"><code class="function">matrix_event_room_third_party_invite_public_key_destroy()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-free" title="matrix_event_room_third_party_invite_public_key_free ()"><code class="function">matrix_event_room_third_party_invite_public_key_free()</code></a></p>
<div class="refsect3">
<a name="id-1.2.2.6.16.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the struct to copy</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>a unused struct. Use <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-destroy" title="matrix_event_room_third_party_invite_public_key_destroy ()"><code class="function">matrix_event_room_third_party_invite_public_key_destroy()</code></a> to free the content.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-third-party-invite-public-key-destroy"></a><h3>matrix_event_room_third_party_invite_public_key_destroy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_third_party_invite_public_key_destroy
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey" title="struct MatrixEventRoomThirdPartyInvitePublicKey"><span class="type">MatrixEventRoomThirdPartyInvitePublicKey</span></a> *self</code></em>);</pre>
<p>Frees the content of the struct pointed by <em class="parameter"><code>self</code></em>
.</p>
<p><span class="emphasis"><em>See also</em></span>: <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-dup" title="matrix_event_room_third_party_invite_public_key_dup ()"><code class="function">matrix_event_room_third_party_invite_public_key_dup()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-copy" title="matrix_event_room_third_party_invite_public_key_copy ()"><code class="function">matrix_event_room_third_party_invite_public_key_copy()</code></a>, <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-free" title="matrix_event_room_third_party_invite_public_key_free ()"><code class="function">matrix_event_room_third_party_invite_public_key_free()</code></a></p>
<div class="refsect3">
<a name="id-1.2.2.6.17.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the struct to destroy</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomThirdPartyInvite.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomThirdPartyInvitePublicKey"></a><h3>struct MatrixEventRoomThirdPartyInvitePublicKey</h3>
<pre class="programlisting">struct MatrixEventRoomThirdPartyInvitePublicKey {
gchar* key;
gchar* validity_url;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomThirdPartyInvite"></a><h3>struct MatrixEventRoomThirdPartyInvite</h3>
<pre class="programlisting">struct MatrixEventRoomThirdPartyInvite {
MatrixEventState parent_instance;
MatrixEventRoomThirdPartyInvitePrivate * priv;
};
</pre>
<p>Class to hold a m.room.third_party_invite event</p>
<p>Acts as an m.room.member invite event, where there isn't a target user_id to invite. This event contains a token and a public key whose private key must be used to sign the token. Any user who can present that signature may use this invitation to join the target room.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomThirdPartyInviteClass"></a><h3>struct MatrixEventRoomThirdPartyInviteClass</h3>
<pre class="programlisting">struct MatrixEventRoomThirdPartyInviteClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MATRIX-EVENT-TYPE-ROOM-THIRD-PARTY-INVITE:CAPS" title="MATRIX_EVENT_TYPE_ROOM_THIRD_PARTY_INVITE"><code class="literal">MATRIX_EVENT_TYPE_ROOM_THIRD_PARTY_INVITE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.2.7.4.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomThirdPartyInviteClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,210 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventRoomTopic: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixMessageVideo.html" title="MatrixMessageVideo">
<link rel="next" href="Matrix-0.0-MatrixEventRoomMessage.html" title="MatrixEventRoomMessage">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventRoomTopic.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixMessageVideo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomMessage.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventRoomTopic"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventRoomTopic.top_of_page"></a>MatrixEventRoomTopic</span></h2>
<p>MatrixEventRoomTopic — Event type to hold the m.room.topic event.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomTopic.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MATRIX-EVENT-TYPE-ROOM-TOPIC:CAPS" title="MATRIX_EVENT_TYPE_ROOM_TOPIC">MATRIX_EVENT_TYPE_ROOM_TOPIC</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopic" title="struct MatrixEventRoomTopic"><span class="returnvalue">MatrixEventRoomTopic</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#matrix-event-room-topic-new" title="matrix_event_room_topic_new ()">matrix_event_room_topic_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#matrix-event-room-topic-get-topic" title="matrix_event_room_topic_get_topic ()">matrix_event_room_topic_get_topic</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#matrix-event-room-topic-set-topic" title="matrix_event_room_topic_set_topic ()">matrix_event_room_topic_set_topic</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomTopic.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopic" title="struct MatrixEventRoomTopic">MatrixEventRoomTopic</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopicClass" title="struct MatrixEventRoomTopicClass">MatrixEventRoomTopicClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomTopic.description"></a><h2>Description</h2>
<p>A topic is a short message detailing what is currently being discussed in the room. It can also be used as a way to display extra information about the room, which may not be suitable for the room name.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomTopic.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-ROOM-TOPIC:CAPS"></a><h3>MATRIX_EVENT_TYPE_ROOM_TOPIC</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_ROOM_TOPIC (matrix_event_room_topic_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopic" title="struct MatrixEventRoomTopic"><span class="type">MatrixEventRoomTopic</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-topic-new"></a><h3>matrix_event_room_topic_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopic" title="struct MatrixEventRoomTopic"><span class="returnvalue">MatrixEventRoomTopic</span></a> *
matrix_event_room_topic_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-topic-get-topic"></a><h3>matrix_event_room_topic_get_topic ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_room_topic_get_topic (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopic" title="struct MatrixEventRoomTopic"><span class="type">MatrixEventRoomTopic</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"topic"</span> property.</p>
<p>The topic text.</p>
<div class="refsect3">
<a name="id-1.2.41.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopic" title="struct MatrixEventRoomTopic"><span class="type">MatrixEventRoomTopic</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.41.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"topic"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-room-topic-set-topic"></a><h3>matrix_event_room_topic_set_topic ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_room_topic_set_topic (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopic" title="struct MatrixEventRoomTopic"><span class="type">MatrixEventRoomTopic</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"topic"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The topic text.</p>
<div class="refsect3">
<a name="id-1.2.41.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopic" title="struct MatrixEventRoomTopic"><span class="type">MatrixEventRoomTopic</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"topic"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventRoomTopic.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventRoomTopic"></a><h3>struct MatrixEventRoomTopic</h3>
<pre class="programlisting">struct MatrixEventRoomTopic {
MatrixEventState parent_instance;
MatrixEventRoomTopicPrivate * priv;
};
</pre>
<p>Event type to hold the m.room.topic event.</p>
<p>A topic is a short message detailing what is currently being discussed in the room. It can also be used as a way to display extra information about the room, which may not be suitable for the room name.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventRoomTopicClass"></a><h3>struct MatrixEventRoomTopicClass</h3>
<pre class="programlisting">struct MatrixEventRoomTopicClass {
MatrixEventStateClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventRoomTopic.html#MATRIX-EVENT-TYPE-ROOM-TOPIC:CAPS" title="MATRIX_EVENT_TYPE_ROOM_TOPIC"><code class="literal">MATRIX_EVENT_TYPE_ROOM_TOPIC</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.41.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass"><span class="type">MatrixEventStateClass</span></a> <em class="structfield"><code><a name="MatrixEventRoomTopicClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,299 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventState: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventPresence.html" title="MatrixEventPresence">
<link rel="next" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html" title="MatrixEventRoomCanonicalAlias">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventState.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventPresence.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventState"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventState.top_of_page"></a>MatrixEventState</span></h2>
<p>MatrixEventState</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventState.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventState.html#MATRIX-EVENT-TYPE-STATE:CAPS" title="MATRIX_EVENT_TYPE_STATE">MATRIX_EVENT_TYPE_STATE</a></td>
</tr>
<tr>
<td class="function_type">
<a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventState.html#matrix-event-state-get-stripped-node" title="matrix_event_state_get_stripped_node ()">matrix_event_state_get_stripped_node</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventState.html#matrix-event-state-get-state-key" title="matrix_event_state_get_state_key ()">matrix_event_state_get_state_key</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventState.html#matrix-event-state-set-state-key" title="matrix_event_state_set_state_key ()">matrix_event_state_set_state_key</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventState.html#matrix-event-state-get-prev-content" title="matrix_event_state_get_prev_content ()">matrix_event_state_get_prev_content</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventState.html#matrix-event-state-set-prev-content" title="matrix_event_state_set_prev_content ()">matrix_event_state_set_prev_content</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventState.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState">MatrixEventState</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass" title="struct MatrixEventStateClass">MatrixEventStateClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventState.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventState.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-STATE:CAPS"></a><h3>MATRIX_EVENT_TYPE_STATE</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_STATE (matrix_event_state_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-state-get-stripped-node"></a><h3>matrix_event_state_get_stripped_node ()</h3>
<pre class="programlisting"><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
matrix_event_state_get_stripped_node (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> *self</code></em>);</pre>
<p>Get a stripped state event.</p>
<div class="refsect3">
<a name="id-1.2.8.6.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.8.6.3.6"></a><h4>Returns</h4>
<p>`null` if the event is not allowed to be stripped, or the full JSON node otherwise </p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-state-get-state-key"></a><h3>matrix_event_state_get_state_key ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_state_get_state_key (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"state-key"</span> property.</p>
<div class="refsect3">
<a name="id-1.2.8.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.8.6.4.6"></a><h4>Returns</h4>
<p> the value of the <span class="type">"state-key"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-state-set-state-key"></a><h3>matrix_event_state_set_state_key ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_state_set_state_key (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"state-key"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.8.6.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"state-key"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-state-get-prev-content"></a><h3>matrix_event_state_get_prev_content ()</h3>
<pre class="programlisting"><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
matrix_event_state_get_prev_content (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"prev-content"</span> property.</p>
<div class="refsect3">
<a name="id-1.2.8.6.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.8.6.6.6"></a><h4>Returns</h4>
<p> the value of the <span class="type">"prev-content"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-state-set-prev-content"></a><h3>matrix_event_state_set_prev_content ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_state_set_prev_content (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> *self</code></em>,
<em class="parameter"><code><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"prev-content"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.8.6.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventState.html#MatrixEventState" title="struct MatrixEventState"><span class="type">MatrixEventState</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"prev-content"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventState.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventState"></a><h3>struct MatrixEventState</h3>
<pre class="programlisting">struct MatrixEventState {
MatrixEventRoom parent_instance;
MatrixEventStatePrivate * priv;
gchar* _state_key;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventStateClass"></a><h3>struct MatrixEventStateClass</h3>
<pre class="programlisting">struct MatrixEventStateClass {
MatrixEventRoomClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventState.html#MATRIX-EVENT-TYPE-STATE:CAPS" title="MATRIX_EVENT_TYPE_STATE"><code class="literal">MATRIX_EVENT_TYPE_STATE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.8.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoomClass" title="struct MatrixEventRoomClass"><span class="type">MatrixEventRoomClass</span></a> <em class="structfield"><code><a name="MatrixEventStateClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,133 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventTag: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventBase.html" title="MatrixEventBase">
<link rel="next" href="Matrix-0.0-MatrixEventCallAnswer.html" title="MatrixEventCallAnswer">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventTag.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventBase.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventCallAnswer.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventTag"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventTag.top_of_page"></a>MatrixEventTag</span></h2>
<p>MatrixEventTag</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventTag.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventTag.html#MATRIX-EVENT-TYPE-TAG:CAPS" title="MATRIX_EVENT_TYPE_TAG">MATRIX_EVENT_TYPE_TAG</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventTag.html#MatrixEventTag" title="struct MatrixEventTag"><span class="returnvalue">MatrixEventTag</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventTag.html#matrix-event-tag-new" title="matrix_event_tag_new ()">matrix_event_tag_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventTag.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventTag.html#MatrixEventTag" title="struct MatrixEventTag">MatrixEventTag</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventTag.html#MatrixEventTagClass" title="struct MatrixEventTagClass">MatrixEventTagClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventTag.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventTag.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-TAG:CAPS"></a><h3>MATRIX_EVENT_TYPE_TAG</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_TAG (matrix_event_tag_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventTag.html#MatrixEventTag" title="struct MatrixEventTag"><span class="type">MatrixEventTag</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-tag-new"></a><h3>matrix_event_tag_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventTag.html#MatrixEventTag" title="struct MatrixEventTag"><span class="returnvalue">MatrixEventTag</span></a> *
matrix_event_tag_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventTag.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventTag"></a><h3>struct MatrixEventTag</h3>
<pre class="programlisting">struct MatrixEventTag {
MatrixEventBase parent_instance;
MatrixEventTagPrivate * priv;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventTagClass"></a><h3>struct MatrixEventTagClass</h3>
<pre class="programlisting">struct MatrixEventTagClass {
MatrixEventBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventTag.html#MATRIX-EVENT-TYPE-TAG:CAPS" title="MATRIX_EVENT_TYPE_TAG"><code class="literal">MATRIX_EVENT_TYPE_TAG</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.28.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBaseClass" title="struct MatrixEventBaseClass"><span class="type">MatrixEventBaseClass</span></a> <em class="structfield"><code><a name="MatrixEventTagClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,287 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixEventTyping: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixProfile.html" title="MatrixProfile">
<link rel="next" href="Matrix-0.0-MatrixJsonCompact.html" title="MatrixJsonCompact">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixEventTyping.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixProfile.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixJsonCompact.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixEventTyping"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixEventTyping.top_of_page"></a>MatrixEventTyping</span></h2>
<p>MatrixEventTyping — Class to hold an m.typing event.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventTyping.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventTyping.html#MATRIX-EVENT-TYPE-TYPING:CAPS" title="MATRIX_EVENT_TYPE_TYPING">MATRIX_EVENT_TYPE_TYPING</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="returnvalue">MatrixEventTyping</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-new" title="matrix_event_typing_new ()">matrix_event_typing_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-get-room-id" title="matrix_event_typing_get_room_id ()">matrix_event_typing_get_room_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-set-room-id" title="matrix_event_typing_set_room_id ()">matrix_event_typing_set_room_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gchar</span> **
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-get-user-ids" title="matrix_event_typing_get_user_ids ()">matrix_event_typing_get_user_ids</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-set-user-ids" title="matrix_event_typing_set_user_ids ()">matrix_event_typing_set_user_ids</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventTyping.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping">MatrixEventTyping</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTypingClass" title="struct MatrixEventTypingClass">MatrixEventTypingClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventTyping.description"></a><h2>Description</h2>
<p>Informs the client of the list of users currently typing.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventTyping.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-EVENT-TYPE-TYPING:CAPS"></a><h3>MATRIX_EVENT_TYPE_TYPING</h3>
<pre class="programlisting">#define MATRIX_EVENT_TYPE_TYPING (matrix_event_typing_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="type">MatrixEventTyping</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-typing-new"></a><h3>matrix_event_typing_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="returnvalue">MatrixEventTyping</span></a> *
matrix_event_typing_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-typing-get-room-id"></a><h3>matrix_event_typing_get_room_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_event_typing_get_room_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="type">MatrixEventTyping</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"room-id"</span> property.</p>
<p>The ID of the room this event belongs to.</p>
<div class="refsect3">
<a name="id-1.2.14.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="type">MatrixEventTyping</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.14.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"room-id"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-typing-set-room-id"></a><h3>matrix_event_typing_set_room_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_typing_set_room_id (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="type">MatrixEventTyping</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"room-id"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The ID of the room this event belongs to.</p>
<div class="refsect3">
<a name="id-1.2.14.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="type">MatrixEventTyping</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"room-id"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-typing-get-user-ids"></a><h3>matrix_event_typing_get_user_ids ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> **
matrix_event_typing_get_user_ids (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="type">MatrixEventTyping</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">int</span> *result_length1</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"user-ids"</span> property.</p>
<p>The list of user IDs typing in this room, if any.</p>
<div class="refsect3">
<a name="id-1.2.14.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="type">MatrixEventTyping</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.14.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"user-ids"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-event-typing-set-user-ids"></a><h3>matrix_event_typing_set_user_ids ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_event_typing_set_user_ids (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="type">MatrixEventTyping</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gchar</span> **value</code></em>,
<em class="parameter"><code><span class="type">int</span> value_length1</code></em>);</pre>
<p>Set the value of the <span class="type">"user-ids"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The list of user IDs typing in this room, if any.</p>
<div class="refsect3">
<a name="id-1.2.14.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping" title="struct MatrixEventTyping"><span class="type">MatrixEventTyping</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"user-ids"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixEventTyping.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixEventTyping"></a><h3>struct MatrixEventTyping</h3>
<pre class="programlisting">struct MatrixEventTyping {
MatrixEventBase parent_instance;
MatrixEventTypingPrivate * priv;
};
</pre>
<p>Class to hold an m.typing event.</p>
<p>Informs the client of the list of users currently typing.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixEventTypingClass"></a><h3>struct MatrixEventTypingClass</h3>
<pre class="programlisting">struct MatrixEventTypingClass {
MatrixEventBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixEventTyping.html#MATRIX-EVENT-TYPE-TYPING:CAPS" title="MATRIX_EVENT_TYPE_TYPING"><code class="literal">MATRIX_EVENT_TYPE_TYPING</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.14.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixEventBase.html#MatrixEventBaseClass" title="struct MatrixEventBaseClass"><span class="type">MatrixEventBaseClass</span></a> <em class="structfield"><code><a name="MatrixEventTypingClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,304 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixHTTPAPI: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixMessageLocation.html" title="MatrixMessageLocation">
<link rel="next" href="Matrix-0.0-MatrixEventCallInvite.html" title="MatrixEventCallInvite">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixHTTPAPI.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixMessageLocation.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventCallInvite.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixHTTPAPI"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixHTTPAPI.top_of_page"></a>MatrixHTTPAPI</span></h2>
<p>MatrixHTTPAPI — This is a class for low level communication with a Matrix.org server via HTTP.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixHTTPAPI.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MATRIX-TYPE-HTTP-API:CAPS" title="MATRIX_TYPE_HTTP_API">MATRIX_TYPE_HTTP_API</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="returnvalue">MatrixHTTPAPI</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-new" title="matrix_http_api_new ()">matrix_http_api_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-get-base-url" title="matrix_http_api_get_base_url ()">matrix_http_api_get_base_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-set-base-url" title="matrix_http_api_set_base_url ()">matrix_http_api_set_base_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-get-validate-certificate" title="matrix_http_api_get_validate_certificate ()">matrix_http_api_get_validate_certificate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-set-validate-certificate" title="matrix_http_api_set_validate_certificate ()">matrix_http_api_set_validate_certificate</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixHTTPAPI.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI">MatrixHTTPAPI</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPIClass" title="struct MatrixHTTPAPIClass">MatrixHTTPAPIClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixHTTPAPI.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixHTTPAPI.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-TYPE-HTTP-API:CAPS"></a><h3>MATRIX_TYPE_HTTP_API</h3>
<pre class="programlisting">#define MATRIX_TYPE_HTTP_API (matrix_http_api_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="type">MatrixHTTPAPI</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-http-api-new"></a><h3>matrix_http_api_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="returnvalue">MatrixHTTPAPI</span></a> *
matrix_http_api_new (<em class="parameter"><code>const <span class="type">gchar</span> *base_url</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *token</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.4.6.3.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>base_url</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>token</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-http-api-get-base-url"></a><h3>matrix_http_api_get_base_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_http_api_get_base_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="type">MatrixHTTPAPI</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"base-url"</span> property.</p>
<div class="refsect3">
<a name="id-1.2.4.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="type">MatrixHTTPAPI</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.4.6.4.6"></a><h4>Returns</h4>
<p> the value of the <span class="type">"base-url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-http-api-set-base-url"></a><h3>matrix_http_api_set_base_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_http_api_set_base_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="type">MatrixHTTPAPI</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"base-url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.4.6.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="type">MatrixHTTPAPI</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"base-url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-http-api-get-validate-certificate"></a><h3>matrix_http_api_get_validate_certificate ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
matrix_http_api_get_validate_certificate
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="type">MatrixHTTPAPI</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"validate-certificate"</span> property.</p>
<div class="refsect3">
<a name="id-1.2.4.6.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="type">MatrixHTTPAPI</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.4.6.6.6"></a><h4>Returns</h4>
<p> the value of the <span class="type">"validate-certificate"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-http-api-set-validate-certificate"></a><h3>matrix_http_api_set_validate_certificate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_http_api_set_validate_certificate
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="type">MatrixHTTPAPI</span></a> *self</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
<p>Set the value of the <span class="type">"validate-certificate"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.4.6.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI" title="struct MatrixHTTPAPI"><span class="type">MatrixHTTPAPI</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"validate-certificate"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixHTTPAPI.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixHTTPAPI"></a><h3>struct MatrixHTTPAPI</h3>
<pre class="programlisting">struct MatrixHTTPAPI {
GObject parent_instance;
MatrixHTTPAPIPrivate * priv;
};
</pre>
<p>This is a class for low level communication with a Matrix.org server via HTTP.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixHTTPAPIClass"></a><h3>struct MatrixHTTPAPIClass</h3>
<pre class="programlisting">struct MatrixHTTPAPIClass {
GObjectClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MATRIX-TYPE-HTTP-API:CAPS" title="MATRIX_TYPE_HTTP_API"><code class="literal">MATRIX_TYPE_HTTP_API</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.4.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><span class="type">GObjectClass</span> <em class="structfield"><code><a name="MatrixHTTPAPIClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,149 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixHTTPClient: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html" title="MatrixEventRoomMessageFeedback">
<link rel="next" href="Matrix-0.0-MatrixEventRoomCreate.html" title="MatrixEventRoomCreate">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixHTTPClient.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomMessageFeedback.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomCreate.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixHTTPClient"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixHTTPClient.top_of_page"></a>MatrixHTTPClient</span></h2>
<p>MatrixHTTPClient — An event-driven client class to communicate with HTTP based Matrix.org servers.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixHTTPClient.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixHTTPClient.html#MATRIX-TYPE-HTTP-CLIENT:CAPS" title="MATRIX_TYPE_HTTP_CLIENT">MATRIX_TYPE_HTTP_CLIENT</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixHTTPClient.html#MatrixHTTPClient" title="struct MatrixHTTPClient"><span class="returnvalue">MatrixHTTPClient</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixHTTPClient.html#matrix-http-client-new" title="matrix_http_client_new ()">matrix_http_client_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixHTTPClient.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixHTTPClient.html#MatrixHTTPClient" title="struct MatrixHTTPClient">MatrixHTTPClient</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixHTTPClient.html#MatrixHTTPClientClass" title="struct MatrixHTTPClientClass">MatrixHTTPClientClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixHTTPClient.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixHTTPClient.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-TYPE-HTTP-CLIENT:CAPS"></a><h3>MATRIX_TYPE_HTTP_CLIENT</h3>
<pre class="programlisting">#define MATRIX_TYPE_HTTP_CLIENT (matrix_http_client_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixHTTPClient.html#MatrixHTTPClient" title="struct MatrixHTTPClient"><span class="type">MatrixHTTPClient</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-http-client-new"></a><h3>matrix_http_client_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixHTTPClient.html#MatrixHTTPClient" title="struct MatrixHTTPClient"><span class="returnvalue">MatrixHTTPClient</span></a> *
matrix_http_client_new (<em class="parameter"><code>const <span class="type">gchar</span> *base_url</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.21.6.3.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>base_url</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixHTTPClient.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixHTTPClient"></a><h3>struct MatrixHTTPClient</h3>
<pre class="programlisting">struct MatrixHTTPClient {
MatrixHTTPAPI parent_instance;
MatrixHTTPClientPrivate * priv;
};
</pre>
<p>An event-driven client class to communicate with HTTP based Matrix.org servers.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixHTTPClientClass"></a><h3>struct MatrixHTTPClientClass</h3>
<pre class="programlisting">struct MatrixHTTPClientClass {
MatrixHTTPAPIClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixHTTPClient.html#MATRIX-TYPE-HTTP-CLIENT:CAPS" title="MATRIX_TYPE_HTTP_CLIENT"><code class="literal">MATRIX_TYPE_HTTP_CLIENT</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.21.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPIClass" title="struct MatrixHTTPAPIClass"><span class="type">MatrixHTTPAPIClass</span></a> <em class="structfield"><code><a name="MatrixHTTPClientClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,285 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixMessageAudio: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixClient.html" title="MatrixClient">
<link rel="next" href="Matrix-0.0-MatrixProfile.html" title="MatrixProfile">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixMessageAudio.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixClient.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixProfile.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixMessageAudio"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixMessageAudio.top_of_page"></a>MatrixMessageAudio</span></h2>
<p>MatrixMessageAudio — Class to hold a m.audio message</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageAudio.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MATRIX-MESSAGE-TYPE-AUDIO:CAPS" title="MATRIX_MESSAGE_TYPE_AUDIO">MATRIX_MESSAGE_TYPE_AUDIO</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="returnvalue">MatrixMessageAudio</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-new" title="matrix_message_audio_new ()">matrix_message_audio_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-get-url" title="matrix_message_audio_get_url ()">matrix_message_audio_get_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-set-url" title="matrix_message_audio_set_url ()">matrix_message_audio_set_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixAudioInfo" title="struct MatrixAudioInfo"><span class="returnvalue">MatrixAudioInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-get-info" title="matrix_message_audio_get_info ()">matrix_message_audio_get_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-set-info" title="matrix_message_audio_set_info ()">matrix_message_audio_set_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageAudio.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio">MatrixMessageAudio</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudioClass" title="struct MatrixMessageAudioClass">MatrixMessageAudioClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageAudio.description"></a><h2>Description</h2>
<p>This message represents a single audio clip.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageAudio.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-MESSAGE-TYPE-AUDIO:CAPS"></a><h3>MATRIX_MESSAGE_TYPE_AUDIO</h3>
<pre class="programlisting">#define MATRIX_MESSAGE_TYPE_AUDIO (matrix_message_audio_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="type">MatrixMessageAudio</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-audio-new"></a><h3>matrix_message_audio_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="returnvalue">MatrixMessageAudio</span></a> *
matrix_message_audio_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-audio-get-url"></a><h3>matrix_message_audio_get_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_audio_get_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="type">MatrixMessageAudio</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"url"</span> property.</p>
<p>The URL to the audio clip.</p>
<div class="refsect3">
<a name="id-1.2.12.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="type">MatrixMessageAudio</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.12.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-audio-set-url"></a><h3>matrix_message_audio_set_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_audio_set_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="type">MatrixMessageAudio</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The URL to the audio clip.</p>
<div class="refsect3">
<a name="id-1.2.12.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="type">MatrixMessageAudio</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-audio-get-info"></a><h3>matrix_message_audio_get_info ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixAudioInfo" title="struct MatrixAudioInfo"><span class="returnvalue">MatrixAudioInfo</span></a> *
matrix_message_audio_get_info (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="type">MatrixMessageAudio</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"info"</span> property.</p>
<p>Metadata for the audio clip referred to in <code class="literal">url</code>.</p>
<div class="refsect3">
<a name="id-1.2.12.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="type">MatrixMessageAudio</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.12.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"info"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-audio-set-info"></a><h3>matrix_message_audio_set_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_audio_set_info (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="type">MatrixMessageAudio</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixAudioInfo" title="struct MatrixAudioInfo"><span class="type">MatrixAudioInfo</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"info"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Metadata for the audio clip referred to in <code class="literal">url</code>.</p>
<div class="refsect3">
<a name="id-1.2.12.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio" title="struct MatrixMessageAudio"><span class="type">MatrixMessageAudio</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"info"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageAudio.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixMessageAudio"></a><h3>struct MatrixMessageAudio</h3>
<pre class="programlisting">struct MatrixMessageAudio {
MatrixMessageBase parent_instance;
MatrixMessageAudioPrivate * priv;
};
</pre>
<p>Class to hold a m.audio message</p>
<p>This message represents a single audio clip.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixMessageAudioClass"></a><h3>struct MatrixMessageAudioClass</h3>
<pre class="programlisting">struct MatrixMessageAudioClass {
MatrixMessageBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixMessageAudio.html#MATRIX-MESSAGE-TYPE-AUDIO:CAPS" title="MATRIX_MESSAGE_TYPE_AUDIO"><code class="literal">MATRIX_MESSAGE_TYPE_AUDIO</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.12.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass" title="struct MatrixMessageBaseClass"><span class="type">MatrixMessageBaseClass</span></a> <em class="structfield"><code><a name="MatrixMessageAudioClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,590 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixMessageBase: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoom.html" title="MatrixEventRoom">
<link rel="next" href="Matrix-0.0-MatrixEventReceipt.html" title="MatrixEventReceipt">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixMessageBase.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoom.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventReceipt.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixMessageBase"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixMessageBase.top_of_page"></a>MatrixMessageBase</span></h2>
<p>MatrixMessageBase — Base class for message handlers.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageBase.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">GType</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-get-handler" title="matrix_message_get_handler ()">matrix_message_get_handler</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-register-type" title="matrix_message_register_type ()">matrix_message_register_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-unregister-type" title="matrix_message_unregister_type ()">matrix_message_unregister_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MATRIX-MESSAGE-TYPE-BASE:CAPS" title="MATRIX_MESSAGE_TYPE_BASE">MATRIX_MESSAGE_TYPE_BASE</a></td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-from-json" title="matrix_message_base_from_json ()">matrix_message_base_from_json</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-to-json" title="matrix_message_base_to_json ()">matrix_message_base_to_json</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-get-message-type" title="matrix_message_base_get_message_type ()">matrix_message_base_get_message_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-set-message-type" title="matrix_message_base_set_message_type ()">matrix_message_base_set_message_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-get-body" title="matrix_message_base_get_body ()">matrix_message_base_get_body</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-set-body" title="matrix_message_base_set_body ()">matrix_message_base_set_body</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-get-json" title="matrix_message_base_get_json ()">matrix_message_base_get_json</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="returnvalue">MatrixMessageBase</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-new-from-json" title="matrix_message_base_new_from_json ()">matrix_message_base_new_from_json</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageBase.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase">MatrixMessageBase</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass" title="struct MatrixMessageBaseClass">MatrixMessageBaseClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageBase.description"></a><h2>Description</h2>
<p>Message handler base class.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageBase.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="matrix-message-get-handler"></a><h3>matrix_message_get_handler ()</h3>
<pre class="programlisting"><span class="returnvalue">GType</span> *
matrix_message_get_handler (<em class="parameter"><code>const <span class="type">gchar</span> *message_type</code></em>);</pre>
<p>Get the <span class="type">GType</span> of the class that is registered to handle messages with type <em class="parameter"><code>param</code></em>
message_type.</p>
<div class="refsect3">
<a name="id-1.2.18.6.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the (null) instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>message_type</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the message type to look up </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.18.6.2.6"></a><h4>Returns</h4>
<p>a <span class="type">GType</span> or `null` if no handler is registered </p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-register-type"></a><h3>matrix_message_register_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_register_type (<em class="parameter"><code>const <span class="type">gchar</span> *message_type</code></em>,
<em class="parameter"><code><span class="type">GType</span> message_gtype</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Register <em class="parameter"><code>param</code></em>
message_type to be handled by the type <em class="parameter"><code>param</code></em>
message_gtype.</p>
<div class="refsect3">
<a name="id-1.2.18.6.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the (null) instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>message_type</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the type of the message </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>message_gtype</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the <span class="type">GType</span> of the event's handler </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-unregister-type"></a><h3>matrix_message_unregister_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_unregister_type (<em class="parameter"><code>const <span class="type">gchar</span> *message_type</code></em>);</pre>
<p>Unregister <em class="parameter"><code>param</code></em>
message_type.</p>
<div class="refsect3">
<a name="id-1.2.18.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the (null) instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>message_type</p></td>
<td class="parameter_description">
<p>  . </p>
<p>the message type to remove </p>
<p>. </p>
</td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="MATRIX-MESSAGE-TYPE-BASE:CAPS"></a><h3>MATRIX_MESSAGE_TYPE_BASE</h3>
<pre class="programlisting">#define MATRIX_MESSAGE_TYPE_BASE (matrix_message_base_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-base-from-json"></a><h3>matrix_message_base_from_json ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_base_from_json (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> *self</code></em>,
<em class="parameter"><code><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *json_data</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Subclasses should override this method to initialize themselves from JSON data while chaining up to allow parent classes to do the same.</p>
<div class="refsect3">
<a name="id-1.2.18.6.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>json_data</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-base-to-json"></a><h3>matrix_message_base_to_json ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_base_to_json (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> *self</code></em>,
<em class="parameter"><code><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *json_data</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Subclasses should override this method to export their data to JSON, while chaining up to allow parent classes to do the same.</p>
<div class="refsect3">
<a name="id-1.2.18.6.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>json_data</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-base-get-message-type"></a><h3>matrix_message_base_get_message_type ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_base_get_message_type (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"message-type"</span> property.</p>
<p>The message type.</p>
<div class="refsect3">
<a name="id-1.2.18.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.18.6.8.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"message-type"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-base-set-message-type"></a><h3>matrix_message_base_set_message_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_base_set_message_type (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"message-type"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The message type.</p>
<div class="refsect3">
<a name="id-1.2.18.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"message-type"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-base-get-body"></a><h3>matrix_message_base_get_body ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_base_get_body (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"body"</span> property.</p>
<p>The body of the message.</p>
<div class="refsect3">
<a name="id-1.2.18.6.10.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.18.6.10.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"body"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-base-set-body"></a><h3>matrix_message_base_set_body ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_base_set_body (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"body"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The body of the message.</p>
<div class="refsect3">
<a name="id-1.2.18.6.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"body"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-base-get-json"></a><h3>matrix_message_base_get_json ()</h3>
<pre class="programlisting"><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
matrix_message_base_get_json (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"json"</span> property.</p>
<div class="refsect3">
<a name="id-1.2.18.6.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="type">MatrixMessageBase</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.18.6.12.6"></a><h4>Returns</h4>
<p> the value of the <span class="type">"json"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-base-new-from-json"></a><h3>matrix_message_base_new_from_json ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase" title="struct MatrixMessageBase"><span class="returnvalue">MatrixMessageBase</span></a> *
matrix_message_base_new_from_json (<em class="parameter"><code><a href="../json-glib/json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *json_data</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.18.6.13.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>json_data</p></td>
<td class="parameter_description"><p> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> location to store the error occuring, or <code class="literal">NULL</code> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Typed errors. Similar to throws in Java."><span class="acronym">error-domains</span></acronym> MatrixError]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageBase.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixMessageBase"></a><h3>struct MatrixMessageBase</h3>
<pre class="programlisting">struct MatrixMessageBase {
GObject parent_instance;
MatrixMessageBasePrivate * priv;
};
</pre>
<p>Base class for message handlers.</p>
<p>Message handler base class.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixMessageBaseClass"></a><h3>struct MatrixMessageBaseClass</h3>
<pre class="programlisting">struct MatrixMessageBaseClass {
GObjectClass parent_class;
void (*from_json) (MatrixMessageBase* self, JsonNode* json_data, GError** error);
void (*to_json) (MatrixMessageBase* self, JsonNode* json_data, GError** error);
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixMessageBase.html#MATRIX-MESSAGE-TYPE-BASE:CAPS" title="MATRIX_MESSAGE_TYPE_BASE"><code class="literal">MATRIX_MESSAGE_TYPE_BASE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.18.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><span class="type">GObjectClass</span> <em class="structfield"><code><a name="MatrixMessageBaseClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixMessageBaseClass.from-json"></a>from_json</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-from-json" title="matrix_message_base_from_json ()"><code class="function">matrix_message_base_from_json()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="MatrixMessageBaseClass.to-json"></a>to_json</code></em> ()</p></td>
<td class="struct_member_description"><p>virtual method called by <a class="link" href="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-to-json" title="matrix_message_base_to_json ()"><code class="function">matrix_message_base_to_json()</code></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,136 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixMessageEmote: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomMessage.html" title="MatrixEventRoomMessage">
<link rel="next" href="Matrix-0.0-matrix-types.html" title="matrix-types">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixMessageEmote.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomMessage.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-matrix-types.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixMessageEmote"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixMessageEmote.top_of_page"></a>MatrixMessageEmote</span></h2>
<p>MatrixMessageEmote — The emote message type</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageEmote.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageEmote.html#MATRIX-MESSAGE-TYPE-EMOTE:CAPS" title="MATRIX_MESSAGE_TYPE_EMOTE">MATRIX_MESSAGE_TYPE_EMOTE</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixMessageEmote.html#MatrixMessageEmote" title="struct MatrixMessageEmote"><span class="returnvalue">MatrixMessageEmote</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageEmote.html#matrix-message-emote-new" title="matrix_message_emote_new ()">matrix_message_emote_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageEmote.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageEmote.html#MatrixMessageEmote" title="struct MatrixMessageEmote">MatrixMessageEmote</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageEmote.html#MatrixMessageEmoteClass" title="struct MatrixMessageEmoteClass">MatrixMessageEmoteClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageEmote.description"></a><h2>Description</h2>
<p>This message is similar to `m.text` except that the sender is 'performing' the action contained in the `body` key, similar to `/me` in IRC. This message should be prefixed by the name of the sender. This message could also be represented in a different colour to distinguish it from regular `m.text` messages.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageEmote.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-MESSAGE-TYPE-EMOTE:CAPS"></a><h3>MATRIX_MESSAGE_TYPE_EMOTE</h3>
<pre class="programlisting">#define MATRIX_MESSAGE_TYPE_EMOTE (matrix_message_emote_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixMessageEmote.html#MatrixMessageEmote" title="struct MatrixMessageEmote"><span class="type">MatrixMessageEmote</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-emote-new"></a><h3>matrix_message_emote_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixMessageEmote.html#MatrixMessageEmote" title="struct MatrixMessageEmote"><span class="returnvalue">MatrixMessageEmote</span></a> *
matrix_message_emote_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageEmote.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixMessageEmote"></a><h3>struct MatrixMessageEmote</h3>
<pre class="programlisting">struct MatrixMessageEmote {
MatrixMessageBase parent_instance;
MatrixMessageEmotePrivate * priv;
};
</pre>
<p>The emote message type</p>
<p>This message is similar to `m.text` except that the sender is 'performing' the action contained in the `body` key, similar to `/me` in IRC. This message should be prefixed by the name of the sender. This message could also be represented in a different colour to distinguish it from regular `m.text` messages.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixMessageEmoteClass"></a><h3>struct MatrixMessageEmoteClass</h3>
<pre class="programlisting">struct MatrixMessageEmoteClass {
MatrixMessageBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixMessageEmote.html#MATRIX-MESSAGE-TYPE-EMOTE:CAPS" title="MATRIX_MESSAGE_TYPE_EMOTE"><code class="literal">MATRIX_MESSAGE_TYPE_EMOTE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.43.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass" title="struct MatrixMessageBaseClass"><span class="type">MatrixMessageBaseClass</span></a> <em class="structfield"><code><a name="MatrixMessageEmoteClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,510 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixMessageFile: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomJoinRules.html" title="MatrixEventRoomJoinRules">
<link rel="next" href="Matrix-0.0-MatrixEventBase.html" title="MatrixEventBase">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixMessageFile.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomJoinRules.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventBase.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixMessageFile"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixMessageFile.top_of_page"></a>MatrixMessageFile</span></h2>
<p>MatrixMessageFile — Class to hold a m.file message</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageFile.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MATRIX-MESSAGE-TYPE-FILE:CAPS" title="MATRIX_MESSAGE_TYPE_FILE">MATRIX_MESSAGE_TYPE_FILE</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="returnvalue">MatrixMessageFile</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-new" title="matrix_message_file_new ()">matrix_message_file_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-filename" title="matrix_message_file_get_filename ()">matrix_message_file_get_filename</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-filename" title="matrix_message_file_set_filename ()">matrix_message_file_set_filename</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-url" title="matrix_message_file_get_url ()">matrix_message_file_get_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-url" title="matrix_message_file_set_url ()">matrix_message_file_set_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixFileInfo" title="struct MatrixFileInfo"><span class="returnvalue">MatrixFileInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-info" title="matrix_message_file_get_info ()">matrix_message_file_get_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-info" title="matrix_message_file_set_info ()">matrix_message_file_set_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-thumbnail-url" title="matrix_message_file_get_thumbnail_url ()">matrix_message_file_get_thumbnail_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-thumbnail-url" title="matrix_message_file_set_thumbnail_url ()">matrix_message_file_set_thumbnail_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-thumbnail-info" title="matrix_message_file_get_thumbnail_info ()">matrix_message_file_get_thumbnail_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-thumbnail-info" title="matrix_message_file_set_thumbnail_info ()">matrix_message_file_set_thumbnail_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageFile.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile">MatrixMessageFile</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFileClass" title="struct MatrixMessageFileClass">MatrixMessageFileClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageFile.description"></a><h2>Description</h2>
<p>This message represents a generic file.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageFile.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-MESSAGE-TYPE-FILE:CAPS"></a><h3>MATRIX_MESSAGE_TYPE_FILE</h3>
<pre class="programlisting">#define MATRIX_MESSAGE_TYPE_FILE (matrix_message_file_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-new"></a><h3>matrix_message_file_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="returnvalue">MatrixMessageFile</span></a> *
matrix_message_file_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-get-filename"></a><h3>matrix_message_file_get_filename ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_file_get_filename (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"filename"</span> property.</p>
<p>The original filename of the uploaded file.</p>
<div class="refsect3">
<a name="id-1.2.26.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.26.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"filename"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-set-filename"></a><h3>matrix_message_file_set_filename ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_file_set_filename (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"filename"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The original filename of the uploaded file.</p>
<div class="refsect3">
<a name="id-1.2.26.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"filename"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-get-url"></a><h3>matrix_message_file_get_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_file_get_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"url"</span> property.</p>
<p>The URL of the file.</p>
<div class="refsect3">
<a name="id-1.2.26.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.26.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-set-url"></a><h3>matrix_message_file_set_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_file_set_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The URL of the file.</p>
<div class="refsect3">
<a name="id-1.2.26.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-get-info"></a><h3>matrix_message_file_get_info ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixFileInfo" title="struct MatrixFileInfo"><span class="returnvalue">MatrixFileInfo</span></a> *
matrix_message_file_get_info (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"info"</span> property.</p>
<p>Information about the file referred to in <code class="code">url</code>.</p>
<div class="refsect3">
<a name="id-1.2.26.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.26.6.8.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"info"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-set-info"></a><h3>matrix_message_file_set_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_file_set_info (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixFileInfo" title="struct MatrixFileInfo"><span class="type">MatrixFileInfo</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"info"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Information about the file referred to in <code class="code">url</code>.</p>
<div class="refsect3">
<a name="id-1.2.26.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"info"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-get-thumbnail-url"></a><h3>matrix_message_file_get_thumbnail_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_file_get_thumbnail_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"thumbnail-url"</span> property.</p>
<p>The URL of the thumbnail of the file.</p>
<div class="refsect3">
<a name="id-1.2.26.6.10.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.26.6.10.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"thumbnail-url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-set-thumbnail-url"></a><h3>matrix_message_file_set_thumbnail_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_file_set_thumbnail_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"thumbnail-url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The URL of the thumbnail of the file.</p>
<div class="refsect3">
<a name="id-1.2.26.6.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"thumbnail-url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-get-thumbnail-info"></a><h3>matrix_message_file_get_thumbnail_info ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
matrix_message_file_get_thumbnail_info
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"thumbnail-info"</span> property.</p>
<p>Metadata about the image referred to in <code class="literal">thumbnail_url</code>.</p>
<div class="refsect3">
<a name="id-1.2.26.6.12.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.26.6.12.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"thumbnail-info"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-file-set-thumbnail-info"></a><h3>matrix_message_file_set_thumbnail_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_file_set_thumbnail_info
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="type">MatrixImageInfo</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"thumbnail-info"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Metadata about the image referred to in <code class="literal">thumbnail_url</code>.</p>
<div class="refsect3">
<a name="id-1.2.26.6.13.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile" title="struct MatrixMessageFile"><span class="type">MatrixMessageFile</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"thumbnail-info"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageFile.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixMessageFile"></a><h3>struct MatrixMessageFile</h3>
<pre class="programlisting">struct MatrixMessageFile {
MatrixMessageBase parent_instance;
MatrixMessageFilePrivate * priv;
};
</pre>
<p>Class to hold a m.file message</p>
<p>This message represents a generic file.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixMessageFileClass"></a><h3>struct MatrixMessageFileClass</h3>
<pre class="programlisting">struct MatrixMessageFileClass {
MatrixMessageBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixMessageFile.html#MATRIX-MESSAGE-TYPE-FILE:CAPS" title="MATRIX_MESSAGE_TYPE_FILE"><code class="literal">MATRIX_MESSAGE_TYPE_FILE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.26.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass" title="struct MatrixMessageBaseClass"><span class="type">MatrixMessageBaseClass</span></a> <em class="structfield"><code><a name="MatrixMessageFileClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,438 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixMessageImage: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventCallAnswer.html" title="MatrixEventCallAnswer">
<link rel="next" href="Matrix-0.0-MatrixEventCallHangup.html" title="MatrixEventCallHangup">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixMessageImage.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventCallAnswer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventCallHangup.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixMessageImage"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixMessageImage.top_of_page"></a>MatrixMessageImage</span></h2>
<p>MatrixMessageImage — Class to hold a m.image message</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageImage.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MATRIX-MESSAGE-TYPE-IMAGE:CAPS" title="MATRIX_MESSAGE_TYPE_IMAGE">MATRIX_MESSAGE_TYPE_IMAGE</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="returnvalue">MatrixMessageImage</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-new" title="matrix_message_image_new ()">matrix_message_image_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-url" title="matrix_message_image_get_url ()">matrix_message_image_get_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-url" title="matrix_message_image_set_url ()">matrix_message_image_set_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-thumbnail-url" title="matrix_message_image_get_thumbnail_url ()">matrix_message_image_get_thumbnail_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-thumbnail-url" title="matrix_message_image_set_thumbnail_url ()">matrix_message_image_set_thumbnail_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-info" title="matrix_message_image_get_info ()">matrix_message_image_get_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-info" title="matrix_message_image_set_info ()">matrix_message_image_set_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-thumbnail-info" title="matrix_message_image_get_thumbnail_info ()">matrix_message_image_get_thumbnail_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-thumbnail-info" title="matrix_message_image_set_thumbnail_info ()">matrix_message_image_set_thumbnail_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageImage.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage">MatrixMessageImage</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImageClass" title="struct MatrixMessageImageClass">MatrixMessageImageClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageImage.description"></a><h2>Description</h2>
<p>This message represents a single image and an optional thumbnail.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageImage.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-MESSAGE-TYPE-IMAGE:CAPS"></a><h3>MATRIX_MESSAGE_TYPE_IMAGE</h3>
<pre class="programlisting">#define MATRIX_MESSAGE_TYPE_IMAGE (matrix_message_image_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-image-new"></a><h3>matrix_message_image_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="returnvalue">MatrixMessageImage</span></a> *
matrix_message_image_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-image-get-url"></a><h3>matrix_message_image_get_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_image_get_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"url"</span> property.</p>
<p>The URL to the image.</p>
<div class="refsect3">
<a name="id-1.2.30.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.30.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-image-set-url"></a><h3>matrix_message_image_set_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_image_set_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The URL to the image.</p>
<div class="refsect3">
<a name="id-1.2.30.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-image-get-thumbnail-url"></a><h3>matrix_message_image_get_thumbnail_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_image_get_thumbnail_url
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"thumbnail-url"</span> property.</p>
<p>The URL to the thumbnail of the image.</p>
<div class="refsect3">
<a name="id-1.2.30.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.30.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"thumbnail-url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-image-set-thumbnail-url"></a><h3>matrix_message_image_set_thumbnail_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_image_set_thumbnail_url
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"thumbnail-url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The URL to the thumbnail of the image.</p>
<div class="refsect3">
<a name="id-1.2.30.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"thumbnail-url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-image-get-info"></a><h3>matrix_message_image_get_info ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
matrix_message_image_get_info (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"info"</span> property.</p>
<p>Metadata about the image referred to in <code class="literal">url</code>.</p>
<div class="refsect3">
<a name="id-1.2.30.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.30.6.8.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"info"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-image-set-info"></a><h3>matrix_message_image_set_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_image_set_info (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="type">MatrixImageInfo</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"info"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Metadata about the image referred to in <code class="literal">url</code>.</p>
<div class="refsect3">
<a name="id-1.2.30.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"info"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-image-get-thumbnail-info"></a><h3>matrix_message_image_get_thumbnail_info ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
matrix_message_image_get_thumbnail_info
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"thumbnail-info"</span> property.</p>
<p>Metadata about the image referred to in <code class="literal">thumbnail_url</code>.</p>
<div class="refsect3">
<a name="id-1.2.30.6.10.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.30.6.10.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"thumbnail-info"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-image-set-thumbnail-info"></a><h3>matrix_message_image_set_thumbnail_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_image_set_thumbnail_info
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="type">MatrixImageInfo</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"thumbnail-info"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Metadata about the image referred to in <code class="literal">thumbnail_url</code>.</p>
<div class="refsect3">
<a name="id-1.2.30.6.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage" title="struct MatrixMessageImage"><span class="type">MatrixMessageImage</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"thumbnail-info"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageImage.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixMessageImage"></a><h3>struct MatrixMessageImage</h3>
<pre class="programlisting">struct MatrixMessageImage {
MatrixMessageBase parent_instance;
MatrixMessageImagePrivate * priv;
};
</pre>
<p>Class to hold a m.image message</p>
<p>This message represents a single image and an optional thumbnail.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixMessageImageClass"></a><h3>struct MatrixMessageImageClass</h3>
<pre class="programlisting">struct MatrixMessageImageClass {
MatrixMessageBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixMessageImage.html#MATRIX-MESSAGE-TYPE-IMAGE:CAPS" title="MATRIX_MESSAGE_TYPE_IMAGE"><code class="literal">MATRIX_MESSAGE_TYPE_IMAGE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.30.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass" title="struct MatrixMessageBaseClass"><span class="type">MatrixMessageBaseClass</span></a> <em class="structfield"><code><a name="MatrixMessageImageClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,361 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixMessageLocation: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html" title="MatrixEventRoomThirdPartyInvite">
<link rel="next" href="Matrix-0.0-MatrixHTTPAPI.html" title="MatrixHTTPAPI">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixMessageLocation.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixHTTPAPI.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixMessageLocation"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixMessageLocation.top_of_page"></a>MatrixMessageLocation</span></h2>
<p>MatrixMessageLocation — This message represents a real-world location.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageLocation.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MATRIX-MESSAGE-TYPE-LOCATION:CAPS" title="MATRIX_MESSAGE_TYPE_LOCATION">MATRIX_MESSAGE_TYPE_LOCATION</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="returnvalue">MatrixMessageLocation</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-new" title="matrix_message_location_new ()">matrix_message_location_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-get-geo-uri" title="matrix_message_location_get_geo_uri ()">matrix_message_location_get_geo_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-set-geo-uri" title="matrix_message_location_set_geo_uri ()">matrix_message_location_set_geo_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-get-thumbnail-url" title="matrix_message_location_get_thumbnail_url ()">matrix_message_location_get_thumbnail_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-set-thumbnail-url" title="matrix_message_location_set_thumbnail_url ()">matrix_message_location_set_thumbnail_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-get-thumbnail-info" title="matrix_message_location_get_thumbnail_info ()">matrix_message_location_get_thumbnail_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-set-thumbnail-info" title="matrix_message_location_set_thumbnail_info ()">matrix_message_location_set_thumbnail_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageLocation.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation">MatrixMessageLocation</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocationClass" title="struct MatrixMessageLocationClass">MatrixMessageLocationClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageLocation.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageLocation.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-MESSAGE-TYPE-LOCATION:CAPS"></a><h3>MATRIX_MESSAGE_TYPE_LOCATION</h3>
<pre class="programlisting">#define MATRIX_MESSAGE_TYPE_LOCATION (matrix_message_location_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-location-new"></a><h3>matrix_message_location_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="returnvalue">MatrixMessageLocation</span></a> *
matrix_message_location_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-location-get-geo-uri"></a><h3>matrix_message_location_get_geo_uri ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_location_get_geo_uri (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"geo-uri"</span> property.</p>
<p>A geo URI representing this location.</p>
<div class="refsect3">
<a name="id-1.2.3.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"geo-uri"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-location-set-geo-uri"></a><h3>matrix_message_location_set_geo_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_location_set_geo_uri (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"geo-uri"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>A geo URI representing this location.</p>
<div class="refsect3">
<a name="id-1.2.3.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"geo-uri"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-location-get-thumbnail-url"></a><h3>matrix_message_location_get_thumbnail_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_location_get_thumbnail_url
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"thumbnail-url"</span> property.</p>
<p>The URL to a thumbnail of the location being represented.</p>
<div class="refsect3">
<a name="id-1.2.3.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"thumbnail-url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-location-set-thumbnail-url"></a><h3>matrix_message_location_set_thumbnail_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_location_set_thumbnail_url
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"thumbnail-url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The URL to a thumbnail of the location being represented.</p>
<div class="refsect3">
<a name="id-1.2.3.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"thumbnail-url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-location-get-thumbnail-info"></a><h3>matrix_message_location_get_thumbnail_info ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="returnvalue">MatrixImageInfo</span></a> *
matrix_message_location_get_thumbnail_info
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"thumbnail-info"</span> property.</p>
<p>Metadata about the location referred to in <code class="literal">thumbnail_url</code>.</p>
<div class="refsect3">
<a name="id-1.2.3.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.6.8.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"thumbnail-info"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-location-set-thumbnail-info"></a><h3>matrix_message_location_set_thumbnail_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_location_set_thumbnail_info
(<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixImageInfo" title="struct MatrixImageInfo"><span class="type">MatrixImageInfo</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"thumbnail-info"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Metadata about the location referred to in <code class="literal">thumbnail_url</code>.</p>
<div class="refsect3">
<a name="id-1.2.3.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation" title="struct MatrixMessageLocation"><span class="type">MatrixMessageLocation</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"thumbnail-info"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageLocation.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixMessageLocation"></a><h3>struct MatrixMessageLocation</h3>
<pre class="programlisting">struct MatrixMessageLocation {
MatrixMessageBase parent_instance;
MatrixMessageLocationPrivate * priv;
};
</pre>
<p>This message represents a real-world location.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixMessageLocationClass"></a><h3>struct MatrixMessageLocationClass</h3>
<pre class="programlisting">struct MatrixMessageLocationClass {
MatrixMessageBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixMessageLocation.html#MATRIX-MESSAGE-TYPE-LOCATION:CAPS" title="MATRIX_MESSAGE_TYPE_LOCATION"><code class="literal">MATRIX_MESSAGE_TYPE_LOCATION</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.3.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass" title="struct MatrixMessageBaseClass"><span class="type">MatrixMessageBaseClass</span></a> <em class="structfield"><code><a name="MatrixMessageLocationClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,136 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixMessageNotice: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomRedaction.html" title="MatrixEventRoomRedaction">
<link rel="next" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html" title="MatrixEventRoomHistoryVisibility">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixMessageNotice.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomRedaction.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixMessageNotice"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixMessageNotice.top_of_page"></a>MatrixMessageNotice</span></h2>
<p>MatrixMessageNotice — Message type to hold a m.notice message</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageNotice.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageNotice.html#MATRIX-MESSAGE-TYPE-NOTICE:CAPS" title="MATRIX_MESSAGE_TYPE_NOTICE">MATRIX_MESSAGE_TYPE_NOTICE</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixMessageNotice.html#MatrixMessageNotice" title="struct MatrixMessageNotice"><span class="returnvalue">MatrixMessageNotice</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageNotice.html#matrix-message-notice-new" title="matrix_message_notice_new ()">matrix_message_notice_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageNotice.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageNotice.html#MatrixMessageNotice" title="struct MatrixMessageNotice">MatrixMessageNotice</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageNotice.html#MatrixMessageNoticeClass" title="struct MatrixMessageNoticeClass">MatrixMessageNoticeClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageNotice.description"></a><h2>Description</h2>
<p>A m.notice message should be considered similar to a plain m.text message except that clients should visually distinguish it in some way. It is intended to be used by automated clients, such as bots, bridges, and other entities, rather than humans. Additionally, such automated agents which watch a room for messages and respond to them ought to ignore m.notice messages. This helps to prevent infinite-loop situations where two automated clients continuously exchange messages, as each responds to the other.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageNotice.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-MESSAGE-TYPE-NOTICE:CAPS"></a><h3>MATRIX_MESSAGE_TYPE_NOTICE</h3>
<pre class="programlisting">#define MATRIX_MESSAGE_TYPE_NOTICE (matrix_message_notice_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixMessageNotice.html#MatrixMessageNotice" title="struct MatrixMessageNotice"><span class="type">MatrixMessageNotice</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-notice-new"></a><h3>matrix_message_notice_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixMessageNotice.html#MatrixMessageNotice" title="struct MatrixMessageNotice"><span class="returnvalue">MatrixMessageNotice</span></a> *
matrix_message_notice_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageNotice.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixMessageNotice"></a><h3>struct MatrixMessageNotice</h3>
<pre class="programlisting">struct MatrixMessageNotice {
MatrixMessageBase parent_instance;
MatrixMessageNoticePrivate * priv;
};
</pre>
<p>Message type to hold a m.notice message</p>
<p>A m.notice message should be considered similar to a plain m.text message except that clients should visually distinguish it in some way. It is intended to be used by automated clients, such as bots, bridges, and other entities, rather than humans. Additionally, such automated agents which watch a room for messages and respond to them ought to ignore m.notice messages. This helps to prevent infinite-loop situations where two automated clients continuously exchange messages, as each responds to the other.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixMessageNoticeClass"></a><h3>struct MatrixMessageNoticeClass</h3>
<pre class="programlisting">struct MatrixMessageNoticeClass {
MatrixMessageBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixMessageNotice.html#MATRIX-MESSAGE-TYPE-NOTICE:CAPS" title="MATRIX_MESSAGE_TYPE_NOTICE"><code class="literal">MATRIX_MESSAGE_TYPE_NOTICE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.33.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass" title="struct MatrixMessageBaseClass"><span class="type">MatrixMessageBaseClass</span></a> <em class="structfield"><code><a name="MatrixMessageNoticeClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,136 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixMessageText: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixEventRoomPowerLevels.html" title="MatrixEventRoomPowerLevels">
<link rel="next" href="Matrix-0.0-MatrixMessageVideo.html" title="MatrixMessageVideo">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixMessageText.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixEventRoomPowerLevels.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixMessageVideo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixMessageText"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixMessageText.top_of_page"></a>MatrixMessageText</span></h2>
<p>MatrixMessageText — Message handler for plain text messages</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageText.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageText.html#MATRIX-MESSAGE-TYPE-TEXT:CAPS" title="MATRIX_MESSAGE_TYPE_TEXT">MATRIX_MESSAGE_TYPE_TEXT</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixMessageText.html#MatrixMessageText" title="struct MatrixMessageText"><span class="returnvalue">MatrixMessageText</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageText.html#matrix-message-text-new" title="matrix_message_text_new ()">matrix_message_text_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageText.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageText.html#MatrixMessageText" title="struct MatrixMessageText">MatrixMessageText</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageText.html#MatrixMessageTextClass" title="struct MatrixMessageTextClass">MatrixMessageTextClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageText.description"></a><h2>Description</h2>
<p>Handle plain text messages.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageText.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-MESSAGE-TYPE-TEXT:CAPS"></a><h3>MATRIX_MESSAGE_TYPE_TEXT</h3>
<pre class="programlisting">#define MATRIX_MESSAGE_TYPE_TEXT (matrix_message_text_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixMessageText.html#MatrixMessageText" title="struct MatrixMessageText"><span class="type">MatrixMessageText</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-text-new"></a><h3>matrix_message_text_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixMessageText.html#MatrixMessageText" title="struct MatrixMessageText"><span class="returnvalue">MatrixMessageText</span></a> *
matrix_message_text_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageText.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixMessageText"></a><h3>struct MatrixMessageText</h3>
<pre class="programlisting">struct MatrixMessageText {
MatrixMessageBase parent_instance;
MatrixMessageTextPrivate * priv;
};
</pre>
<p>Message handler for plain text messages</p>
<p>Handle plain text messages.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixMessageTextClass"></a><h3>struct MatrixMessageTextClass</h3>
<pre class="programlisting">struct MatrixMessageTextClass {
MatrixMessageBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixMessageText.html#MATRIX-MESSAGE-TYPE-TEXT:CAPS" title="MATRIX_MESSAGE_TYPE_TEXT"><code class="literal">MATRIX_MESSAGE_TYPE_TEXT</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.39.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass" title="struct MatrixMessageBaseClass"><span class="type">MatrixMessageBaseClass</span></a> <em class="structfield"><code><a name="MatrixMessageTextClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,283 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixMessageVideo: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixMessageText.html" title="MatrixMessageText">
<link rel="next" href="Matrix-0.0-MatrixEventRoomTopic.html" title="MatrixEventRoomTopic">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixMessageVideo.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixMessageText.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomTopic.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixMessageVideo"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixMessageVideo.top_of_page"></a>MatrixMessageVideo</span></h2>
<p>MatrixMessageVideo — This message represents a single video clip.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageVideo.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MATRIX-MESSAGE-TYPE-VIDEO:CAPS" title="MATRIX_MESSAGE_TYPE_VIDEO">MATRIX_MESSAGE_TYPE_VIDEO</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="returnvalue">MatrixMessageVideo</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-new" title="matrix_message_video_new ()">matrix_message_video_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-get-url" title="matrix_message_video_get_url ()">matrix_message_video_get_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-set-url" title="matrix_message_video_set_url ()">matrix_message_video_set_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-matrix-types.html#MatrixVideoInfo" title="struct MatrixVideoInfo"><span class="returnvalue">MatrixVideoInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-get-info" title="matrix_message_video_get_info ()">matrix_message_video_get_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-set-info" title="matrix_message_video_set_info ()">matrix_message_video_set_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageVideo.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo">MatrixMessageVideo</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideoClass" title="struct MatrixMessageVideoClass">MatrixMessageVideoClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageVideo.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageVideo.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-MESSAGE-TYPE-VIDEO:CAPS"></a><h3>MATRIX_MESSAGE_TYPE_VIDEO</h3>
<pre class="programlisting">#define MATRIX_MESSAGE_TYPE_VIDEO (matrix_message_video_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="type">MatrixMessageVideo</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-video-new"></a><h3>matrix_message_video_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="returnvalue">MatrixMessageVideo</span></a> *
matrix_message_video_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-video-get-url"></a><h3>matrix_message_video_get_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_message_video_get_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="type">MatrixMessageVideo</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"url"</span> property.</p>
<p>The URL to the video clip.</p>
<div class="refsect3">
<a name="id-1.2.40.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="type">MatrixMessageVideo</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.40.6.4.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-video-set-url"></a><h3>matrix_message_video_set_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_video_set_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="type">MatrixMessageVideo</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The URL to the video clip.</p>
<div class="refsect3">
<a name="id-1.2.40.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="type">MatrixMessageVideo</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-video-get-info"></a><h3>matrix_message_video_get_info ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-matrix-types.html#MatrixVideoInfo" title="struct MatrixVideoInfo"><span class="returnvalue">MatrixVideoInfo</span></a> *
matrix_message_video_get_info (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="type">MatrixMessageVideo</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"info"</span> property.</p>
<p>Metadata about the video clip referred to in <code class="literal">url</code>.</p>
<div class="refsect3">
<a name="id-1.2.40.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="type">MatrixMessageVideo</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.40.6.6.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"info"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-message-video-set-info"></a><h3>matrix_message_video_set_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_message_video_set_info (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="type">MatrixMessageVideo</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="Matrix-0.0-matrix-types.html#MatrixVideoInfo" title="struct MatrixVideoInfo"><span class="type">MatrixVideoInfo</span></a> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"info"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>Metadata about the video clip referred to in <code class="literal">url</code>.</p>
<div class="refsect3">
<a name="id-1.2.40.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo" title="struct MatrixMessageVideo"><span class="type">MatrixMessageVideo</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"info"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixMessageVideo.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixMessageVideo"></a><h3>struct MatrixMessageVideo</h3>
<pre class="programlisting">struct MatrixMessageVideo {
MatrixMessageBase parent_instance;
MatrixMessageVideoPrivate * priv;
};
</pre>
<p>This message represents a single video clip.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixMessageVideoClass"></a><h3>struct MatrixMessageVideoClass</h3>
<pre class="programlisting">struct MatrixMessageVideoClass {
MatrixMessageBaseClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixMessageVideo.html#MATRIX-MESSAGE-TYPE-VIDEO:CAPS" title="MATRIX_MESSAGE_TYPE_VIDEO"><code class="literal">MATRIX_MESSAGE_TYPE_VIDEO</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.40.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass" title="struct MatrixMessageBaseClass"><span class="type">MatrixMessageBaseClass</span></a> <em class="structfield"><code><a name="MatrixMessageVideoClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -0,0 +1,318 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixProfile: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="ch01.html" title="Matrix-0.0 API Reference">
<link rel="prev" href="Matrix-0.0-MatrixMessageAudio.html" title="MatrixMessageAudio">
<link rel="next" href="Matrix-0.0-MatrixEventTyping.html" title="MatrixEventTyping">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#Matrix-0.0-MatrixProfile.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Matrix-0.0-MatrixMessageAudio.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventTyping.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Matrix-0.0-MatrixProfile"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Matrix-0.0-MatrixProfile.top_of_page"></a>MatrixProfile</span></h2>
<p>MatrixProfile — Object to hold a user's profile</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixProfile.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixProfile.html#MATRIX-TYPE-PROFILE:CAPS" title="MATRIX_TYPE_PROFILE">MATRIX_TYPE_PROFILE</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="returnvalue">MatrixProfile</span></a> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixProfile.html#matrix-profile-new" title="matrix_profile_new ()">matrix_profile_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GTimeSpan</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixProfile.html#matrix-profile-get-age" title="matrix_profile_get_age ()">matrix_profile_get_age</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixProfile.html#matrix-profile-get-display-name" title="matrix_profile_get_display_name ()">matrix_profile_get_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixProfile.html#matrix-profile-set-display-name" title="matrix_profile_set_display_name ()">matrix_profile_set_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixProfile.html#matrix-profile-get-avatar-url" title="matrix_profile_get_avatar_url ()">matrix_profile_get_avatar_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="Matrix-0.0-MatrixProfile.html#matrix-profile-set-avatar-url" title="matrix_profile_set_avatar_url ()">matrix_profile_set_avatar_url</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixProfile.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile">MatrixProfile</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfileClass" title="struct MatrixProfileClass">MatrixProfileClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixProfile.description"></a><h2>Description</h2>
<p>This object is used for both global and room specific profiles.</p>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixProfile.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="MATRIX-TYPE-PROFILE:CAPS"></a><h3>MATRIX_TYPE_PROFILE</h3>
<pre class="programlisting">#define MATRIX_TYPE_PROFILE (matrix_profile_get_type ())
</pre>
<p>The type for <a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="matrix-profile-new"></a><h3>matrix_profile_new ()</h3>
<pre class="programlisting"><a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="returnvalue">MatrixProfile</span></a> *
matrix_profile_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="matrix-profile-get-age"></a><h3>matrix_profile_get_age ()</h3>
<pre class="programlisting"><span class="returnvalue">GTimeSpan</span>
matrix_profile_get_age (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"age"</span> property.</p>
<div class="refsect3">
<a name="id-1.2.13.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.13.6.4.6"></a><h4>Returns</h4>
<p> the value of the <span class="type">"age"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-profile-get-display-name"></a><h3>matrix_profile_get_display_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_profile_get_display_name (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"display-name"</span> property.</p>
<p>The human readable name of the user.</p>
<div class="refsect3">
<a name="id-1.2.13.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.13.6.5.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"display-name"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-profile-set-display-name"></a><h3>matrix_profile_set_display_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_profile_set_display_name (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"display-name"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The human readable name of the user.</p>
<div class="refsect3">
<a name="id-1.2.13.6.6.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"display-name"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-profile-get-avatar-url"></a><h3>matrix_profile_get_avatar_url ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
matrix_profile_get_avatar_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a> *self</code></em>);</pre>
<p>Get and return the current value of the <span class="type">"avatar-url"</span> property.</p>
<p>The URL of the user's avatar.</p>
<div class="refsect3">
<a name="id-1.2.13.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a> instance to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.13.6.7.7"></a><h4>Returns</h4>
<p> the value of the <span class="type">"avatar-url"</span> property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="matrix-profile-set-avatar-url"></a><h3>matrix_profile_set_avatar_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
matrix_profile_set_avatar_url (<em class="parameter"><code><a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a> *self</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
<p>Set the value of the <span class="type">"avatar-url"</span> property to <em class="parameter"><code>value</code></em>
.</p>
<p>The URL of the user's avatar.</p>
<div class="refsect3">
<a name="id-1.2.13.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>the <a class="link" href="Matrix-0.0-MatrixProfile.html#MatrixProfile" title="struct MatrixProfile"><span class="type">MatrixProfile</span></a> instance to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value of the <span class="type">"avatar-url"</span> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="Matrix-0.0-MatrixProfile.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MatrixProfile"></a><h3>struct MatrixProfile</h3>
<pre class="programlisting">struct MatrixProfile {
GObject parent_instance;
MatrixProfilePrivate * priv;
};
</pre>
<p>Object to hold a user's profile</p>
<p>This object is used for both global and room specific profiles.</p>
</div>
<hr>
<div class="refsect2">
<a name="MatrixProfileClass"></a><h3>struct MatrixProfileClass</h3>
<pre class="programlisting">struct MatrixProfileClass {
GObjectClass parent_class;
};
</pre>
<p>The class structure for <a class="link" href="Matrix-0.0-MatrixProfile.html#MATRIX-TYPE-PROFILE:CAPS" title="MATRIX_TYPE_PROFILE"><code class="literal">MATRIX_TYPE_PROFILE</code></a>. All the fields in this structure are private and should never be accessed directly.</p>
<div class="refsect3">
<a name="id-1.2.13.7.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><span class="type">GObjectClass</span> <em class="structfield"><code><a name="MatrixProfileClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>the parent class structure</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

1910
Matrix-0.0-matrix-types.html Normal file

File diff suppressed because it is too large Load Diff

773
Matrix-0.0.devhelp2 Normal file
View File

@ -0,0 +1,773 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<book xmlns="http://www.devhelp.net/book" title="Matrix-0.0 Reference Manual" link="index.html" author="" name="Matrix-0.0" version="2" language="c">
<chapters>
<sub name="Matrix-0.0 API Reference" link="ch01.html">
<sub name="MatrixEventRoomThirdPartyInvite" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html"/>
<sub name="MatrixMessageLocation" link="Matrix-0.0-MatrixMessageLocation.html"/>
<sub name="MatrixHTTPAPI" link="Matrix-0.0-MatrixHTTPAPI.html"/>
<sub name="MatrixEventCallInvite" link="Matrix-0.0-MatrixEventCallInvite.html"/>
<sub name="MatrixEventRoomName" link="Matrix-0.0-MatrixEventRoomName.html"/>
<sub name="MatrixEventPresence" link="Matrix-0.0-MatrixEventPresence.html"/>
<sub name="MatrixEventState" link="Matrix-0.0-MatrixEventState.html"/>
<sub name="MatrixEventRoomCanonicalAlias" link="Matrix-0.0-MatrixEventRoomCanonicalAlias.html"/>
<sub name="MatrixEventRoomAvatar" link="Matrix-0.0-MatrixEventRoomAvatar.html"/>
<sub name="MatrixClient" link="Matrix-0.0-MatrixClient.html"/>
<sub name="MatrixMessageAudio" link="Matrix-0.0-MatrixMessageAudio.html"/>
<sub name="MatrixProfile" link="Matrix-0.0-MatrixProfile.html"/>
<sub name="MatrixEventTyping" link="Matrix-0.0-MatrixEventTyping.html"/>
<sub name="MatrixJsonCompact" link="Matrix-0.0-MatrixJsonCompact.html"/>
<sub name="MatrixEventRoomMember" link="Matrix-0.0-MatrixEventRoomMember.html"/>
<sub name="MatrixEventRoom" link="Matrix-0.0-MatrixEventRoom.html"/>
<sub name="MatrixMessageBase" link="Matrix-0.0-MatrixMessageBase.html"/>
<sub name="MatrixEventReceipt" link="Matrix-0.0-MatrixEventReceipt.html"/>
<sub name="MatrixEventRoomMessageFeedback" link="Matrix-0.0-MatrixEventRoomMessageFeedback.html"/>
<sub name="MatrixHTTPClient" link="Matrix-0.0-MatrixHTTPClient.html"/>
<sub name="MatrixEventRoomCreate" link="Matrix-0.0-MatrixEventRoomCreate.html"/>
<sub name="MatrixEventRoomGuestAccess" link="Matrix-0.0-MatrixEventRoomGuestAccess.html"/>
<sub name="MatrixEventCall" link="Matrix-0.0-MatrixEventCall.html"/>
<sub name="MatrixEventRoomJoinRules" link="Matrix-0.0-MatrixEventRoomJoinRules.html"/>
<sub name="MatrixMessageFile" link="Matrix-0.0-MatrixMessageFile.html"/>
<sub name="MatrixEventBase" link="Matrix-0.0-MatrixEventBase.html"/>
<sub name="MatrixEventTag" link="Matrix-0.0-MatrixEventTag.html"/>
<sub name="MatrixEventCallAnswer" link="Matrix-0.0-MatrixEventCallAnswer.html"/>
<sub name="MatrixMessageImage" link="Matrix-0.0-MatrixMessageImage.html"/>
<sub name="MatrixEventCallHangup" link="Matrix-0.0-MatrixEventCallHangup.html"/>
<sub name="MatrixEventRoomRedaction" link="Matrix-0.0-MatrixEventRoomRedaction.html"/>
<sub name="MatrixMessageNotice" link="Matrix-0.0-MatrixMessageNotice.html"/>
<sub name="MatrixEventRoomHistoryVisibility" link="Matrix-0.0-MatrixEventRoomHistoryVisibility.html"/>
<sub name="MatrixEventRoomAliases" link="Matrix-0.0-MatrixEventRoomAliases.html"/>
<sub name="MatrixEventCallCandidates" link="Matrix-0.0-MatrixEventCallCandidates.html"/>
<sub name="MatrixAPI" link="Matrix-0.0-MatrixAPI.html"/>
<sub name="MatrixEventRoomPowerLevels" link="Matrix-0.0-MatrixEventRoomPowerLevels.html"/>
<sub name="MatrixMessageText" link="Matrix-0.0-MatrixMessageText.html"/>
<sub name="MatrixMessageVideo" link="Matrix-0.0-MatrixMessageVideo.html"/>
<sub name="MatrixEventRoomTopic" link="Matrix-0.0-MatrixEventRoomTopic.html"/>
<sub name="MatrixEventRoomMessage" link="Matrix-0.0-MatrixEventRoomMessage.html"/>
<sub name="MatrixMessageEmote" link="Matrix-0.0-MatrixMessageEmote.html"/>
<sub name="matrix-types" link="Matrix-0.0-matrix-types.html"/>
</sub>
<sub name="API Index" link="api-index-full.html"/>
<sub name="Index of deprecated API" link="deprecated-api-index.html"/>
<sub name="Annotation Glossary" link="annotation-glossary.html"/>
</chapters>
<functions>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_THIRD_PARTY_INVITE" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MATRIX-EVENT-TYPE-ROOM-THIRD-PARTY-INVITE:CAPS"/>
<keyword type="function" name="matrix_event_room_third_party_invite_new ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-new"/>
<keyword type="function" name="matrix_event_room_third_party_invite_get_display_name ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-display-name"/>
<keyword type="function" name="matrix_event_room_third_party_invite_set_display_name ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-display-name"/>
<keyword type="function" name="matrix_event_room_third_party_invite_get_key_validity_url ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-key-validity-url"/>
<keyword type="function" name="matrix_event_room_third_party_invite_set_key_validity_url ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-key-validity-url"/>
<keyword type="function" name="matrix_event_room_third_party_invite_get_public_key ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-public-key"/>
<keyword type="function" name="matrix_event_room_third_party_invite_set_public_key ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-public-key"/>
<keyword type="function" name="matrix_event_room_third_party_invite_get_public_keys ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-public-keys"/>
<keyword type="function" name="matrix_event_room_third_party_invite_set_public_keys ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-public-keys"/>
<keyword type="function" name="matrix_event_room_third_party_invite_get_token ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-token"/>
<keyword type="function" name="matrix_event_room_third_party_invite_set_token ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-token"/>
<keyword type="function" name="matrix_event_room_third_party_invite_public_key_dup ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-dup"/>
<keyword type="function" name="matrix_event_room_third_party_invite_public_key_free ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-free"/>
<keyword type="function" name="matrix_event_room_third_party_invite_public_key_copy ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-copy"/>
<keyword type="function" name="matrix_event_room_third_party_invite_public_key_destroy ()" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-destroy"/>
<keyword type="struct" name="struct MatrixEventRoomThirdPartyInvitePublicKey" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey"/>
<keyword type="struct" name="struct MatrixEventRoomThirdPartyInvite" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite"/>
<keyword type="struct" name="struct MatrixEventRoomThirdPartyInviteClass" link="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInviteClass"/>
<keyword type="macro" name="MATRIX_MESSAGE_TYPE_LOCATION" link="Matrix-0.0-MatrixMessageLocation.html#MATRIX-MESSAGE-TYPE-LOCATION:CAPS"/>
<keyword type="function" name="matrix_message_location_new ()" link="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-new"/>
<keyword type="function" name="matrix_message_location_get_geo_uri ()" link="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-get-geo-uri"/>
<keyword type="function" name="matrix_message_location_set_geo_uri ()" link="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-set-geo-uri"/>
<keyword type="function" name="matrix_message_location_get_thumbnail_url ()" link="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-get-thumbnail-url"/>
<keyword type="function" name="matrix_message_location_set_thumbnail_url ()" link="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-set-thumbnail-url"/>
<keyword type="function" name="matrix_message_location_get_thumbnail_info ()" link="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-get-thumbnail-info"/>
<keyword type="function" name="matrix_message_location_set_thumbnail_info ()" link="Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-set-thumbnail-info"/>
<keyword type="struct" name="struct MatrixMessageLocation" link="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation"/>
<keyword type="struct" name="struct MatrixMessageLocationClass" link="Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocationClass"/>
<keyword type="macro" name="MATRIX_TYPE_HTTP_API" link="Matrix-0.0-MatrixHTTPAPI.html#MATRIX-TYPE-HTTP-API:CAPS"/>
<keyword type="function" name="matrix_http_api_new ()" link="Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-new"/>
<keyword type="function" name="matrix_http_api_get_base_url ()" link="Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-get-base-url"/>
<keyword type="function" name="matrix_http_api_set_base_url ()" link="Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-set-base-url"/>
<keyword type="function" name="matrix_http_api_get_validate_certificate ()" link="Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-get-validate-certificate"/>
<keyword type="function" name="matrix_http_api_set_validate_certificate ()" link="Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-set-validate-certificate"/>
<keyword type="struct" name="struct MatrixHTTPAPI" link="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI"/>
<keyword type="struct" name="struct MatrixHTTPAPIClass" link="Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPIClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_CALL_INVITE" link="Matrix-0.0-MatrixEventCallInvite.html#MATRIX-EVENT-TYPE-CALL-INVITE:CAPS"/>
<keyword type="function" name="matrix_event_call_invite_new ()" link="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-new"/>
<keyword type="function" name="matrix_event_call_invite_get_offer_type ()" link="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-get-offer-type"/>
<keyword type="function" name="matrix_event_call_invite_set_offer_type ()" link="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-set-offer-type"/>
<keyword type="function" name="matrix_event_call_invite_get_sdp ()" link="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-get-sdp"/>
<keyword type="function" name="matrix_event_call_invite_set_sdp ()" link="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-set-sdp"/>
<keyword type="function" name="matrix_event_call_invite_get_lifetime ()" link="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-get-lifetime"/>
<keyword type="function" name="matrix_event_call_invite_set_lifetime ()" link="Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-set-lifetime"/>
<keyword type="struct" name="struct MatrixEventCallInvite" link="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite"/>
<keyword type="struct" name="struct MatrixEventCallInviteClass" link="Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInviteClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_NAME" link="Matrix-0.0-MatrixEventRoomName.html#MATRIX-EVENT-TYPE-ROOM-NAME:CAPS"/>
<keyword type="function" name="matrix_event_room_name_new ()" link="Matrix-0.0-MatrixEventRoomName.html#matrix-event-room-name-new"/>
<keyword type="function" name="matrix_event_room_name_get_name ()" link="Matrix-0.0-MatrixEventRoomName.html#matrix-event-room-name-get-name"/>
<keyword type="function" name="matrix_event_room_name_set_name ()" link="Matrix-0.0-MatrixEventRoomName.html#matrix-event-room-name-set-name"/>
<keyword type="struct" name="struct MatrixEventRoomName" link="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomName"/>
<keyword type="struct" name="struct MatrixEventRoomNameClass" link="Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomNameClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_PRESENCE" link="Matrix-0.0-MatrixEventPresence.html#MATRIX-EVENT-TYPE-PRESENCE:CAPS"/>
<keyword type="function" name="matrix_event_presence_new ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-new"/>
<keyword type="function" name="matrix_event_presence_get_avatar_url ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-avatar-url"/>
<keyword type="function" name="matrix_event_presence_set_avatar_url ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-avatar-url"/>
<keyword type="function" name="matrix_event_presence_get_display_name ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-display-name"/>
<keyword type="function" name="matrix_event_presence_set_display_name ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-display-name"/>
<keyword type="function" name="matrix_event_presence_get_last_active_ago ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-last-active-ago"/>
<keyword type="function" name="matrix_event_presence_set_last_active_ago ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-last-active-ago"/>
<keyword type="function" name="matrix_event_presence_get_user_id ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-user-id"/>
<keyword type="function" name="matrix_event_presence_set_user_id ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-user-id"/>
<keyword type="function" name="matrix_event_presence_get_event_id ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-event-id"/>
<keyword type="function" name="matrix_event_presence_set_event_id ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-event-id"/>
<keyword type="function" name="matrix_event_presence_get_presence ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-presence"/>
<keyword type="function" name="matrix_event_presence_set_presence ()" link="Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-presence"/>
<keyword type="struct" name="struct MatrixEventPresence" link="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence"/>
<keyword type="struct" name="struct MatrixEventPresenceClass" link="Matrix-0.0-MatrixEventPresence.html#MatrixEventPresenceClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_STATE" link="Matrix-0.0-MatrixEventState.html#MATRIX-EVENT-TYPE-STATE:CAPS"/>
<keyword type="function" name="matrix_event_state_get_stripped_node ()" link="Matrix-0.0-MatrixEventState.html#matrix-event-state-get-stripped-node"/>
<keyword type="function" name="matrix_event_state_get_state_key ()" link="Matrix-0.0-MatrixEventState.html#matrix-event-state-get-state-key"/>
<keyword type="function" name="matrix_event_state_set_state_key ()" link="Matrix-0.0-MatrixEventState.html#matrix-event-state-set-state-key"/>
<keyword type="function" name="matrix_event_state_get_prev_content ()" link="Matrix-0.0-MatrixEventState.html#matrix-event-state-get-prev-content"/>
<keyword type="function" name="matrix_event_state_set_prev_content ()" link="Matrix-0.0-MatrixEventState.html#matrix-event-state-set-prev-content"/>
<keyword type="struct" name="struct MatrixEventState" link="Matrix-0.0-MatrixEventState.html#MatrixEventState"/>
<keyword type="struct" name="struct MatrixEventStateClass" link="Matrix-0.0-MatrixEventState.html#MatrixEventStateClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS" link="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MATRIX-EVENT-TYPE-ROOM-CANONICAL-ALIAS:CAPS"/>
<keyword type="function" name="matrix_event_room_canonical_alias_new ()" link="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#matrix-event-room-canonical-alias-new"/>
<keyword type="function" name="matrix_event_room_canonical_alias_get_canonical_alias ()" link="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#matrix-event-room-canonical-alias-get-canonical-alias"/>
<keyword type="function" name="matrix_event_room_canonical_alias_set_canonical_alias ()" link="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#matrix-event-room-canonical-alias-set-canonical-alias"/>
<keyword type="struct" name="struct MatrixEventRoomCanonicalAlias" link="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAlias"/>
<keyword type="struct" name="struct MatrixEventRoomCanonicalAliasClass" link="Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAliasClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_AVATAR" link="Matrix-0.0-MatrixEventRoomAvatar.html#MATRIX-EVENT-TYPE-ROOM-AVATAR:CAPS"/>
<keyword type="function" name="matrix_event_room_avatar_new ()" link="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-new"/>
<keyword type="function" name="matrix_event_room_avatar_get_url ()" link="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-url"/>
<keyword type="function" name="matrix_event_room_avatar_set_url ()" link="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-url"/>
<keyword type="function" name="matrix_event_room_avatar_get_thumbnail_url ()" link="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-thumbnail-url"/>
<keyword type="function" name="matrix_event_room_avatar_set_thumbnail_url ()" link="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-thumbnail-url"/>
<keyword type="function" name="matrix_event_room_avatar_get_info ()" link="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-info"/>
<keyword type="function" name="matrix_event_room_avatar_set_info ()" link="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-info"/>
<keyword type="function" name="matrix_event_room_avatar_get_thumbnail_info ()" link="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-thumbnail-info"/>
<keyword type="function" name="matrix_event_room_avatar_set_thumbnail_info ()" link="Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-thumbnail-info"/>
<keyword type="struct" name="struct MatrixEventRoomAvatar" link="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar"/>
<keyword type="struct" name="struct MatrixEventRoomAvatarClass" link="Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatarClass"/>
<keyword type="function" name="matrix_client_login_with_password ()" link="Matrix-0.0-MatrixClient.html#matrix-client-login-with-password"/>
<keyword type="function" name="matrix_client_register_with_password ()" link="Matrix-0.0-MatrixClient.html#matrix-client-register-with-password"/>
<keyword type="function" name="matrix_client_logout ()" link="Matrix-0.0-MatrixClient.html#matrix-client-logout"/>
<keyword type="function" name="matrix_client_begin_polling ()" link="Matrix-0.0-MatrixClient.html#matrix-client-begin-polling"/>
<keyword type="function" name="matrix_client_stop_polling ()" link="Matrix-0.0-MatrixClient.html#matrix-client-stop-polling"/>
<keyword type="function" name="matrix_client_emit_login_finished ()" link="Matrix-0.0-MatrixClient.html#matrix-client-emit-login-finished"/>
<keyword type="function" name="matrix_client_incoming_event ()" link="Matrix-0.0-MatrixClient.html#matrix-client-incoming-event"/>
<keyword type="function" name="matrix_client_connect_event ()" link="Matrix-0.0-MatrixClient.html#matrix-client-connect-event"/>
<keyword type="function" name="matrix_client_get_user_profile ()" link="Matrix-0.0-MatrixClient.html#matrix-client-get-user-profile"/>
<keyword type="function" name="matrix_client_get_user_presence ()" link="Matrix-0.0-MatrixClient.html#matrix-client-get-user-presence"/>
<keyword type="function" name="matrix_client_get_room_by_id ()" link="Matrix-0.0-MatrixClient.html#matrix-client-get-room-by-id"/>
<keyword type="function" name="MatrixClientEventCallback ()" link="Matrix-0.0-MatrixClient.html#MatrixClientEventCallback"/>
<keyword type="struct" name="MatrixClient" link="Matrix-0.0-MatrixClient.html#MatrixClient"/>
<keyword type="struct" name="struct MatrixClientIface" link="Matrix-0.0-MatrixClient.html#MatrixClientIface"/>
<keyword type="macro" name="MATRIX_MESSAGE_TYPE_AUDIO" link="Matrix-0.0-MatrixMessageAudio.html#MATRIX-MESSAGE-TYPE-AUDIO:CAPS"/>
<keyword type="function" name="matrix_message_audio_new ()" link="Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-new"/>
<keyword type="function" name="matrix_message_audio_get_url ()" link="Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-get-url"/>
<keyword type="function" name="matrix_message_audio_set_url ()" link="Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-set-url"/>
<keyword type="function" name="matrix_message_audio_get_info ()" link="Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-get-info"/>
<keyword type="function" name="matrix_message_audio_set_info ()" link="Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-set-info"/>
<keyword type="struct" name="struct MatrixMessageAudio" link="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio"/>
<keyword type="struct" name="struct MatrixMessageAudioClass" link="Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudioClass"/>
<keyword type="macro" name="MATRIX_TYPE_PROFILE" link="Matrix-0.0-MatrixProfile.html#MATRIX-TYPE-PROFILE:CAPS"/>
<keyword type="function" name="matrix_profile_new ()" link="Matrix-0.0-MatrixProfile.html#matrix-profile-new"/>
<keyword type="function" name="matrix_profile_get_age ()" link="Matrix-0.0-MatrixProfile.html#matrix-profile-get-age"/>
<keyword type="function" name="matrix_profile_get_display_name ()" link="Matrix-0.0-MatrixProfile.html#matrix-profile-get-display-name"/>
<keyword type="function" name="matrix_profile_set_display_name ()" link="Matrix-0.0-MatrixProfile.html#matrix-profile-set-display-name"/>
<keyword type="function" name="matrix_profile_get_avatar_url ()" link="Matrix-0.0-MatrixProfile.html#matrix-profile-get-avatar-url"/>
<keyword type="function" name="matrix_profile_set_avatar_url ()" link="Matrix-0.0-MatrixProfile.html#matrix-profile-set-avatar-url"/>
<keyword type="struct" name="struct MatrixProfile" link="Matrix-0.0-MatrixProfile.html#MatrixProfile"/>
<keyword type="struct" name="struct MatrixProfileClass" link="Matrix-0.0-MatrixProfile.html#MatrixProfileClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_TYPING" link="Matrix-0.0-MatrixEventTyping.html#MATRIX-EVENT-TYPE-TYPING:CAPS"/>
<keyword type="function" name="matrix_event_typing_new ()" link="Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-new"/>
<keyword type="function" name="matrix_event_typing_get_room_id ()" link="Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-get-room-id"/>
<keyword type="function" name="matrix_event_typing_set_room_id ()" link="Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-set-room-id"/>
<keyword type="function" name="matrix_event_typing_get_user_ids ()" link="Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-get-user-ids"/>
<keyword type="function" name="matrix_event_typing_set_user_ids ()" link="Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-set-user-ids"/>
<keyword type="struct" name="struct MatrixEventTyping" link="Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping"/>
<keyword type="struct" name="struct MatrixEventTypingClass" link="Matrix-0.0-MatrixEventTyping.html#MatrixEventTypingClass"/>
<keyword type="macro" name="MATRIX_TYPE_JSON_COMPACT" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-JSON-COMPACT:CAPS"/>
<keyword type="function" name="matrix_json_compact_get_json_node ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-json-compact-get-json-node"/>
<keyword type="function" name="matrix_json_compact_get_json_data ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-json-compact-get-json-data"/>
<keyword type="function" name="matrix_json_compact_ref ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-json-compact-ref"/>
<keyword type="function" name="matrix_json_compact_unref ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-json-compact-unref"/>
<keyword type="function" name="matrix_param_spec_json_compact ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-param-spec-json-compact"/>
<keyword type="function" name="matrix_value_set_json_compact ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-value-set-json-compact"/>
<keyword type="function" name="matrix_value_get_json_compact ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-value-get-json-compact"/>
<keyword type="function" name="matrix_value_take_json_compact ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-value-take-json-compact"/>
<keyword type="macro" name="MATRIX_TYPE_FILTER" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-FILTER:CAPS"/>
<keyword type="function" name="matrix_filter_new ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-new"/>
<keyword type="function" name="matrix_filter_get_event_fields ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-get-event-fields"/>
<keyword type="function" name="matrix_filter_set_event_fields ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-set-event-fields"/>
<keyword type="function" name="matrix_filter_get_event_format ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-get-event-format"/>
<keyword type="function" name="matrix_filter_set_event_format ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-set-event-format"/>
<keyword type="function" name="matrix_filter_get_presence_filter ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-get-presence-filter"/>
<keyword type="function" name="matrix_filter_set_presence_filter ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-set-presence-filter"/>
<keyword type="function" name="matrix_filter_get_room_filter ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-get-room-filter"/>
<keyword type="function" name="matrix_filter_set_room_filter ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-set-room-filter"/>
<keyword type="macro" name="MATRIX_TYPE_ROOM_FILTER" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-ROOM-FILTER:CAPS"/>
<keyword type="function" name="matrix_room_filter_new ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-new"/>
<keyword type="function" name="matrix_room_filter_get_include_leave ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-get-include-leave"/>
<keyword type="function" name="matrix_room_filter_set_include_leave ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-set-include-leave"/>
<keyword type="function" name="matrix_room_filter_get_ephemeral ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-get-ephemeral"/>
<keyword type="function" name="matrix_room_filter_set_ephemeral ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-set-ephemeral"/>
<keyword type="function" name="matrix_room_filter_get_state ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-get-state"/>
<keyword type="function" name="matrix_room_filter_set_state ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-set-state"/>
<keyword type="function" name="matrix_room_filter_get_timeline ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-get-timeline"/>
<keyword type="function" name="matrix_room_filter_set_timeline ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-set-timeline"/>
<keyword type="macro" name="MATRIX_TYPE_FILTER_RULES" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-FILTER-RULES:CAPS"/>
<keyword type="function" name="matrix_filter_rules_new ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-new"/>
<keyword type="function" name="matrix_filter_rules_get_limit ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-limit"/>
<keyword type="function" name="matrix_filter_rules_set_limit ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-limit"/>
<keyword type="function" name="matrix_filter_rules_get_types ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-types"/>
<keyword type="function" name="matrix_filter_rules_set_types ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-types"/>
<keyword type="function" name="matrix_filter_rules_get_excluded_types ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-excluded-types"/>
<keyword type="function" name="matrix_filter_rules_set_excluded_types ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-excluded-types"/>
<keyword type="function" name="matrix_filter_rules_get_senders ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-senders"/>
<keyword type="function" name="matrix_filter_rules_set_senders ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-senders"/>
<keyword type="function" name="matrix_filter_rules_get_excluded_senders ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-excluded-senders"/>
<keyword type="function" name="matrix_filter_rules_set_excluded_senders ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-excluded-senders"/>
<keyword type="function" name="matrix_filter_rules_get_rooms ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-rooms"/>
<keyword type="function" name="matrix_filter_rules_set_rooms ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-rooms"/>
<keyword type="function" name="matrix_filter_rules_get_excluded_rooms ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-excluded-rooms"/>
<keyword type="function" name="matrix_filter_rules_set_excluded_rooms ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-excluded-rooms"/>
<keyword type="macro" name="MATRIX_TYPE_3PID_CREDENTIAL" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-3PID-CREDENTIAL:CAPS"/>
<keyword type="function" name="matrix_3pid_credential_new ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-new"/>
<keyword type="function" name="matrix_3pid_credential_get_id_server ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-get-id-server"/>
<keyword type="function" name="matrix_3pid_credential_set_id_server ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-set-id-server"/>
<keyword type="function" name="matrix_3pid_credential_get_session_id ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-get-session-id"/>
<keyword type="function" name="matrix_3pid_credential_set_session_id ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-set-session-id"/>
<keyword type="function" name="matrix_3pid_credential_get_client_secret ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-get-client-secret"/>
<keyword type="function" name="matrix_3pid_credential_set_client_secret ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-set-client-secret"/>
<keyword type="macro" name="MATRIX_TYPE_PUSHER" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-PUSHER:CAPS"/>
<keyword type="function" name="matrix_pusher_new ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-new"/>
<keyword type="function" name="matrix_pusher_get_device_display_name ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-device-display-name"/>
<keyword type="function" name="matrix_pusher_set_device_display_name ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-device-display-name"/>
<keyword type="function" name="matrix_pusher_get_app_display_name ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-app-display-name"/>
<keyword type="function" name="matrix_pusher_set_app_display_name ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-app-display-name"/>
<keyword type="function" name="matrix_pusher_get_app_id ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-app-id"/>
<keyword type="function" name="matrix_pusher_set_app_id ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-app-id"/>
<keyword type="function" name="matrix_pusher_get_append ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-append"/>
<keyword type="function" name="matrix_pusher_set_append ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-append"/>
<keyword type="function" name="matrix_pusher_get_kind ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-kind"/>
<keyword type="function" name="matrix_pusher_set_kind ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-kind"/>
<keyword type="function" name="matrix_pusher_get_lang ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-lang"/>
<keyword type="function" name="matrix_pusher_set_lang ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-lang"/>
<keyword type="function" name="matrix_pusher_get_profile_tag ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-profile-tag"/>
<keyword type="function" name="matrix_pusher_set_profile_tag ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-profile-tag"/>
<keyword type="function" name="matrix_pusher_get_pushkey ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-pushkey"/>
<keyword type="function" name="matrix_pusher_set_pushkey ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-pushkey"/>
<keyword type="function" name="matrix_pusher_get_data ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-data"/>
<keyword type="function" name="matrix_pusher_set_data ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-data"/>
<keyword type="macro" name="MATRIX_TYPE_EVENT_CONTEXT" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-EVENT-CONTEXT:CAPS"/>
<keyword type="function" name="matrix_event_context_new ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-new"/>
<keyword type="function" name="matrix_event_context_get_before_limit ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-get-before-limit"/>
<keyword type="function" name="matrix_event_context_set_before_limit ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-set-before-limit"/>
<keyword type="function" name="matrix_event_context_get_after_limit ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-get-after-limit"/>
<keyword type="function" name="matrix_event_context_set_after_limit ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-set-after-limit"/>
<keyword type="function" name="matrix_event_context_get_include_profile ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-get-include-profile"/>
<keyword type="function" name="matrix_event_context_set_include_profile ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-set-include-profile"/>
<keyword type="macro" name="MATRIX_TYPE_SEARCH_GROUPING" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-SEARCH-GROUPING:CAPS"/>
<keyword type="function" name="matrix_search_grouping_new ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-grouping-new"/>
<keyword type="function" name="matrix_search_grouping_get_key ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-grouping-get-key"/>
<keyword type="function" name="matrix_search_grouping_set_key ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-grouping-set-key"/>
<keyword type="macro" name="MATRIX_TYPE_SEARCH_GROUPINGS" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-SEARCH-GROUPINGS:CAPS"/>
<keyword type="function" name="matrix_search_groupings_new ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-groupings-new"/>
<keyword type="function" name="matrix_search_groupings_get_group_by ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-groupings-get-group-by"/>
<keyword type="function" name="matrix_search_groupings_set_group_by ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-groupings-set-group-by"/>
<keyword type="macro" name="MATRIX_TYPE_SEARCH_ROOM_EVENTS" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-SEARCH-ROOM-EVENTS:CAPS"/>
<keyword type="function" name="matrix_search_room_events_new ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-new"/>
<keyword type="function" name="matrix_search_room_events_get_order_by ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-order-by"/>
<keyword type="function" name="matrix_search_room_events_set_order_by ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-order-by"/>
<keyword type="function" name="matrix_search_room_events_get_keys ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-keys"/>
<keyword type="function" name="matrix_search_room_events_set_keys ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-keys"/>
<keyword type="function" name="matrix_search_room_events_get_event_context ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-event-context"/>
<keyword type="function" name="matrix_search_room_events_set_event_context ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-event-context"/>
<keyword type="function" name="matrix_search_room_events_get_include_state ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-include-state"/>
<keyword type="function" name="matrix_search_room_events_set_include_state ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-include-state"/>
<keyword type="function" name="matrix_search_room_events_get_filter_id ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-filter-id"/>
<keyword type="function" name="matrix_search_room_events_set_filter_id ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-filter-id"/>
<keyword type="function" name="matrix_search_room_events_get_filter ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-filter"/>
<keyword type="function" name="matrix_search_room_events_set_filter ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-filter"/>
<keyword type="function" name="matrix_search_room_events_get_search_term ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-search-term"/>
<keyword type="function" name="matrix_search_room_events_set_search_term ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-search-term"/>
<keyword type="function" name="matrix_search_room_events_get_groupings ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-groupings"/>
<keyword type="function" name="matrix_search_room_events_set_groupings ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-groupings"/>
<keyword type="macro" name="MATRIX_TYPE_SEARCH_CATEGORIES" link="Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-SEARCH-CATEGORIES:CAPS"/>
<keyword type="function" name="matrix_search_categories_new ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-categories-new"/>
<keyword type="function" name="matrix_search_categories_get_room_events ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-categories-get-room-events"/>
<keyword type="function" name="matrix_search_categories_set_room_events ()" link="Matrix-0.0-MatrixJsonCompact.html#matrix-search-categories-set-room-events"/>
<keyword type="struct" name="struct MatrixJsonCompact" link="Matrix-0.0-MatrixJsonCompact.html#MatrixJsonCompact"/>
<keyword type="struct" name="struct MatrixJsonCompactClass" link="Matrix-0.0-MatrixJsonCompact.html#MatrixJsonCompactClass"/>
<keyword type="struct" name="struct MatrixFilter" link="Matrix-0.0-MatrixJsonCompact.html#MatrixFilter"/>
<keyword type="struct" name="struct MatrixFilterClass" link="Matrix-0.0-MatrixJsonCompact.html#MatrixFilterClass"/>
<keyword type="struct" name="struct MatrixRoomFilter" link="Matrix-0.0-MatrixJsonCompact.html#MatrixRoomFilter"/>
<keyword type="struct" name="struct MatrixRoomFilterClass" link="Matrix-0.0-MatrixJsonCompact.html#MatrixRoomFilterClass"/>
<keyword type="struct" name="struct MatrixFilterRules" link="Matrix-0.0-MatrixJsonCompact.html#MatrixFilterRules"/>
<keyword type="struct" name="struct MatrixFilterRulesClass" link="Matrix-0.0-MatrixJsonCompact.html#MatrixFilterRulesClass"/>
<keyword type="struct" name="struct Matrix3PidCredential" link="Matrix-0.0-MatrixJsonCompact.html#Matrix3PidCredential"/>
<keyword type="struct" name="struct Matrix3PidCredentialClass" link="Matrix-0.0-MatrixJsonCompact.html#Matrix3PidCredentialClass"/>
<keyword type="struct" name="struct MatrixPusher" link="Matrix-0.0-MatrixJsonCompact.html#MatrixPusher"/>
<keyword type="struct" name="struct MatrixPusherClass" link="Matrix-0.0-MatrixJsonCompact.html#MatrixPusherClass"/>
<keyword type="struct" name="struct MatrixEventContext" link="Matrix-0.0-MatrixJsonCompact.html#MatrixEventContext"/>
<keyword type="struct" name="struct MatrixEventContextClass" link="Matrix-0.0-MatrixJsonCompact.html#MatrixEventContextClass"/>
<keyword type="struct" name="struct MatrixSearchGrouping" link="Matrix-0.0-MatrixJsonCompact.html#MatrixSearchGrouping"/>
<keyword type="struct" name="struct MatrixSearchGroupingClass" link="Matrix-0.0-MatrixJsonCompact.html#MatrixSearchGroupingClass"/>
<keyword type="struct" name="struct MatrixSearchGroupings" link="Matrix-0.0-MatrixJsonCompact.html#MatrixSearchGroupings"/>
<keyword type="struct" name="struct MatrixSearchGroupingsClass" link="Matrix-0.0-MatrixJsonCompact.html#MatrixSearchGroupingsClass"/>
<keyword type="struct" name="struct MatrixSearchRoomEvents" link="Matrix-0.0-MatrixJsonCompact.html#MatrixSearchRoomEvents"/>
<keyword type="struct" name="struct MatrixSearchRoomEventsClass" link="Matrix-0.0-MatrixJsonCompact.html#MatrixSearchRoomEventsClass"/>
<keyword type="struct" name="struct MatrixSearchCategories" link="Matrix-0.0-MatrixJsonCompact.html#MatrixSearchCategories"/>
<keyword type="struct" name="struct MatrixSearchCategoriesClass" link="Matrix-0.0-MatrixJsonCompact.html#MatrixSearchCategoriesClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_MEMBER" link="Matrix-0.0-MatrixEventRoomMember.html#MATRIX-EVENT-TYPE-ROOM-MEMBER:CAPS"/>
<keyword type="function" name="matrix_event_room_member_new ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-new"/>
<keyword type="function" name="matrix_event_room_member_get_membership ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-membership"/>
<keyword type="function" name="matrix_event_room_member_set_membership ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-membership"/>
<keyword type="function" name="matrix_event_room_member_get_avatar_url ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-avatar-url"/>
<keyword type="function" name="matrix_event_room_member_set_avatar_url ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-avatar-url"/>
<keyword type="function" name="matrix_event_room_member_get_display_name ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-display-name"/>
<keyword type="function" name="matrix_event_room_member_set_display_name ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-display-name"/>
<keyword type="function" name="matrix_event_room_member_get_tpi_display_name ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-display-name"/>
<keyword type="function" name="matrix_event_room_member_set_tpi_display_name ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-display-name"/>
<keyword type="function" name="matrix_event_room_member_get_tpi_signed_mxid ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-signed-mxid"/>
<keyword type="function" name="matrix_event_room_member_set_tpi_signed_mxid ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-signed-mxid"/>
<keyword type="function" name="matrix_event_room_member_get_tpi_signed_token ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-signed-token"/>
<keyword type="function" name="matrix_event_room_member_set_tpi_signed_token ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-signed-token"/>
<keyword type="function" name="matrix_event_room_member_get_tpi_signature ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-signature"/>
<keyword type="function" name="matrix_event_room_member_set_tpi_signature ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-signature"/>
<keyword type="function" name="matrix_event_room_member_get_invite_room_state ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-invite-room-state"/>
<keyword type="function" name="matrix_event_room_member_set_invite_room_state ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-invite-room-state"/>
<keyword type="function" name="matrix_event_room_member_get_user_id ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-user-id"/>
<keyword type="function" name="matrix_event_room_member_set_user_id ()" link="Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-user-id"/>
<keyword type="struct" name="struct MatrixEventRoomMember" link="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember"/>
<keyword type="struct" name="struct MatrixEventRoomMemberClass" link="Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMemberClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM" link="Matrix-0.0-MatrixEventRoom.html#MATRIX-EVENT-TYPE-ROOM:CAPS"/>
<keyword type="function" name="matrix_event_room_get_event_id ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-event-id"/>
<keyword type="function" name="matrix_event_room_set_event_id ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-event-id"/>
<keyword type="function" name="matrix_event_room_get_room_id ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-room-id"/>
<keyword type="function" name="matrix_event_room_set_room_id ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-room-id"/>
<keyword type="function" name="matrix_event_room_get_sender ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-sender"/>
<keyword type="function" name="matrix_event_room_set_sender ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-sender"/>
<keyword type="function" name="matrix_event_room_get_age ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-age"/>
<keyword type="function" name="matrix_event_room_set_age ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-age"/>
<keyword type="function" name="matrix_event_room_get_redacted_because ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-redacted-because"/>
<keyword type="function" name="matrix_event_room_set_redacted_because ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-redacted-because"/>
<keyword type="function" name="matrix_event_room_get_transaction_id ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-transaction-id"/>
<keyword type="function" name="matrix_event_room_set_transaction_id ()" link="Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-transaction-id"/>
<keyword type="struct" name="struct MatrixEventRoom" link="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom"/>
<keyword type="struct" name="struct MatrixEventRoomClass" link="Matrix-0.0-MatrixEventRoom.html#MatrixEventRoomClass"/>
<keyword type="function" name="matrix_message_get_handler ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-get-handler"/>
<keyword type="function" name="matrix_message_register_type ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-register-type"/>
<keyword type="function" name="matrix_message_unregister_type ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-unregister-type"/>
<keyword type="macro" name="MATRIX_MESSAGE_TYPE_BASE" link="Matrix-0.0-MatrixMessageBase.html#MATRIX-MESSAGE-TYPE-BASE:CAPS"/>
<keyword type="function" name="matrix_message_base_from_json ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-from-json"/>
<keyword type="function" name="matrix_message_base_to_json ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-to-json"/>
<keyword type="function" name="matrix_message_base_get_message_type ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-get-message-type"/>
<keyword type="function" name="matrix_message_base_set_message_type ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-set-message-type"/>
<keyword type="function" name="matrix_message_base_get_body ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-get-body"/>
<keyword type="function" name="matrix_message_base_set_body ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-set-body"/>
<keyword type="function" name="matrix_message_base_get_json ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-get-json"/>
<keyword type="function" name="matrix_message_base_new_from_json ()" link="Matrix-0.0-MatrixMessageBase.html#matrix-message-base-new-from-json"/>
<keyword type="struct" name="struct MatrixMessageBase" link="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase"/>
<keyword type="struct" name="struct MatrixMessageBaseClass" link="Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_RECEIPT" link="Matrix-0.0-MatrixEventReceipt.html#MATRIX-EVENT-TYPE-RECEIPT:CAPS"/>
<keyword type="function" name="matrix_event_receipt_new ()" link="Matrix-0.0-MatrixEventReceipt.html#matrix-event-receipt-new"/>
<keyword type="function" name="matrix_event_receipt_get_room_id ()" link="Matrix-0.0-MatrixEventReceipt.html#matrix-event-receipt-get-room-id"/>
<keyword type="function" name="matrix_event_receipt_set_room_id ()" link="Matrix-0.0-MatrixEventReceipt.html#matrix-event-receipt-set-room-id"/>
<keyword type="struct" name="struct MatrixEventReceipt" link="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceipt"/>
<keyword type="struct" name="struct MatrixEventReceiptClass" link="Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceiptClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_MESSAGE_FEEDBACK" link="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MATRIX-EVENT-TYPE-ROOM-MESSAGE-FEEDBACK:CAPS"/>
<keyword type="function" name="matrix_event_room_message_feedback_new ()" link="Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-new"/>
<keyword type="function" name="matrix_event_room_message_feedback_get_feedback_type ()" link="Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-get-feedback-type"/>
<keyword type="function" name="matrix_event_room_message_feedback_set_feedback_type ()" link="Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-set-feedback-type"/>
<keyword type="function" name="matrix_event_room_message_feedback_get_target_event_id ()" link="Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-get-target-event-id"/>
<keyword type="function" name="matrix_event_room_message_feedback_set_target_event_id ()" link="Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-set-target-event-id"/>
<keyword type="struct" name="struct MatrixEventRoomMessageFeedback" link="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback"/>
<keyword type="struct" name="struct MatrixEventRoomMessageFeedbackClass" link="Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedbackClass"/>
<keyword type="macro" name="MATRIX_TYPE_HTTP_CLIENT" link="Matrix-0.0-MatrixHTTPClient.html#MATRIX-TYPE-HTTP-CLIENT:CAPS"/>
<keyword type="function" name="matrix_http_client_new ()" link="Matrix-0.0-MatrixHTTPClient.html#matrix-http-client-new"/>
<keyword type="struct" name="struct MatrixHTTPClient" link="Matrix-0.0-MatrixHTTPClient.html#MatrixHTTPClient"/>
<keyword type="struct" name="struct MatrixHTTPClientClass" link="Matrix-0.0-MatrixHTTPClient.html#MatrixHTTPClientClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_CREATE" link="Matrix-0.0-MatrixEventRoomCreate.html#MATRIX-EVENT-TYPE-ROOM-CREATE:CAPS"/>
<keyword type="function" name="matrix_event_room_create_new ()" link="Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-new"/>
<keyword type="function" name="matrix_event_room_create_get_creator ()" link="Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-get-creator"/>
<keyword type="function" name="matrix_event_room_create_set_creator ()" link="Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-set-creator"/>
<keyword type="function" name="matrix_event_room_create_get_federate ()" link="Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-get-federate"/>
<keyword type="function" name="matrix_event_room_create_set_federate ()" link="Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-set-federate"/>
<keyword type="struct" name="struct MatrixEventRoomCreate" link="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate"/>
<keyword type="struct" name="struct MatrixEventRoomCreateClass" link="Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreateClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_GUEST_ACCESS" link="Matrix-0.0-MatrixEventRoomGuestAccess.html#MATRIX-EVENT-TYPE-ROOM-GUEST-ACCESS:CAPS"/>
<keyword type="function" name="matrix_event_room_guest_access_new ()" link="Matrix-0.0-MatrixEventRoomGuestAccess.html#matrix-event-room-guest-access-new"/>
<keyword type="function" name="matrix_event_room_guest_access_get_guest_access ()" link="Matrix-0.0-MatrixEventRoomGuestAccess.html#matrix-event-room-guest-access-get-guest-access"/>
<keyword type="function" name="matrix_event_room_guest_access_set_guest_access ()" link="Matrix-0.0-MatrixEventRoomGuestAccess.html#matrix-event-room-guest-access-set-guest-access"/>
<keyword type="struct" name="struct MatrixEventRoomGuestAccess" link="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccess"/>
<keyword type="struct" name="struct MatrixEventRoomGuestAccessClass" link="Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccessClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_CALL" link="Matrix-0.0-MatrixEventCall.html#MATRIX-EVENT-TYPE-CALL:CAPS"/>
<keyword type="function" name="matrix_event_call_get_call_id ()" link="Matrix-0.0-MatrixEventCall.html#matrix-event-call-get-call-id"/>
<keyword type="function" name="matrix_event_call_set_call_id ()" link="Matrix-0.0-MatrixEventCall.html#matrix-event-call-set-call-id"/>
<keyword type="function" name="matrix_event_call_get_version ()" link="Matrix-0.0-MatrixEventCall.html#matrix-event-call-get-version"/>
<keyword type="function" name="matrix_event_call_set_version ()" link="Matrix-0.0-MatrixEventCall.html#matrix-event-call-set-version"/>
<keyword type="struct" name="struct MatrixEventCall" link="Matrix-0.0-MatrixEventCall.html#MatrixEventCall"/>
<keyword type="struct" name="struct MatrixEventCallClass" link="Matrix-0.0-MatrixEventCall.html#MatrixEventCallClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_JOIN_RULES" link="Matrix-0.0-MatrixEventRoomJoinRules.html#MATRIX-EVENT-TYPE-ROOM-JOIN-RULES:CAPS"/>
<keyword type="function" name="matrix_event_room_join_rules_new ()" link="Matrix-0.0-MatrixEventRoomJoinRules.html#matrix-event-room-join-rules-new"/>
<keyword type="function" name="matrix_event_room_join_rules_get_join_rules ()" link="Matrix-0.0-MatrixEventRoomJoinRules.html#matrix-event-room-join-rules-get-join-rules"/>
<keyword type="function" name="matrix_event_room_join_rules_set_join_rules ()" link="Matrix-0.0-MatrixEventRoomJoinRules.html#matrix-event-room-join-rules-set-join-rules"/>
<keyword type="struct" name="struct MatrixEventRoomJoinRules" link="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRules"/>
<keyword type="struct" name="struct MatrixEventRoomJoinRulesClass" link="Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRulesClass"/>
<keyword type="macro" name="MATRIX_MESSAGE_TYPE_FILE" link="Matrix-0.0-MatrixMessageFile.html#MATRIX-MESSAGE-TYPE-FILE:CAPS"/>
<keyword type="function" name="matrix_message_file_new ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-new"/>
<keyword type="function" name="matrix_message_file_get_filename ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-filename"/>
<keyword type="function" name="matrix_message_file_set_filename ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-filename"/>
<keyword type="function" name="matrix_message_file_get_url ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-url"/>
<keyword type="function" name="matrix_message_file_set_url ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-url"/>
<keyword type="function" name="matrix_message_file_get_info ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-info"/>
<keyword type="function" name="matrix_message_file_set_info ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-info"/>
<keyword type="function" name="matrix_message_file_get_thumbnail_url ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-thumbnail-url"/>
<keyword type="function" name="matrix_message_file_set_thumbnail_url ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-thumbnail-url"/>
<keyword type="function" name="matrix_message_file_get_thumbnail_info ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-thumbnail-info"/>
<keyword type="function" name="matrix_message_file_set_thumbnail_info ()" link="Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-thumbnail-info"/>
<keyword type="struct" name="struct MatrixMessageFile" link="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile"/>
<keyword type="struct" name="struct MatrixMessageFileClass" link="Matrix-0.0-MatrixMessageFile.html#MatrixMessageFileClass"/>
<keyword type="function" name="matrix_event_get_handler ()" link="Matrix-0.0-MatrixEventBase.html#matrix-event-get-handler"/>
<keyword type="function" name="matrix_event_register_type ()" link="Matrix-0.0-MatrixEventBase.html#matrix-event-register-type"/>
<keyword type="function" name="matrix_event_unregister_type ()" link="Matrix-0.0-MatrixEventBase.html#matrix-event-unregister-type"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_BASE" link="Matrix-0.0-MatrixEventBase.html#MATRIX-EVENT-TYPE-BASE:CAPS"/>
<keyword type="function" name="matrix_event_base_from_json ()" link="Matrix-0.0-MatrixEventBase.html#matrix-event-base-from-json"/>
<keyword type="function" name="matrix_event_base_to_json ()" link="Matrix-0.0-MatrixEventBase.html#matrix-event-base-to-json"/>
<keyword type="function" name="matrix_event_base_get_event_type ()" link="Matrix-0.0-MatrixEventBase.html#matrix-event-base-get-event-type"/>
<keyword type="function" name="matrix_event_base_get_json ()" link="Matrix-0.0-MatrixEventBase.html#matrix-event-base-get-json"/>
<keyword type="function" name="matrix_event_base_new_from_json ()" link="Matrix-0.0-MatrixEventBase.html#matrix-event-base-new-from-json"/>
<keyword type="struct" name="struct MatrixEventBase" link="Matrix-0.0-MatrixEventBase.html#MatrixEventBase"/>
<keyword type="struct" name="struct MatrixEventBaseClass" link="Matrix-0.0-MatrixEventBase.html#MatrixEventBaseClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_TAG" link="Matrix-0.0-MatrixEventTag.html#MATRIX-EVENT-TYPE-TAG:CAPS"/>
<keyword type="function" name="matrix_event_tag_new ()" link="Matrix-0.0-MatrixEventTag.html#matrix-event-tag-new"/>
<keyword type="struct" name="struct MatrixEventTag" link="Matrix-0.0-MatrixEventTag.html#MatrixEventTag"/>
<keyword type="struct" name="struct MatrixEventTagClass" link="Matrix-0.0-MatrixEventTag.html#MatrixEventTagClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_CALL_ANSWER" link="Matrix-0.0-MatrixEventCallAnswer.html#MATRIX-EVENT-TYPE-CALL-ANSWER:CAPS"/>
<keyword type="function" name="matrix_event_call_answer_new ()" link="Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-new"/>
<keyword type="function" name="matrix_event_call_answer_get_answer_type ()" link="Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-get-answer-type"/>
<keyword type="function" name="matrix_event_call_answer_set_answer_type ()" link="Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-set-answer-type"/>
<keyword type="function" name="matrix_event_call_answer_get_answer_sdp ()" link="Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-get-answer-sdp"/>
<keyword type="function" name="matrix_event_call_answer_set_answer_sdp ()" link="Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-set-answer-sdp"/>
<keyword type="struct" name="struct MatrixEventCallAnswer" link="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer"/>
<keyword type="struct" name="struct MatrixEventCallAnswerClass" link="Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswerClass"/>
<keyword type="macro" name="MATRIX_MESSAGE_TYPE_IMAGE" link="Matrix-0.0-MatrixMessageImage.html#MATRIX-MESSAGE-TYPE-IMAGE:CAPS"/>
<keyword type="function" name="matrix_message_image_new ()" link="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-new"/>
<keyword type="function" name="matrix_message_image_get_url ()" link="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-url"/>
<keyword type="function" name="matrix_message_image_set_url ()" link="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-url"/>
<keyword type="function" name="matrix_message_image_get_thumbnail_url ()" link="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-thumbnail-url"/>
<keyword type="function" name="matrix_message_image_set_thumbnail_url ()" link="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-thumbnail-url"/>
<keyword type="function" name="matrix_message_image_get_info ()" link="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-info"/>
<keyword type="function" name="matrix_message_image_set_info ()" link="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-info"/>
<keyword type="function" name="matrix_message_image_get_thumbnail_info ()" link="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-thumbnail-info"/>
<keyword type="function" name="matrix_message_image_set_thumbnail_info ()" link="Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-thumbnail-info"/>
<keyword type="struct" name="struct MatrixMessageImage" link="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage"/>
<keyword type="struct" name="struct MatrixMessageImageClass" link="Matrix-0.0-MatrixMessageImage.html#MatrixMessageImageClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_CALL_HANGUP" link="Matrix-0.0-MatrixEventCallHangup.html#MATRIX-EVENT-TYPE-CALL-HANGUP:CAPS"/>
<keyword type="function" name="matrix_event_call_hangup_new ()" link="Matrix-0.0-MatrixEventCallHangup.html#matrix-event-call-hangup-new"/>
<keyword type="struct" name="struct MatrixEventCallHangup" link="Matrix-0.0-MatrixEventCallHangup.html#MatrixEventCallHangup"/>
<keyword type="struct" name="struct MatrixEventCallHangupClass" link="Matrix-0.0-MatrixEventCallHangup.html#MatrixEventCallHangupClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_REDACTION" link="Matrix-0.0-MatrixEventRoomRedaction.html#MATRIX-EVENT-TYPE-ROOM-REDACTION:CAPS"/>
<keyword type="function" name="matrix_event_room_redaction_new ()" link="Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-new"/>
<keyword type="function" name="matrix_event_room_redaction_get_reason ()" link="Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-get-reason"/>
<keyword type="function" name="matrix_event_room_redaction_set_reason ()" link="Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-set-reason"/>
<keyword type="function" name="matrix_event_room_redaction_get_redacted_event_id ()" link="Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-get-redacted-event-id"/>
<keyword type="function" name="matrix_event_room_redaction_set_redacted_event_id ()" link="Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-set-redacted-event-id"/>
<keyword type="struct" name="struct MatrixEventRoomRedaction" link="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction"/>
<keyword type="struct" name="struct MatrixEventRoomRedactionClass" link="Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedactionClass"/>
<keyword type="macro" name="MATRIX_MESSAGE_TYPE_NOTICE" link="Matrix-0.0-MatrixMessageNotice.html#MATRIX-MESSAGE-TYPE-NOTICE:CAPS"/>
<keyword type="function" name="matrix_message_notice_new ()" link="Matrix-0.0-MatrixMessageNotice.html#matrix-message-notice-new"/>
<keyword type="struct" name="struct MatrixMessageNotice" link="Matrix-0.0-MatrixMessageNotice.html#MatrixMessageNotice"/>
<keyword type="struct" name="struct MatrixMessageNoticeClass" link="Matrix-0.0-MatrixMessageNotice.html#MatrixMessageNoticeClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY" link="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MATRIX-EVENT-TYPE-ROOM-HISTORY-VISIBILITY:CAPS"/>
<keyword type="function" name="matrix_event_room_history_visibility_new ()" link="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#matrix-event-room-history-visibility-new"/>
<keyword type="function" name="matrix_event_room_history_visibility_get_visibility ()" link="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#matrix-event-room-history-visibility-get-visibility"/>
<keyword type="function" name="matrix_event_room_history_visibility_set_visibility ()" link="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#matrix-event-room-history-visibility-set-visibility"/>
<keyword type="struct" name="struct MatrixEventRoomHistoryVisibility" link="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibility"/>
<keyword type="struct" name="struct MatrixEventRoomHistoryVisibilityClass" link="Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibilityClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_ALIASES" link="Matrix-0.0-MatrixEventRoomAliases.html#MATRIX-EVENT-TYPE-ROOM-ALIASES:CAPS"/>
<keyword type="function" name="matrix_event_room_aliases_new ()" link="Matrix-0.0-MatrixEventRoomAliases.html#matrix-event-room-aliases-new"/>
<keyword type="function" name="matrix_event_room_aliases_get_aliases ()" link="Matrix-0.0-MatrixEventRoomAliases.html#matrix-event-room-aliases-get-aliases"/>
<keyword type="function" name="matrix_event_room_aliases_set_aliases ()" link="Matrix-0.0-MatrixEventRoomAliases.html#matrix-event-room-aliases-set-aliases"/>
<keyword type="struct" name="struct MatrixEventRoomAliases" link="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliases"/>
<keyword type="struct" name="struct MatrixEventRoomAliasesClass" link="Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliasesClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_CALL_CANDIDATES" link="Matrix-0.0-MatrixEventCallCandidates.html#MATRIX-EVENT-TYPE-CALL-CANDIDATES:CAPS"/>
<keyword type="function" name="matrix_event_call_candidates_new ()" link="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-new"/>
<keyword type="function" name="matrix_event_call_candidates_get_candidates ()" link="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-get-candidates"/>
<keyword type="function" name="matrix_event_call_candidates_set_candidates ()" link="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-set-candidates"/>
<keyword type="function" name="matrix_event_call_candidates_candidate_dup ()" link="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-dup"/>
<keyword type="function" name="matrix_event_call_candidates_candidate_free ()" link="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-free"/>
<keyword type="function" name="matrix_event_call_candidates_candidate_copy ()" link="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-copy"/>
<keyword type="function" name="matrix_event_call_candidates_candidate_destroy ()" link="Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-destroy"/>
<keyword type="struct" name="struct MatrixEventCallCandidatesCandidate" link="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate"/>
<keyword type="struct" name="struct MatrixEventCallCandidates" link="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidates"/>
<keyword type="struct" name="struct MatrixEventCallCandidatesClass" link="Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesClass"/>
<keyword type="function" name="matrix_api_abort_pending ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-abort-pending"/>
<keyword type="function" name="matrix_api_media_download ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-media-download"/>
<keyword type="function" name="matrix_api_media_thumbnail ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-media-thumbnail"/>
<keyword type="function" name="matrix_api_media_upload ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-media-upload"/>
<keyword type="function" name="matrix_api_get_presence_list ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-presence-list"/>
<keyword type="function" name="matrix_api_update_presence_list ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-update-presence-list"/>
<keyword type="function" name="matrix_api_get_presence ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-presence"/>
<keyword type="function" name="matrix_api_set_user_presence ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-set-user-presence"/>
<keyword type="function" name="matrix_api_update_pusher ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-update-pusher"/>
<keyword type="function" name="matrix_api_get_pushers ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-pushers"/>
<keyword type="function" name="matrix_api_delete_pusher ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-delete-pusher"/>
<keyword type="function" name="matrix_api_get_pusher ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-pusher"/>
<keyword type="function" name="matrix_api_add_pusher ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-add-pusher"/>
<keyword type="function" name="matrix_api_toggle_pusher ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-toggle-pusher"/>
<keyword type="function" name="matrix_api_create_room ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-create-room"/>
<keyword type="function" name="matrix_api_delete_room_alias ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-delete-room-alias"/>
<keyword type="function" name="matrix_api_get_room_id ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-room-id"/>
<keyword type="function" name="matrix_api_create_room_alias ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-create-room-alias"/>
<keyword type="function" name="matrix_api_list_public_rooms ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-list-public-rooms"/>
<keyword type="function" name="matrix_api_ban_user ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-ban-user"/>
<keyword type="function" name="matrix_api_forget_room ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-forget-room"/>
<keyword type="function" name="matrix_api_invite_user_3rdparty ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-invite-user-3rdparty"/>
<keyword type="function" name="matrix_api_invite_user ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-invite-user"/>
<keyword type="function" name="matrix_api_join_room ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-join-room"/>
<keyword type="function" name="matrix_api_leave_room ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-leave-room"/>
<keyword type="function" name="matrix_api_event_stream ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-event-stream"/>
<keyword type="function" name="matrix_api_get_event ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-event"/>
<keyword type="function" name="matrix_api_initial_sync ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-initial-sync"/>
<keyword type="function" name="matrix_api_get_event_context ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-event-context"/>
<keyword type="function" name="matrix_api_initial_sync_room ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-initial-sync-room"/>
<keyword type="function" name="matrix_api_list_room_members ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-list-room-members"/>
<keyword type="function" name="matrix_api_list_room_messages ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-list-room-messages"/>
<keyword type="function" name="matrix_api_send_event_receipt ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-send-event-receipt"/>
<keyword type="function" name="matrix_api_redact_event ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-redact-event"/>
<keyword type="function" name="matrix_api_send_message_event ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-send-message-event"/>
<keyword type="function" name="matrix_api_get_room_state ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-room-state"/>
<keyword type="function" name="matrix_api_send_room_event ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-send-room-event"/>
<keyword type="function" name="matrix_api_notify_room_typing ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-notify-room-typing"/>
<keyword type="function" name="matrix_api_sync ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-sync"/>
<keyword type="function" name="matrix_api_create_filter ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-create-filter"/>
<keyword type="function" name="matrix_api_download_filter ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-download-filter"/>
<keyword type="function" name="matrix_api_search ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-search"/>
<keyword type="function" name="matrix_api_whois ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-whois"/>
<keyword type="function" name="matrix_api_versions ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-versions"/>
<keyword type="function" name="matrix_api_login ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-login"/>
<keyword type="function" name="matrix_api_token_refresh ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-token-refresh"/>
<keyword type="function" name="matrix_api_get_3pids ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-3pids"/>
<keyword type="function" name="matrix_api_add_3pid ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-add-3pid"/>
<keyword type="function" name="matrix_api_change_password ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-change-password"/>
<keyword type="function" name="matrix_api_get_profile ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-profile"/>
<keyword type="function" name="matrix_api_get_avatar_url ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-avatar-url"/>
<keyword type="function" name="matrix_api_set_avatar_url ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-set-avatar-url"/>
<keyword type="function" name="matrix_api_get_display_name ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-display-name"/>
<keyword type="function" name="matrix_api_set_display_name ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-set-display-name"/>
<keyword type="function" name="matrix_api_register_account ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-register-account"/>
<keyword type="function" name="matrix_api_set_account_data ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-set-account-data"/>
<keyword type="function" name="matrix_api_get_room_tags ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-room-tags"/>
<keyword type="function" name="matrix_api_delete_room_tag ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-delete-room-tag"/>
<keyword type="function" name="matrix_api_add_room_tag ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-add-room-tag"/>
<keyword type="function" name="matrix_api_get_turn_server ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-turn-server"/>
<keyword type="function" name="MatrixAPICallback ()" link="Matrix-0.0-MatrixAPI.html#MatrixAPICallback"/>
<keyword type="function" name="matrix_api_get_token ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-token"/>
<keyword type="function" name="matrix_api_set_token ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-set-token"/>
<keyword type="function" name="matrix_api_get_refresh_token ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-refresh-token"/>
<keyword type="function" name="matrix_api_set_refresh_token ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-set-refresh-token"/>
<keyword type="function" name="matrix_api_get_user_id ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-user-id"/>
<keyword type="function" name="matrix_api_get_homeserver ()" link="Matrix-0.0-MatrixAPI.html#matrix-api-get-homeserver"/>
<keyword type="struct" name="MatrixAPI" link="Matrix-0.0-MatrixAPI.html#MatrixAPI"/>
<keyword type="struct" name="struct MatrixAPIIface" link="Matrix-0.0-MatrixAPI.html#MatrixAPIIface"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_POWER_LEVELS" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#MATRIX-EVENT-TYPE-ROOM-POWER-LEVELS:CAPS"/>
<keyword type="function" name="matrix_event_room_power_levels_new ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-new"/>
<keyword type="function" name="matrix_event_room_power_levels_get_users_default ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-users-default"/>
<keyword type="function" name="matrix_event_room_power_levels_set_users_default ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-users-default"/>
<keyword type="function" name="matrix_event_room_power_levels_get_events_default ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-events-default"/>
<keyword type="function" name="matrix_event_room_power_levels_set_events_default ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-events-default"/>
<keyword type="function" name="matrix_event_room_power_levels_get_state_default ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-state-default"/>
<keyword type="function" name="matrix_event_room_power_levels_set_state_default ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-state-default"/>
<keyword type="function" name="matrix_event_room_power_levels_get_ban ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-ban"/>
<keyword type="function" name="matrix_event_room_power_levels_set_ban ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-ban"/>
<keyword type="function" name="matrix_event_room_power_levels_get_kick ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-kick"/>
<keyword type="function" name="matrix_event_room_power_levels_set_kick ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-kick"/>
<keyword type="function" name="matrix_event_room_power_levels_get_redact ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-redact"/>
<keyword type="function" name="matrix_event_room_power_levels_set_redact ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-redact"/>
<keyword type="function" name="matrix_event_room_power_levels_get_invite ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-invite"/>
<keyword type="function" name="matrix_event_room_power_levels_set_invite ()" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-invite"/>
<keyword type="struct" name="struct MatrixEventRoomPowerLevels" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels"/>
<keyword type="struct" name="struct MatrixEventRoomPowerLevelsClass" link="Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevelsClass"/>
<keyword type="macro" name="MATRIX_MESSAGE_TYPE_TEXT" link="Matrix-0.0-MatrixMessageText.html#MATRIX-MESSAGE-TYPE-TEXT:CAPS"/>
<keyword type="function" name="matrix_message_text_new ()" link="Matrix-0.0-MatrixMessageText.html#matrix-message-text-new"/>
<keyword type="struct" name="struct MatrixMessageText" link="Matrix-0.0-MatrixMessageText.html#MatrixMessageText"/>
<keyword type="struct" name="struct MatrixMessageTextClass" link="Matrix-0.0-MatrixMessageText.html#MatrixMessageTextClass"/>
<keyword type="macro" name="MATRIX_MESSAGE_TYPE_VIDEO" link="Matrix-0.0-MatrixMessageVideo.html#MATRIX-MESSAGE-TYPE-VIDEO:CAPS"/>
<keyword type="function" name="matrix_message_video_new ()" link="Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-new"/>
<keyword type="function" name="matrix_message_video_get_url ()" link="Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-get-url"/>
<keyword type="function" name="matrix_message_video_set_url ()" link="Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-set-url"/>
<keyword type="function" name="matrix_message_video_get_info ()" link="Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-get-info"/>
<keyword type="function" name="matrix_message_video_set_info ()" link="Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-set-info"/>
<keyword type="struct" name="struct MatrixMessageVideo" link="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo"/>
<keyword type="struct" name="struct MatrixMessageVideoClass" link="Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideoClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_TOPIC" link="Matrix-0.0-MatrixEventRoomTopic.html#MATRIX-EVENT-TYPE-ROOM-TOPIC:CAPS"/>
<keyword type="function" name="matrix_event_room_topic_new ()" link="Matrix-0.0-MatrixEventRoomTopic.html#matrix-event-room-topic-new"/>
<keyword type="function" name="matrix_event_room_topic_get_topic ()" link="Matrix-0.0-MatrixEventRoomTopic.html#matrix-event-room-topic-get-topic"/>
<keyword type="function" name="matrix_event_room_topic_set_topic ()" link="Matrix-0.0-MatrixEventRoomTopic.html#matrix-event-room-topic-set-topic"/>
<keyword type="struct" name="struct MatrixEventRoomTopic" link="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopic"/>
<keyword type="struct" name="struct MatrixEventRoomTopicClass" link="Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopicClass"/>
<keyword type="macro" name="MATRIX_EVENT_TYPE_ROOM_MESSAGE" link="Matrix-0.0-MatrixEventRoomMessage.html#MATRIX-EVENT-TYPE-ROOM-MESSAGE:CAPS"/>
<keyword type="function" name="matrix_event_room_message_new ()" link="Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-new"/>
<keyword type="function" name="matrix_event_room_message_get_message ()" link="Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-get-message"/>
<keyword type="function" name="matrix_event_room_message_set_message ()" link="Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-set-message"/>
<keyword type="function" name="matrix_event_room_message_get_fallback_content ()" link="Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-get-fallback-content"/>
<keyword type="struct" name="struct MatrixEventRoomMessage" link="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage"/>
<keyword type="struct" name="struct MatrixEventRoomMessageClass" link="Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessageClass"/>
<keyword type="macro" name="MATRIX_MESSAGE_TYPE_EMOTE" link="Matrix-0.0-MatrixMessageEmote.html#MATRIX-MESSAGE-TYPE-EMOTE:CAPS"/>
<keyword type="function" name="matrix_message_emote_new ()" link="Matrix-0.0-MatrixMessageEmote.html#matrix-message-emote-new"/>
<keyword type="struct" name="struct MatrixMessageEmote" link="Matrix-0.0-MatrixMessageEmote.html#MatrixMessageEmote"/>
<keyword type="struct" name="struct MatrixMessageEmoteClass" link="Matrix-0.0-MatrixMessageEmote.html#MatrixMessageEmoteClass"/>
<keyword type="function" name="matrix_error_quark ()" link="Matrix-0.0-matrix-types.html#matrix-error-quark"/>
<keyword type="function" name="matrix_file_info_set_from_json ()" link="Matrix-0.0-matrix-types.html#matrix-file-info-set-from-json"/>
<keyword type="function" name="matrix_file_info_get_json_node ()" link="Matrix-0.0-matrix-types.html#matrix-file-info-get-json-node"/>
<keyword type="function" name="matrix_file_info_dup ()" link="Matrix-0.0-matrix-types.html#matrix-file-info-dup"/>
<keyword type="function" name="matrix_file_info_free ()" link="Matrix-0.0-matrix-types.html#matrix-file-info-free"/>
<keyword type="function" name="matrix_file_info_copy ()" link="Matrix-0.0-matrix-types.html#matrix-file-info-copy"/>
<keyword type="function" name="matrix_file_info_destroy ()" link="Matrix-0.0-matrix-types.html#matrix-file-info-destroy"/>
<keyword type="function" name="matrix_image_info_set_from_json ()" link="Matrix-0.0-matrix-types.html#matrix-image-info-set-from-json"/>
<keyword type="function" name="matrix_image_info_get_json_node ()" link="Matrix-0.0-matrix-types.html#matrix-image-info-get-json-node"/>
<keyword type="function" name="matrix_image_info_dup ()" link="Matrix-0.0-matrix-types.html#matrix-image-info-dup"/>
<keyword type="function" name="matrix_image_info_free ()" link="Matrix-0.0-matrix-types.html#matrix-image-info-free"/>
<keyword type="function" name="matrix_image_info_copy ()" link="Matrix-0.0-matrix-types.html#matrix-image-info-copy"/>
<keyword type="function" name="matrix_image_info_destroy ()" link="Matrix-0.0-matrix-types.html#matrix-image-info-destroy"/>
<keyword type="function" name="matrix_audio_info_set_from_json ()" link="Matrix-0.0-matrix-types.html#matrix-audio-info-set-from-json"/>
<keyword type="function" name="matrix_audio_info_get_json_node ()" link="Matrix-0.0-matrix-types.html#matrix-audio-info-get-json-node"/>
<keyword type="function" name="matrix_audio_info_dup ()" link="Matrix-0.0-matrix-types.html#matrix-audio-info-dup"/>
<keyword type="function" name="matrix_audio_info_free ()" link="Matrix-0.0-matrix-types.html#matrix-audio-info-free"/>
<keyword type="function" name="matrix_audio_info_copy ()" link="Matrix-0.0-matrix-types.html#matrix-audio-info-copy"/>
<keyword type="function" name="matrix_audio_info_destroy ()" link="Matrix-0.0-matrix-types.html#matrix-audio-info-destroy"/>
<keyword type="function" name="matrix_video_info_set_from_json ()" link="Matrix-0.0-matrix-types.html#matrix-video-info-set-from-json"/>
<keyword type="function" name="matrix_video_info_get_json_node ()" link="Matrix-0.0-matrix-types.html#matrix-video-info-get-json-node"/>
<keyword type="function" name="matrix_video_info_dup ()" link="Matrix-0.0-matrix-types.html#matrix-video-info-dup"/>
<keyword type="function" name="matrix_video_info_free ()" link="Matrix-0.0-matrix-types.html#matrix-video-info-free"/>
<keyword type="function" name="matrix_video_info_copy ()" link="Matrix-0.0-matrix-types.html#matrix-video-info-copy"/>
<keyword type="function" name="matrix_video_info_destroy ()" link="Matrix-0.0-matrix-types.html#matrix-video-info-destroy"/>
<keyword type="enum" name="enum MatrixAccountKind" link="Matrix-0.0-matrix-types.html#MatrixAccountKind"/>
<keyword type="enum" name="enum MatrixEventDirection" link="Matrix-0.0-matrix-types.html#MatrixEventDirection"/>
<keyword type="enum" name="enum MatrixEventFormat" link="Matrix-0.0-matrix-types.html#MatrixEventFormat"/>
<keyword type="enum" name="enum MatrixPresence" link="Matrix-0.0-matrix-types.html#MatrixPresence"/>
<keyword type="enum" name="enum MatrixPusherConditionKind" link="Matrix-0.0-matrix-types.html#MatrixPusherConditionKind"/>
<keyword type="enum" name="enum MatrixPusherKind" link="Matrix-0.0-matrix-types.html#MatrixPusherKind"/>
<keyword type="enum" name="enum MatrixReceiptType" link="Matrix-0.0-matrix-types.html#MatrixReceiptType"/>
<keyword type="enum" name="enum MatrixResizeMethod" link="Matrix-0.0-matrix-types.html#MatrixResizeMethod"/>
<keyword type="enum" name="enum MatrixRoomMembership" link="Matrix-0.0-matrix-types.html#MatrixRoomMembership"/>
<keyword type="enum" name="enum MatrixRoomPreset" link="Matrix-0.0-matrix-types.html#MatrixRoomPreset"/>
<keyword type="enum" name="enum MatrixRoomVisibility" link="Matrix-0.0-matrix-types.html#MatrixRoomVisibility"/>
<keyword type="enum" name="enum MatrixJoinRules" link="Matrix-0.0-matrix-types.html#MatrixJoinRules"/>
<keyword type="enum" name="enum MatrixSearchOrder" link="Matrix-0.0-matrix-types.html#MatrixSearchOrder"/>
<keyword type="enum" name="enum MatrixSearchKey" link="Matrix-0.0-matrix-types.html#MatrixSearchKey"/>
<keyword type="enum" name="enum MatrixSearchGroupBy" link="Matrix-0.0-matrix-types.html#MatrixSearchGroupBy"/>
<keyword type="enum" name="enum MatrixHistoryVisibility" link="Matrix-0.0-matrix-types.html#MatrixHistoryVisibility"/>
<keyword type="enum" name="enum MatrixGuestAccess" link="Matrix-0.0-matrix-types.html#MatrixGuestAccess"/>
<keyword type="enum" name="enum MatrixCallOfferType" link="Matrix-0.0-matrix-types.html#MatrixCallOfferType"/>
<keyword type="enum" name="enum MatrixCallAnswerType" link="Matrix-0.0-matrix-types.html#MatrixCallAnswerType"/>
<keyword type="enum" name="enum MatrixError" link="Matrix-0.0-matrix-types.html#MatrixError"/>
<keyword type="struct" name="struct MatrixFileInfo" link="Matrix-0.0-matrix-types.html#MatrixFileInfo"/>
<keyword type="struct" name="struct MatrixImageInfo" link="Matrix-0.0-matrix-types.html#MatrixImageInfo"/>
<keyword type="struct" name="struct MatrixAudioInfo" link="Matrix-0.0-matrix-types.html#MatrixAudioInfo"/>
<keyword type="struct" name="struct MatrixVideoInfo" link="Matrix-0.0-matrix-types.html#MatrixVideoInfo"/>
<keyword type="constant" name="MATRIX_ACCOUNT_KIND_DEFAULT" link="Matrix-0.0-matrix-types.html#MATRIX-ACCOUNT-KIND-DEFAULT:CAPS"/>
<keyword type="constant" name="MATRIX_ACCOUNT_KIND_USER" link="Matrix-0.0-matrix-types.html#MATRIX-ACCOUNT-KIND-USER:CAPS"/>
<keyword type="constant" name="MATRIX_ACCOUNT_KIND_GUEST" link="Matrix-0.0-matrix-types.html#MATRIX-ACCOUNT-KIND-GUEST:CAPS"/>
<keyword type="constant" name="MATRIX_EVENT_DIRECTION_FORWARD" link="Matrix-0.0-matrix-types.html#MATRIX-EVENT-DIRECTION-FORWARD:CAPS"/>
<keyword type="constant" name="MATRIX_EVENT_DIRECTION_BACKWARD" link="Matrix-0.0-matrix-types.html#MATRIX-EVENT-DIRECTION-BACKWARD:CAPS"/>
<keyword type="constant" name="MATRIX_EVENT_FORMAT_DEFAULT" link="Matrix-0.0-matrix-types.html#MATRIX-EVENT-FORMAT-DEFAULT:CAPS"/>
<keyword type="constant" name="MATRIX_EVENT_FORMAT_CLIENT" link="Matrix-0.0-matrix-types.html#MATRIX-EVENT-FORMAT-CLIENT:CAPS"/>
<keyword type="constant" name="MATRIX_EVENT_FORMAT_FEDERATION" link="Matrix-0.0-matrix-types.html#MATRIX-EVENT-FORMAT-FEDERATION:CAPS"/>
<keyword type="constant" name="MATRIX_PRESENCE_UNKNOWN" link="Matrix-0.0-matrix-types.html#MATRIX-PRESENCE-UNKNOWN:CAPS"/>
<keyword type="constant" name="MATRIX_PRESENCE_ONLINE" link="Matrix-0.0-matrix-types.html#MATRIX-PRESENCE-ONLINE:CAPS"/>
<keyword type="constant" name="MATRIX_PRESENCE_OFFLINE" link="Matrix-0.0-matrix-types.html#MATRIX-PRESENCE-OFFLINE:CAPS"/>
<keyword type="constant" name="MATRIX_PRESENCE_UNAVAILABLE" link="Matrix-0.0-matrix-types.html#MATRIX-PRESENCE-UNAVAILABLE:CAPS"/>
<keyword type="constant" name="MATRIX_PRESENCE_FREE_FOR_CHAT" link="Matrix-0.0-matrix-types.html#MATRIX-PRESENCE-FREE-FOR-CHAT:CAPS"/>
<keyword type="constant" name="MATRIX_PUSHER_CONDITION_KIND_EVENT_MATCH" link="Matrix-0.0-matrix-types.html#MATRIX-PUSHER-CONDITION-KIND-EVENT-MATCH:CAPS"/>
<keyword type="constant" name="MATRIX_PUSHER_CONDITION_KIND_PROFILE_TAG" link="Matrix-0.0-matrix-types.html#MATRIX-PUSHER-CONDITION-KIND-PROFILE-TAG:CAPS"/>
<keyword type="constant" name="MATRIX_PUSHER_CONDITION_KIND_CONTAINS_DISPLAY_NAME" link="Matrix-0.0-matrix-types.html#MATRIX-PUSHER-CONDITION-KIND-CONTAINS-DISPLAY-NAME:CAPS"/>
<keyword type="constant" name="MATRIX_PUSHER_CONDITION_KIND_ROOM_MEMBER_COUNT" link="Matrix-0.0-matrix-types.html#MATRIX-PUSHER-CONDITION-KIND-ROOM-MEMBER-COUNT:CAPS"/>
<keyword type="constant" name="MATRIX_PUSHER_KIND_OVERRIDE" link="Matrix-0.0-matrix-types.html#MATRIX-PUSHER-KIND-OVERRIDE:CAPS"/>
<keyword type="constant" name="MATRIX_PUSHER_KIND_SENDER" link="Matrix-0.0-matrix-types.html#MATRIX-PUSHER-KIND-SENDER:CAPS"/>
<keyword type="constant" name="MATRIX_PUSHER_KIND_ROOM" link="Matrix-0.0-matrix-types.html#MATRIX-PUSHER-KIND-ROOM:CAPS"/>
<keyword type="constant" name="MATRIX_PUSHER_KIND_CONTENT" link="Matrix-0.0-matrix-types.html#MATRIX-PUSHER-KIND-CONTENT:CAPS"/>
<keyword type="constant" name="MATRIX_PUSHER_KIND_UNDERRIDE" link="Matrix-0.0-matrix-types.html#MATRIX-PUSHER-KIND-UNDERRIDE:CAPS"/>
<keyword type="constant" name="MATRIX_RECEIPT_TYPE_READ" link="Matrix-0.0-matrix-types.html#MATRIX-RECEIPT-TYPE-READ:CAPS"/>
<keyword type="constant" name="MATRIX_RESIZE_METHOD_DEFAULT" link="Matrix-0.0-matrix-types.html#MATRIX-RESIZE-METHOD-DEFAULT:CAPS"/>
<keyword type="constant" name="MATRIX_RESIZE_METHOD_CROP" link="Matrix-0.0-matrix-types.html#MATRIX-RESIZE-METHOD-CROP:CAPS"/>
<keyword type="constant" name="MATRIX_RESIZE_METHOD_SCALE" link="Matrix-0.0-matrix-types.html#MATRIX-RESIZE-METHOD-SCALE:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_MEMBERSHIP_UNKNOWN" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-UNKNOWN:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_MEMBERSHIP_INVITE" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-INVITE:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_MEMBERSHIP_JOIN" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-JOIN:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_MEMBERSHIP_LEAVE" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-LEAVE:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_MEMBERSHIP_BAN" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-BAN:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_MEMBERSHIP_KNOCK" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-KNOCK:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_PRESET_NONE" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-PRESET-NONE:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_PRESET_PRIVATE" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-PRESET-PRIVATE:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_PRESET_TRUSTED_PRIVATE" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-PRESET-TRUSTED-PRIVATE:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_PRESET_PUBLIC" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-PRESET-PUBLIC:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_VISIBILITY_DEFAULT" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-VISIBILITY-DEFAULT:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_VISIBILITY_PUBLIC" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-VISIBILITY-PUBLIC:CAPS"/>
<keyword type="constant" name="MATRIX_ROOM_VISIBILITY_PRIVATE" link="Matrix-0.0-matrix-types.html#MATRIX-ROOM-VISIBILITY-PRIVATE:CAPS"/>
<keyword type="constant" name="MATRIX_JOIN_RULES_UNKNOWN" link="Matrix-0.0-matrix-types.html#MATRIX-JOIN-RULES-UNKNOWN:CAPS"/>
<keyword type="constant" name="MATRIX_JOIN_RULES_PUBLIC" link="Matrix-0.0-matrix-types.html#MATRIX-JOIN-RULES-PUBLIC:CAPS"/>
<keyword type="constant" name="MATRIX_JOIN_RULES_INVITE" link="Matrix-0.0-matrix-types.html#MATRIX-JOIN-RULES-INVITE:CAPS"/>
<keyword type="constant" name="MATRIX_JOIN_RULES_PRIVATE" link="Matrix-0.0-matrix-types.html#MATRIX-JOIN-RULES-PRIVATE:CAPS"/>
<keyword type="constant" name="MATRIX_JOIN_RULES_KNOCK" link="Matrix-0.0-matrix-types.html#MATRIX-JOIN-RULES-KNOCK:CAPS"/>
<keyword type="constant" name="MATRIX_SEARCH_ORDER_RECENT" link="Matrix-0.0-matrix-types.html#MATRIX-SEARCH-ORDER-RECENT:CAPS"/>
<keyword type="constant" name="MATRIX_SEARCH_ORDER_RANK" link="Matrix-0.0-matrix-types.html#MATRIX-SEARCH-ORDER-RANK:CAPS"/>
<keyword type="constant" name="MATRIX_SEARCH_KEY_CONTENT_BODY" link="Matrix-0.0-matrix-types.html#MATRIX-SEARCH-KEY-CONTENT-BODY:CAPS"/>
<keyword type="constant" name="MATRIX_SEARCH_KEY_CONTENT_NAME" link="Matrix-0.0-matrix-types.html#MATRIX-SEARCH-KEY-CONTENT-NAME:CAPS"/>
<keyword type="constant" name="MATRIX_SEARCH_KEY_CONTENT_TOPIC" link="Matrix-0.0-matrix-types.html#MATRIX-SEARCH-KEY-CONTENT-TOPIC:CAPS"/>
<keyword type="constant" name="MATRIX_SEARCH_GROUP_BY_UNKNOWN" link="Matrix-0.0-matrix-types.html#MATRIX-SEARCH-GROUP-BY-UNKNOWN:CAPS"/>
<keyword type="constant" name="MATRIX_SEARCH_GROUP_BY_ROOM_ID" link="Matrix-0.0-matrix-types.html#MATRIX-SEARCH-GROUP-BY-ROOM-ID:CAPS"/>
<keyword type="constant" name="MATRIX_SEARCH_GROUP_BY_SENDER" link="Matrix-0.0-matrix-types.html#MATRIX-SEARCH-GROUP-BY-SENDER:CAPS"/>
<keyword type="constant" name="MATRIX_HISTORY_VISIBILITY_UNKNOWN" link="Matrix-0.0-matrix-types.html#MATRIX-HISTORY-VISIBILITY-UNKNOWN:CAPS"/>
<keyword type="constant" name="MATRIX_HISTORY_VISIBILITY_INVITED" link="Matrix-0.0-matrix-types.html#MATRIX-HISTORY-VISIBILITY-INVITED:CAPS"/>
<keyword type="constant" name="MATRIX_HISTORY_VISIBILITY_JOINED" link="Matrix-0.0-matrix-types.html#MATRIX-HISTORY-VISIBILITY-JOINED:CAPS"/>
<keyword type="constant" name="MATRIX_HISTORY_VISIBILITY_SHARED" link="Matrix-0.0-matrix-types.html#MATRIX-HISTORY-VISIBILITY-SHARED:CAPS"/>
<keyword type="constant" name="MATRIX_HISTORY_VISIBILITY_WORLD_READABLE" link="Matrix-0.0-matrix-types.html#MATRIX-HISTORY-VISIBILITY-WORLD-READABLE:CAPS"/>
<keyword type="constant" name="MATRIX_GUEST_ACCESS_UNKNOWN" link="Matrix-0.0-matrix-types.html#MATRIX-GUEST-ACCESS-UNKNOWN:CAPS"/>
<keyword type="constant" name="MATRIX_GUEST_ACCESS_CAN_JOIN" link="Matrix-0.0-matrix-types.html#MATRIX-GUEST-ACCESS-CAN-JOIN:CAPS"/>
<keyword type="constant" name="MATRIX_GUEST_ACCESS_FORBIDDEN" link="Matrix-0.0-matrix-types.html#MATRIX-GUEST-ACCESS-FORBIDDEN:CAPS"/>
<keyword type="constant" name="MATRIX_CALL_OFFER_TYPE_UNKNOWN" link="Matrix-0.0-matrix-types.html#MATRIX-CALL-OFFER-TYPE-UNKNOWN:CAPS"/>
<keyword type="constant" name="MATRIX_CALL_OFFER_TYPE_OFFER" link="Matrix-0.0-matrix-types.html#MATRIX-CALL-OFFER-TYPE-OFFER:CAPS"/>
<keyword type="constant" name="MATRIX_CALL_ANSWER_TYPE_UNKNOWN" link="Matrix-0.0-matrix-types.html#MATRIX-CALL-ANSWER-TYPE-UNKNOWN:CAPS"/>
<keyword type="constant" name="MATRIX_CALL_ANSWER_TYPE_ANSWER" link="Matrix-0.0-matrix-types.html#MATRIX-CALL-ANSWER-TYPE-ANSWER:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_NONE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-NONE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_COMMUNICATION_ERROR" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-COMMUNICATION-ERROR:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_INCOMPLETE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-INCOMPLETE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_BAD_REQUEST" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-BAD-REQUEST:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_BAD_RESPONSE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-BAD-RESPONSE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_INVALID_ROOM_ID" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-INVALID-ROOM-ID:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_UNKNOWN_VALUE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-UNKNOWN-VALUE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_INVALID_TYPE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-INVALID-TYPE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_UNSUPPORTED" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-UNSUPPORTED:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_INVALID_FORMAT" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-INVALID-FORMAT:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_UNAVAILABLE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-UNAVAILABLE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_NOT_FOUND" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-NOT-FOUND:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_ALREADY_EXISTS" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-ALREADY-EXISTS:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_MISSING_TOKEN" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-MISSING-TOKEN:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_FORBIDDEN" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-FORBIDDEN:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_UNKNOWN" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-UNKNOWN:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_UNKNOWN_TOKEN" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-UNKNOWN-TOKEN:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_NOT_JSON" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-NOT-JSON:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_UNRECOGNIZED" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-UNRECOGNIZED:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_UNAUTHORIZED" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-UNAUTHORIZED:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_BAD_JSON" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-BAD-JSON:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_USER_IN_USE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-USER-IN-USE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_ROOM_IN_USE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-ROOM-IN-USE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_BAD_PAGINATION" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-BAD-PAGINATION:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_BAD_STATE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-BAD-STATE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_NOT_FOUND" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-NOT-FOUND:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_GUEST_ACCESS_FORBIDDEN" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-GUEST-ACCESS-FORBIDDEN:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_LIMIT_EXCEEDED" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-LIMIT-EXCEEDED:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_CAPTCHA_NEEDED" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-CAPTCHA-NEEDED:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_CAPTCHA_INVALID" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-CAPTCHA-INVALID:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_MISSING_PARAM" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-MISSING-PARAM:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_TOO_LARGE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-TOO-LARGE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_EXCLUSIVE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-EXCLUSIVE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_THREEPID_AUTH_FAILED" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-THREEPID-AUTH-FAILED:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_THREEPID_IN_USE" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-THREEPID-IN-USE:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_M_INVALID_USERNAME" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-INVALID-USERNAME:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_UNSPECIFIED" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-UNSPECIFIED:CAPS"/>
<keyword type="constant" name="MATRIX_ERROR_UNKNOWN_ERROR" link="Matrix-0.0-matrix-types.html#MATRIX-ERROR-UNKNOWN-ERROR:CAPS"/>
</functions>
</book>

0
NEWS
View File

1
README
View File

@ -1 +0,0 @@
README.md

View File

@ -1,55 +0,0 @@
# Matrix Client SDK for GLib
This is a [Matrix.org](http://matrix.org/) client-server SDK for
GLib >= 2.40. It contains both raw API calls and a signal based
asynchronous client. The API and ABI are both very volatile as of now;
dont rely on any specific feature until the API is frozen.
The main interfaces are `MatrixAPI` and
`MatrixClient`. `MatrixHTTPAPI` and `MatrixHTTPClient` implement these
interfaces, respectively and can communicate with an HTTP based
homeserver. If a new protocol becomes supported oficially, a new `API`
and `Client` class will be added.
# Usage
The SDK provides two layers of interaction. The low-level layer
(`MatrixAPI` implementations like `MatrixHTTPAPI`) just wraps the raw
API calls. The high-level layer (`MatrixClient` implementations like
`MatrixHTTPClient`) is a `GMainLoop` based asynchronous object that
emits `GObject` signals and uses the low-level layer to provide an
object model to perform actions on.
## Client
For a working example, see [test-client.c](src/test-client.c).
// Create a client object
MatrixClient *client = MATRIX_CLIENT(matrix_http_client_new("http://localhost:8008"));
// Set tokens for the session. Alternatively you may want to login with matrix_api_login() or matrix_client_login_with_password()
matrix_api_set_token(MATRIX_API(client), "your_access_token");
// Connect a callback that gets called when a m.room.message event arrives
matrix_client_connect_event(client, MATRIX_EVENT_TYPE_ROOM_MESSAGE, message_callback, NULL);
// Enter polling mode. This continuously calls the /sync API
matrix_client_begin_polling(client);
// Now enter a main loop with g_main_loop_run() so polling for events can actually begin
## API
For a full blown example, see [test-api-client.c](src/test-api-client.c).
# Contribution
See the file [CONTRIBUTING.md](CONTRIBUTING.md) for details.
# Code of Conduct
See the file [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) for details.
# Contact
Should you need any help, join us in Matrix at #matrix-glib-sdk:polonkai.eu.

55
annotation-glossary.html Normal file
View File

@ -0,0 +1,55 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Annotation Glossary: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="prev" href="deprecated-api-index.html" title="Index of deprecated API">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"><span id="nav_glossary"><a class="shortcut" href="#glsA">A</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#glsC">C</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#glsE">E</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#glsI">I</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#glsT">T</a></span></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
<td><a accesskey="p" href="deprecated-api-index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><img src="right-insensitive.png" width="16" height="16" border="0"></td>
</tr></table>
<div class="glossary">
<div class="titlepage"><div><div><h1 class="title">
<a name="annotation-glossary"></a>Annotation Glossary</h1></div></div></div>
<a name="glsA"></a><h3 class="title">A</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-allow-none"></a>allow-none</span></dt>
<dd class="glossdef"><p>NULL is OK, both for passing and for returning.</p></dd>
<dt><span class="glossterm"><a name="annotation-glossterm-array"></a>array</span></dt>
<dd class="glossdef"><p>Parameter points to an array of items.</p></dd>
<a name="glsC"></a><h3 class="title">C</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-closure"></a>closure</span></dt>
<dd class="glossdef"><p>This parameter is a 'user_data', for callbacks; many bindings can pass NULL here.</p></dd>
<a name="glsE"></a><h3 class="title">E</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-error-domains"></a>error-domains</span></dt>
<dd class="glossdef"><p>Typed errors. Similar to throws in Java.</p></dd>
<a name="glsI"></a><h3 class="title">I</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-in"></a>in</span></dt>
<dd class="glossdef"><p>Parameter for input. Default is <acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>.</p></dd>
<a name="glsT"></a><h3 class="title">T</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-transfer%20full"></a>transfer full</span></dt>
<dd class="glossdef"><p>Free data after the code is done.</p></dd>
<dt><span class="glossterm"><a name="annotation-glossterm-transfer%20none"></a>transfer none</span></dt>
<dd class="glossdef"><p>Don't free data after the code is done.</p></dd>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

2698
api-index-full.html Normal file

File diff suppressed because it is too large Load Diff

160
ch01.html Normal file
View File

@ -0,0 +1,160 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Matrix-0.0 API Reference: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="prev" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="next" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html" title="MatrixEventRoomThirdPartyInvite">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
<td><a accesskey="p" href="index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
<div class="titlepage"><div><div><h1 class="title">
<a name="id-1.2"></a>Matrix-0.0 API Reference</h1></div></div></div>
<div class="toc"><dl class="toc">
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html">MatrixEventRoomThirdPartyInvite</a></span><span class="refpurpose"> — Class to hold a m.room.third_party_invite event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageLocation.html">MatrixMessageLocation</a></span><span class="refpurpose"> — This message represents a real-world location.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixHTTPAPI.html">MatrixHTTPAPI</a></span><span class="refpurpose"> — This is a class for low level communication with a Matrix.org server via HTTP.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventCallInvite.html">MatrixEventCallInvite</a></span><span class="refpurpose"> — This event is sent by the caller when they wish to establish a call.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomName.html">MatrixEventRoomName</a></span><span class="refpurpose"> — Class to hold a m.room.name event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventPresence.html">MatrixEventPresence</a></span><span class="refpurpose"> — Class for representing presence events</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventState.html">MatrixEventState</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html">MatrixEventRoomCanonicalAlias</a></span><span class="refpurpose"> — Class to hold a m.room.canonical_alias event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomAvatar.html">MatrixEventRoomAvatar</a></span><span class="refpurpose"> — Class to hold a m.room.avatar event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixClient.html">MatrixClient</a></span><span class="refpurpose"> — Base interface for client communication with a Matrix.org homeserver</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageAudio.html">MatrixMessageAudio</a></span><span class="refpurpose"> — Class to hold a m.audio message</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixProfile.html">MatrixProfile</a></span><span class="refpurpose"> — Object to hold a user's profile</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventTyping.html">MatrixEventTyping</a></span><span class="refpurpose"> — Class to hold an m.typing event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixJsonCompact.html">MatrixJsonCompact</a></span><span class="refpurpose"> — Abstract parent class for classes that can be saved to JSON.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomMember.html">MatrixEventRoomMember</a></span><span class="refpurpose"> — Class for representing a room membership events</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoom.html">MatrixEventRoom</a></span><span class="refpurpose"> — Abstract base class for room events.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageBase.html">MatrixMessageBase</a></span><span class="refpurpose"> — Base class for message handlers.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventReceipt.html">MatrixEventReceipt</a></span><span class="refpurpose"> — Class to hold m.receipt events.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomMessageFeedback.html">MatrixEventRoomMessageFeedback</a></span><span class="refpurpose"> — Class to hold a m.room.message.feedback event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixHTTPClient.html">MatrixHTTPClient</a></span><span class="refpurpose"> — An event-driven client class to communicate with HTTP based Matrix.org servers.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomCreate.html">MatrixEventRoomCreate</a></span><span class="refpurpose"> — Class to hold a m.room.create event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomGuestAccess.html">MatrixEventRoomGuestAccess</a></span><span class="refpurpose"> — Class to hold a m.room.guest_access event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventCall.html">MatrixEventCall</a></span><span class="refpurpose"> — Base class for m.call.* events.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomJoinRules.html">MatrixEventRoomJoinRules</a></span><span class="refpurpose"> — Class to hold a m.room.join_rules event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageFile.html">MatrixMessageFile</a></span><span class="refpurpose"> — Class to hold a m.file message</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventBase.html">MatrixEventBase</a></span><span class="refpurpose"> — Base class for Matrix events.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventTag.html">MatrixEventTag</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventCallAnswer.html">MatrixEventCallAnswer</a></span><span class="refpurpose"> — This event is sent by the callee when they wish to answer the call.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageImage.html">MatrixMessageImage</a></span><span class="refpurpose"> — Class to hold a m.image message</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventCallHangup.html">MatrixEventCallHangup</a></span><span class="refpurpose"> — Sent by either party to signal their termination of the call. This can be sent either once the call has has been established or before to abort the call.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomRedaction.html">MatrixEventRoomRedaction</a></span><span class="refpurpose"> — Class to hold a m.room.redaction event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageNotice.html">MatrixMessageNotice</a></span><span class="refpurpose"> — Message type to hold a m.notice message</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html">MatrixEventRoomHistoryVisibility</a></span><span class="refpurpose"> — Class to hold a m.room.history_visibility event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomAliases.html">MatrixEventRoomAliases</a></span><span class="refpurpose"> — Class to hold a m.room.aliases event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventCallCandidates.html">MatrixEventCallCandidates</a></span><span class="refpurpose"> — This event is sent by callers after sending an invite and by the callee after answering. Its purpose is to give the other party additional ICE candidates to try using to communicate.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixAPI.html">MatrixAPI</a></span><span class="refpurpose"> — Base interface for all Client/Server API functionality.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomPowerLevels.html">MatrixEventRoomPowerLevels</a></span><span class="refpurpose"> — Class to handle m.room.power_levels event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageText.html">MatrixMessageText</a></span><span class="refpurpose"> — Message handler for plain text messages</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageVideo.html">MatrixMessageVideo</a></span><span class="refpurpose"> — This message represents a single video clip.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomTopic.html">MatrixEventRoomTopic</a></span><span class="refpurpose"> — Event type to hold the m.room.topic event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomMessage.html">MatrixEventRoomMessage</a></span><span class="refpurpose"> — Class to hold an m.room.message event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageEmote.html">MatrixMessageEmote</a></span><span class="refpurpose"> — The emote message type</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-matrix-types.html">matrix-types</a></span><span class="refpurpose"></span>
</dt>
</dl></div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

30
deprecated-api-index.html Normal file
View File

@ -0,0 +1,30 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index of deprecated API: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="up" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="prev" href="api-index-full.html" title="API Index">
<link rel="next" href="annotation-glossary.html" title="Annotation Glossary">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
<td><a accesskey="p" href="api-index-full.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="annotation-glossary.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="index">
<div class="titlepage"><div><div><h1 class="title">
<a name="deprecated-api-index"></a>Index of deprecated API</h1></div></div></div>
<a name="idx"></a>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

View File

@ -1,3 +0,0 @@
if get_option('gtk-doc')
subdir('reference')
endif

View File

@ -1,91 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
]>
<book id="index">
<bookinfo>
<title>Matrix-GLib-SDK Reference Manual</title>
<releaseinfo>
for Matrix-GLib-SDK 0.0.1.
The latest version of this documentation can be found on-line at
<ulink role="online-location" url="https://gergely.polonkai.eu/matrxix-glib-sdk/">https://gergely.polonkai.eu/matrix-glib-sdk/</ulink>.
</releaseinfo>
</bookinfo>
<chapter id="matrix-glib-sdk-basic-types">
<title>Basic types</title>
<xi:include href="xml/matrix-enumtypes.xml"/>
<xi:include href="xml/matrix-compacts.xml"/>
<xi:include href="xml/matrix-profile.xml"/>
<xi:include href="xml/matrix-room.xml"/>
<xi:include href="xml/matrix-types.xml"/>
<xi:include href="xml/matrix-version.xml"/>
</chapter>
<chapter id="matrix-glib-sdk-events">
<title>Event types</title>
<xi:include href="xml/event-handling.xml"/>
<xi:include href="xml/matrix-event-base.xml"/>
<xi:include href="xml/matrix-event-call-base.xml"/>
<xi:include href="xml/matrix-event-call-answer.xml"/>
<xi:include href="xml/matrix-event-call-candidates.xml"/>
<xi:include href="xml/matrix-event-call-hangup.xml"/>
<xi:include href="xml/matrix-event-call-invite.xml"/>
<xi:include href="xml/matrix-event-presence.xml"/>
<xi:include href="xml/matrix-event-receipt.xml"/>
<xi:include href="xml/matrix-event-room-aliases.xml"/>
<xi:include href="xml/matrix-event-room-avatar.xml"/>
<xi:include href="xml/matrix-event-room-base.xml"/>
<xi:include href="xml/matrix-event-room-canonical-alias.xml"/>
<xi:include href="xml/matrix-event-room-create.xml"/>
<xi:include href="xml/matrix-event-room-guest-access.xml"/>
<xi:include href="xml/matrix-event-room-history-visibility.xml"/>
<xi:include href="xml/matrix-event-room-join-rules.xml"/>
<xi:include href="xml/matrix-event-room-member.xml"/>
<xi:include href="xml/matrix-event-room-message.xml"/>
<xi:include href="xml/matrix-event-room-message-feedback.xml"/>
<xi:include href="xml/matrix-event-room-name.xml"/>
<xi:include href="xml/matrix-event-room-power-levels.xml"/>
<xi:include href="xml/matrix-event-room-redaction.xml"/>
<xi:include href="xml/matrix-event-room-third-party-invite.xml"/>
<xi:include href="xml/matrix-event-room-topic.xml"/>
<xi:include href="xml/matrix-event-state-base.xml"/>
<xi:include href="xml/matrix-event-tag.xml"/>
<xi:include href="xml/matrix-event-typing.xml"/>
</chapter>
<chapter id="matrix-glib-sdk-messages">
<title>Message types</title>
<xi:include href="xml/message-handling.xml"/>
<xi:include href="xml/matrix-message-base.xml"/>
<xi:include href="xml/matrix-message-text.xml"/>
<xi:include href="xml/matrix-message-emote.xml"/>
<xi:include href="xml/matrix-message-notice.xml"/>
<xi:include href="xml/matrix-message-file.xml"/>
<xi:include href="xml/matrix-message-audio.xml"/>
<xi:include href="xml/matrix-message-image.xml"/>
<xi:include href="xml/matrix-message-video.xml"/>
<xi:include href="xml/matrix-message-location.xml"/>
</chapter>
<chapter>
<title>Communicating with homeservers</title>
<xi:include href="xml/matrix-api.xml"/>
<xi:include href="xml/matrix-client.xml"/>
<xi:include href="xml/matrix-http-api.xml"/>
<xi:include href="xml/matrix-http-client.xml"/>
</chapter>
<index id="api-index-full">
<title>API Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
</index>
<index id="deprecated-api-index" role="deprecated">
<title>Index of deprecated API</title>
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
</index>
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
</book>

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
gnome.gtkdoc('matrix-glib-sdk',
main_xml : 'matrix-glib-sdk-docs.xml',
src_dir : join_paths(meson.source_root(), 'src'),
mkdb_args : ['--xml-mode', '--output-format=xml'],
ignore_headers : 'utils.h',
install : true)

View File

@ -1 +0,0 @@
subdir('matrix-glib-sdk')

BIN
home.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

166
index.html Normal file
View File

@ -0,0 +1,166 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Matrix-0.0 Reference Manual: Matrix-0.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Matrix-0.0 Reference Manual">
<link rel="next" href="ch01.html" title="Matrix-0.0 API Reference">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="book">
<div class="titlepage">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Matrix-0.0 Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
for Matrix-0.0 0.0.1.20160313.
The latest version of this documentation can be found on-line at
<a class="ulink" href="http://%5BSERVER%5D/Matrix-0.0/index.html" target="_top">http://[SERVER]/Matrix-0.0/</a>.
</p></div>
</div>
<hr>
</div>
<div class="toc"><dl class="toc">
<dt><span class="chapter"><a href="ch01.html">Matrix-0.0 API Reference</a></span></dt>
<dd><dl>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomThirdPartyInvite.html">MatrixEventRoomThirdPartyInvite</a></span><span class="refpurpose"> — Class to hold a m.room.third_party_invite event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageLocation.html">MatrixMessageLocation</a></span><span class="refpurpose"> — This message represents a real-world location.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixHTTPAPI.html">MatrixHTTPAPI</a></span><span class="refpurpose"> — This is a class for low level communication with a Matrix.org server via HTTP.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventCallInvite.html">MatrixEventCallInvite</a></span><span class="refpurpose"> — This event is sent by the caller when they wish to establish a call.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomName.html">MatrixEventRoomName</a></span><span class="refpurpose"> — Class to hold a m.room.name event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventPresence.html">MatrixEventPresence</a></span><span class="refpurpose"> — Class for representing presence events</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventState.html">MatrixEventState</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomCanonicalAlias.html">MatrixEventRoomCanonicalAlias</a></span><span class="refpurpose"> — Class to hold a m.room.canonical_alias event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomAvatar.html">MatrixEventRoomAvatar</a></span><span class="refpurpose"> — Class to hold a m.room.avatar event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixClient.html">MatrixClient</a></span><span class="refpurpose"> — Base interface for client communication with a Matrix.org homeserver</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageAudio.html">MatrixMessageAudio</a></span><span class="refpurpose"> — Class to hold a m.audio message</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixProfile.html">MatrixProfile</a></span><span class="refpurpose"> — Object to hold a user's profile</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventTyping.html">MatrixEventTyping</a></span><span class="refpurpose"> — Class to hold an m.typing event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixJsonCompact.html">MatrixJsonCompact</a></span><span class="refpurpose"> — Abstract parent class for classes that can be saved to JSON.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomMember.html">MatrixEventRoomMember</a></span><span class="refpurpose"> — Class for representing a room membership events</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoom.html">MatrixEventRoom</a></span><span class="refpurpose"> — Abstract base class for room events.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageBase.html">MatrixMessageBase</a></span><span class="refpurpose"> — Base class for message handlers.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventReceipt.html">MatrixEventReceipt</a></span><span class="refpurpose"> — Class to hold m.receipt events.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomMessageFeedback.html">MatrixEventRoomMessageFeedback</a></span><span class="refpurpose"> — Class to hold a m.room.message.feedback event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixHTTPClient.html">MatrixHTTPClient</a></span><span class="refpurpose"> — An event-driven client class to communicate with HTTP based Matrix.org servers.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomCreate.html">MatrixEventRoomCreate</a></span><span class="refpurpose"> — Class to hold a m.room.create event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomGuestAccess.html">MatrixEventRoomGuestAccess</a></span><span class="refpurpose"> — Class to hold a m.room.guest_access event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventCall.html">MatrixEventCall</a></span><span class="refpurpose"> — Base class for m.call.* events.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomJoinRules.html">MatrixEventRoomJoinRules</a></span><span class="refpurpose"> — Class to hold a m.room.join_rules event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageFile.html">MatrixMessageFile</a></span><span class="refpurpose"> — Class to hold a m.file message</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventBase.html">MatrixEventBase</a></span><span class="refpurpose"> — Base class for Matrix events.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventTag.html">MatrixEventTag</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventCallAnswer.html">MatrixEventCallAnswer</a></span><span class="refpurpose"> — This event is sent by the callee when they wish to answer the call.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageImage.html">MatrixMessageImage</a></span><span class="refpurpose"> — Class to hold a m.image message</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventCallHangup.html">MatrixEventCallHangup</a></span><span class="refpurpose"> — Sent by either party to signal their termination of the call. This can be sent either once the call has has been established or before to abort the call.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomRedaction.html">MatrixEventRoomRedaction</a></span><span class="refpurpose"> — Class to hold a m.room.redaction event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageNotice.html">MatrixMessageNotice</a></span><span class="refpurpose"> — Message type to hold a m.notice message</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomHistoryVisibility.html">MatrixEventRoomHistoryVisibility</a></span><span class="refpurpose"> — Class to hold a m.room.history_visibility event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomAliases.html">MatrixEventRoomAliases</a></span><span class="refpurpose"> — Class to hold a m.room.aliases event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventCallCandidates.html">MatrixEventCallCandidates</a></span><span class="refpurpose"> — This event is sent by callers after sending an invite and by the callee after answering. Its purpose is to give the other party additional ICE candidates to try using to communicate.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixAPI.html">MatrixAPI</a></span><span class="refpurpose"> — Base interface for all Client/Server API functionality.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomPowerLevels.html">MatrixEventRoomPowerLevels</a></span><span class="refpurpose"> — Class to handle m.room.power_levels event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageText.html">MatrixMessageText</a></span><span class="refpurpose"> — Message handler for plain text messages</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageVideo.html">MatrixMessageVideo</a></span><span class="refpurpose"> — This message represents a single video clip.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomTopic.html">MatrixEventRoomTopic</a></span><span class="refpurpose"> — Event type to hold the m.room.topic event.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixEventRoomMessage.html">MatrixEventRoomMessage</a></span><span class="refpurpose"> — Class to hold an m.room.message event</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-MatrixMessageEmote.html">MatrixMessageEmote</a></span><span class="refpurpose"> — The emote message type</span>
</dt>
<dt>
<span class="refentrytitle"><a href="Matrix-0.0-matrix-types.html">matrix-types</a></span><span class="refpurpose"></span>
</dt>
</dl></dd>
<dt><span class="index"><a href="api-index-full.html">API Index</a></span></dt>
<dt><span class="index"><a href="deprecated-api-index.html">Index of deprecated API</a></span></dt>
<dt><span class="glossary"><a href="annotation-glossary.html">Annotation Glossary</a></span></dt>
</dl></div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>

984
index.sgml Normal file
View File

@ -0,0 +1,984 @@
<ONLINE href="http://[SERVER]/Matrix-0.0/index.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomThirdPartyInvite" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomThirdPartyInvite.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#Matrix-0.0-MatrixEventRoomThirdPartyInvite.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomThirdPartyInvite.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#Matrix-0.0-MatrixEventRoomThirdPartyInvite.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomThirdPartyInvite.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#Matrix-0.0-MatrixEventRoomThirdPartyInvite.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomThirdPartyInvite.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#Matrix-0.0-MatrixEventRoomThirdPartyInvite.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-THIRD-PARTY-INVITE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MATRIX-EVENT-TYPE-ROOM-THIRD-PARTY-INVITE:CAPS">
<ANCHOR id="matrix-event-room-third-party-invite-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-new">
<ANCHOR id="matrix-event-room-third-party-invite-get-display-name" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-display-name">
<ANCHOR id="matrix-event-room-third-party-invite-set-display-name" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-display-name">
<ANCHOR id="matrix-event-room-third-party-invite-get-key-validity-url" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-key-validity-url">
<ANCHOR id="matrix-event-room-third-party-invite-set-key-validity-url" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-key-validity-url">
<ANCHOR id="matrix-event-room-third-party-invite-get-public-key" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-public-key">
<ANCHOR id="matrix-event-room-third-party-invite-set-public-key" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-public-key">
<ANCHOR id="matrix-event-room-third-party-invite-get-public-keys" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-public-keys">
<ANCHOR id="matrix-event-room-third-party-invite-set-public-keys" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-public-keys">
<ANCHOR id="matrix-event-room-third-party-invite-get-token" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-get-token">
<ANCHOR id="matrix-event-room-third-party-invite-set-token" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-set-token">
<ANCHOR id="matrix-event-room-third-party-invite-public-key-dup" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-dup">
<ANCHOR id="matrix-event-room-third-party-invite-public-key-free" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-free">
<ANCHOR id="matrix-event-room-third-party-invite-public-key-copy" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-copy">
<ANCHOR id="matrix-event-room-third-party-invite-public-key-destroy" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#matrix-event-room-third-party-invite-public-key-destroy">
<ANCHOR id="Matrix-0.0-MatrixEventRoomThirdPartyInvite.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#Matrix-0.0-MatrixEventRoomThirdPartyInvite.other_details">
<ANCHOR id="MatrixEventRoomThirdPartyInvitePublicKey" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvitePublicKey">
<ANCHOR id="MatrixEventRoomThirdPartyInvite" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInvite">
<ANCHOR id="MatrixEventRoomThirdPartyInviteClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomThirdPartyInvite.html#MatrixEventRoomThirdPartyInviteClass">
<ANCHOR id="Matrix-0.0-MatrixMessageLocation" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html">
<ANCHOR id="Matrix-0.0-MatrixMessageLocation.functions" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#Matrix-0.0-MatrixMessageLocation.functions">
<ANCHOR id="Matrix-0.0-MatrixMessageLocation.other" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#Matrix-0.0-MatrixMessageLocation.other">
<ANCHOR id="Matrix-0.0-MatrixMessageLocation.description" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#Matrix-0.0-MatrixMessageLocation.description">
<ANCHOR id="Matrix-0.0-MatrixMessageLocation.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#Matrix-0.0-MatrixMessageLocation.functions_details">
<ANCHOR id="MATRIX-MESSAGE-TYPE-LOCATION:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#MATRIX-MESSAGE-TYPE-LOCATION:CAPS">
<ANCHOR id="matrix-message-location-new" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-new">
<ANCHOR id="matrix-message-location-get-geo-uri" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-get-geo-uri">
<ANCHOR id="matrix-message-location-set-geo-uri" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-set-geo-uri">
<ANCHOR id="matrix-message-location-get-thumbnail-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-get-thumbnail-url">
<ANCHOR id="matrix-message-location-set-thumbnail-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-set-thumbnail-url">
<ANCHOR id="matrix-message-location-get-thumbnail-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-get-thumbnail-info">
<ANCHOR id="matrix-message-location-set-thumbnail-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#matrix-message-location-set-thumbnail-info">
<ANCHOR id="Matrix-0.0-MatrixMessageLocation.other_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#Matrix-0.0-MatrixMessageLocation.other_details">
<ANCHOR id="MatrixMessageLocation" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocation">
<ANCHOR id="MatrixMessageLocationClass" href="Matrix-0.0/Matrix-0.0-MatrixMessageLocation.html#MatrixMessageLocationClass">
<ANCHOR id="Matrix-0.0-MatrixHTTPAPI" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html">
<ANCHOR id="Matrix-0.0-MatrixHTTPAPI.functions" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#Matrix-0.0-MatrixHTTPAPI.functions">
<ANCHOR id="Matrix-0.0-MatrixHTTPAPI.other" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#Matrix-0.0-MatrixHTTPAPI.other">
<ANCHOR id="Matrix-0.0-MatrixHTTPAPI.description" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#Matrix-0.0-MatrixHTTPAPI.description">
<ANCHOR id="Matrix-0.0-MatrixHTTPAPI.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#Matrix-0.0-MatrixHTTPAPI.functions_details">
<ANCHOR id="MATRIX-TYPE-HTTP-API:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#MATRIX-TYPE-HTTP-API:CAPS">
<ANCHOR id="matrix-http-api-new" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-new">
<ANCHOR id="matrix-http-api-get-base-url" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-get-base-url">
<ANCHOR id="matrix-http-api-set-base-url" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-set-base-url">
<ANCHOR id="matrix-http-api-get-validate-certificate" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-get-validate-certificate">
<ANCHOR id="matrix-http-api-set-validate-certificate" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#matrix-http-api-set-validate-certificate">
<ANCHOR id="Matrix-0.0-MatrixHTTPAPI.other_details" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#Matrix-0.0-MatrixHTTPAPI.other_details">
<ANCHOR id="MatrixHTTPAPI" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPI">
<ANCHOR id="MatrixHTTPAPIClass" href="Matrix-0.0/Matrix-0.0-MatrixHTTPAPI.html#MatrixHTTPAPIClass">
<ANCHOR id="Matrix-0.0-MatrixEventCallInvite" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html">
<ANCHOR id="Matrix-0.0-MatrixEventCallInvite.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#Matrix-0.0-MatrixEventCallInvite.functions">
<ANCHOR id="Matrix-0.0-MatrixEventCallInvite.other" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#Matrix-0.0-MatrixEventCallInvite.other">
<ANCHOR id="Matrix-0.0-MatrixEventCallInvite.description" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#Matrix-0.0-MatrixEventCallInvite.description">
<ANCHOR id="Matrix-0.0-MatrixEventCallInvite.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#Matrix-0.0-MatrixEventCallInvite.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-CALL-INVITE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#MATRIX-EVENT-TYPE-CALL-INVITE:CAPS">
<ANCHOR id="matrix-event-call-invite-new" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-new">
<ANCHOR id="matrix-event-call-invite-get-offer-type" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-get-offer-type">
<ANCHOR id="matrix-event-call-invite-set-offer-type" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-set-offer-type">
<ANCHOR id="matrix-event-call-invite-get-sdp" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-get-sdp">
<ANCHOR id="matrix-event-call-invite-set-sdp" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-set-sdp">
<ANCHOR id="matrix-event-call-invite-get-lifetime" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-get-lifetime">
<ANCHOR id="matrix-event-call-invite-set-lifetime" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#matrix-event-call-invite-set-lifetime">
<ANCHOR id="Matrix-0.0-MatrixEventCallInvite.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#Matrix-0.0-MatrixEventCallInvite.other_details">
<ANCHOR id="MatrixEventCallInvite" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInvite">
<ANCHOR id="MatrixEventCallInviteClass" href="Matrix-0.0/Matrix-0.0-MatrixEventCallInvite.html#MatrixEventCallInviteClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomName" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomName.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#Matrix-0.0-MatrixEventRoomName.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomName.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#Matrix-0.0-MatrixEventRoomName.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomName.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#Matrix-0.0-MatrixEventRoomName.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomName.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#Matrix-0.0-MatrixEventRoomName.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-NAME:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#MATRIX-EVENT-TYPE-ROOM-NAME:CAPS">
<ANCHOR id="matrix-event-room-name-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#matrix-event-room-name-new">
<ANCHOR id="matrix-event-room-name-get-name" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#matrix-event-room-name-get-name">
<ANCHOR id="matrix-event-room-name-set-name" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#matrix-event-room-name-set-name">
<ANCHOR id="Matrix-0.0-MatrixEventRoomName.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#Matrix-0.0-MatrixEventRoomName.other_details">
<ANCHOR id="MatrixEventRoomName" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomName">
<ANCHOR id="MatrixEventRoomNameClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomName.html#MatrixEventRoomNameClass">
<ANCHOR id="Matrix-0.0-MatrixEventPresence" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html">
<ANCHOR id="Matrix-0.0-MatrixEventPresence.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#Matrix-0.0-MatrixEventPresence.functions">
<ANCHOR id="Matrix-0.0-MatrixEventPresence.other" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#Matrix-0.0-MatrixEventPresence.other">
<ANCHOR id="Matrix-0.0-MatrixEventPresence.description" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#Matrix-0.0-MatrixEventPresence.description">
<ANCHOR id="Matrix-0.0-MatrixEventPresence.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#Matrix-0.0-MatrixEventPresence.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-PRESENCE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#MATRIX-EVENT-TYPE-PRESENCE:CAPS">
<ANCHOR id="matrix-event-presence-new" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-new">
<ANCHOR id="matrix-event-presence-get-avatar-url" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-avatar-url">
<ANCHOR id="matrix-event-presence-set-avatar-url" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-avatar-url">
<ANCHOR id="matrix-event-presence-get-display-name" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-display-name">
<ANCHOR id="matrix-event-presence-set-display-name" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-display-name">
<ANCHOR id="matrix-event-presence-get-last-active-ago" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-last-active-ago">
<ANCHOR id="matrix-event-presence-set-last-active-ago" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-last-active-ago">
<ANCHOR id="matrix-event-presence-get-user-id" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-user-id">
<ANCHOR id="matrix-event-presence-set-user-id" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-user-id">
<ANCHOR id="matrix-event-presence-get-event-id" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-event-id">
<ANCHOR id="matrix-event-presence-set-event-id" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-event-id">
<ANCHOR id="matrix-event-presence-get-presence" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-get-presence">
<ANCHOR id="matrix-event-presence-set-presence" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#matrix-event-presence-set-presence">
<ANCHOR id="Matrix-0.0-MatrixEventPresence.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#Matrix-0.0-MatrixEventPresence.other_details">
<ANCHOR id="MatrixEventPresence" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#MatrixEventPresence">
<ANCHOR id="MatrixEventPresenceClass" href="Matrix-0.0/Matrix-0.0-MatrixEventPresence.html#MatrixEventPresenceClass">
<ANCHOR id="Matrix-0.0-MatrixEventState" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html">
<ANCHOR id="Matrix-0.0-MatrixEventState.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#Matrix-0.0-MatrixEventState.functions">
<ANCHOR id="Matrix-0.0-MatrixEventState.other" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#Matrix-0.0-MatrixEventState.other">
<ANCHOR id="Matrix-0.0-MatrixEventState.description" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#Matrix-0.0-MatrixEventState.description">
<ANCHOR id="Matrix-0.0-MatrixEventState.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#Matrix-0.0-MatrixEventState.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-STATE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#MATRIX-EVENT-TYPE-STATE:CAPS">
<ANCHOR id="matrix-event-state-get-stripped-node" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#matrix-event-state-get-stripped-node">
<ANCHOR id="matrix-event-state-get-state-key" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#matrix-event-state-get-state-key">
<ANCHOR id="matrix-event-state-set-state-key" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#matrix-event-state-set-state-key">
<ANCHOR id="matrix-event-state-get-prev-content" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#matrix-event-state-get-prev-content">
<ANCHOR id="matrix-event-state-set-prev-content" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#matrix-event-state-set-prev-content">
<ANCHOR id="Matrix-0.0-MatrixEventState.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#Matrix-0.0-MatrixEventState.other_details">
<ANCHOR id="MatrixEventState" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#MatrixEventState">
<ANCHOR id="MatrixEventStateClass" href="Matrix-0.0/Matrix-0.0-MatrixEventState.html#MatrixEventStateClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCanonicalAlias" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCanonicalAlias.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#Matrix-0.0-MatrixEventRoomCanonicalAlias.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCanonicalAlias.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#Matrix-0.0-MatrixEventRoomCanonicalAlias.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCanonicalAlias.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#Matrix-0.0-MatrixEventRoomCanonicalAlias.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCanonicalAlias.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#Matrix-0.0-MatrixEventRoomCanonicalAlias.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-CANONICAL-ALIAS:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MATRIX-EVENT-TYPE-ROOM-CANONICAL-ALIAS:CAPS">
<ANCHOR id="matrix-event-room-canonical-alias-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#matrix-event-room-canonical-alias-new">
<ANCHOR id="matrix-event-room-canonical-alias-get-canonical-alias" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#matrix-event-room-canonical-alias-get-canonical-alias">
<ANCHOR id="matrix-event-room-canonical-alias-set-canonical-alias" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#matrix-event-room-canonical-alias-set-canonical-alias">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCanonicalAlias.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#Matrix-0.0-MatrixEventRoomCanonicalAlias.other_details">
<ANCHOR id="MatrixEventRoomCanonicalAlias" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAlias">
<ANCHOR id="MatrixEventRoomCanonicalAliasClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCanonicalAlias.html#MatrixEventRoomCanonicalAliasClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAvatar" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAvatar.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#Matrix-0.0-MatrixEventRoomAvatar.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAvatar.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#Matrix-0.0-MatrixEventRoomAvatar.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAvatar.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#Matrix-0.0-MatrixEventRoomAvatar.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAvatar.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#Matrix-0.0-MatrixEventRoomAvatar.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-AVATAR:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#MATRIX-EVENT-TYPE-ROOM-AVATAR:CAPS">
<ANCHOR id="matrix-event-room-avatar-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-new">
<ANCHOR id="matrix-event-room-avatar-get-url" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-url">
<ANCHOR id="matrix-event-room-avatar-set-url" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-url">
<ANCHOR id="matrix-event-room-avatar-get-thumbnail-url" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-thumbnail-url">
<ANCHOR id="matrix-event-room-avatar-set-thumbnail-url" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-thumbnail-url">
<ANCHOR id="matrix-event-room-avatar-get-info" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-info">
<ANCHOR id="matrix-event-room-avatar-set-info" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-info">
<ANCHOR id="matrix-event-room-avatar-get-thumbnail-info" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-get-thumbnail-info">
<ANCHOR id="matrix-event-room-avatar-set-thumbnail-info" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#matrix-event-room-avatar-set-thumbnail-info">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAvatar.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#Matrix-0.0-MatrixEventRoomAvatar.other_details">
<ANCHOR id="MatrixEventRoomAvatar" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatar">
<ANCHOR id="MatrixEventRoomAvatarClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAvatar.html#MatrixEventRoomAvatarClass">
<ANCHOR id="Matrix-0.0-MatrixClient" href="Matrix-0.0/Matrix-0.0-MatrixClient.html">
<ANCHOR id="Matrix-0.0-MatrixClient.functions" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#Matrix-0.0-MatrixClient.functions">
<ANCHOR id="Matrix-0.0-MatrixClient.other" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#Matrix-0.0-MatrixClient.other">
<ANCHOR id="Matrix-0.0-MatrixClient.description" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#Matrix-0.0-MatrixClient.description">
<ANCHOR id="Matrix-0.0-MatrixClient.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#Matrix-0.0-MatrixClient.functions_details">
<ANCHOR id="matrix-client-login-with-password" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-login-with-password">
<ANCHOR id="matrix-client-register-with-password" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-register-with-password">
<ANCHOR id="matrix-client-logout" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-logout">
<ANCHOR id="matrix-client-begin-polling" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-begin-polling">
<ANCHOR id="matrix-client-stop-polling" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-stop-polling">
<ANCHOR id="matrix-client-emit-login-finished" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-emit-login-finished">
<ANCHOR id="matrix-client-incoming-event" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-incoming-event">
<ANCHOR id="matrix-client-connect-event" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-connect-event">
<ANCHOR id="matrix-client-get-user-profile" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-get-user-profile">
<ANCHOR id="matrix-client-get-user-presence" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-get-user-presence">
<ANCHOR id="matrix-client-get-room-by-id" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#matrix-client-get-room-by-id">
<ANCHOR id="MatrixClientEventCallback" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#MatrixClientEventCallback">
<ANCHOR id="Matrix-0.0-MatrixClient.other_details" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#Matrix-0.0-MatrixClient.other_details">
<ANCHOR id="MatrixClient" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#MatrixClient">
<ANCHOR id="MatrixClientIface" href="Matrix-0.0/Matrix-0.0-MatrixClient.html#MatrixClientIface">
<ANCHOR id="Matrix-0.0-MatrixMessageAudio" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html">
<ANCHOR id="Matrix-0.0-MatrixMessageAudio.functions" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#Matrix-0.0-MatrixMessageAudio.functions">
<ANCHOR id="Matrix-0.0-MatrixMessageAudio.other" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#Matrix-0.0-MatrixMessageAudio.other">
<ANCHOR id="Matrix-0.0-MatrixMessageAudio.description" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#Matrix-0.0-MatrixMessageAudio.description">
<ANCHOR id="Matrix-0.0-MatrixMessageAudio.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#Matrix-0.0-MatrixMessageAudio.functions_details">
<ANCHOR id="MATRIX-MESSAGE-TYPE-AUDIO:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#MATRIX-MESSAGE-TYPE-AUDIO:CAPS">
<ANCHOR id="matrix-message-audio-new" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-new">
<ANCHOR id="matrix-message-audio-get-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-get-url">
<ANCHOR id="matrix-message-audio-set-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-set-url">
<ANCHOR id="matrix-message-audio-get-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-get-info">
<ANCHOR id="matrix-message-audio-set-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#matrix-message-audio-set-info">
<ANCHOR id="Matrix-0.0-MatrixMessageAudio.other_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#Matrix-0.0-MatrixMessageAudio.other_details">
<ANCHOR id="MatrixMessageAudio" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudio">
<ANCHOR id="MatrixMessageAudioClass" href="Matrix-0.0/Matrix-0.0-MatrixMessageAudio.html#MatrixMessageAudioClass">
<ANCHOR id="Matrix-0.0-MatrixProfile" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html">
<ANCHOR id="Matrix-0.0-MatrixProfile.functions" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#Matrix-0.0-MatrixProfile.functions">
<ANCHOR id="Matrix-0.0-MatrixProfile.other" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#Matrix-0.0-MatrixProfile.other">
<ANCHOR id="Matrix-0.0-MatrixProfile.description" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#Matrix-0.0-MatrixProfile.description">
<ANCHOR id="Matrix-0.0-MatrixProfile.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#Matrix-0.0-MatrixProfile.functions_details">
<ANCHOR id="MATRIX-TYPE-PROFILE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#MATRIX-TYPE-PROFILE:CAPS">
<ANCHOR id="matrix-profile-new" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#matrix-profile-new">
<ANCHOR id="matrix-profile-get-age" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#matrix-profile-get-age">
<ANCHOR id="matrix-profile-get-display-name" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#matrix-profile-get-display-name">
<ANCHOR id="matrix-profile-set-display-name" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#matrix-profile-set-display-name">
<ANCHOR id="matrix-profile-get-avatar-url" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#matrix-profile-get-avatar-url">
<ANCHOR id="matrix-profile-set-avatar-url" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#matrix-profile-set-avatar-url">
<ANCHOR id="Matrix-0.0-MatrixProfile.other_details" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#Matrix-0.0-MatrixProfile.other_details">
<ANCHOR id="MatrixProfile" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#MatrixProfile">
<ANCHOR id="MatrixProfileClass" href="Matrix-0.0/Matrix-0.0-MatrixProfile.html#MatrixProfileClass">
<ANCHOR id="Matrix-0.0-MatrixEventTyping" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html">
<ANCHOR id="Matrix-0.0-MatrixEventTyping.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#Matrix-0.0-MatrixEventTyping.functions">
<ANCHOR id="Matrix-0.0-MatrixEventTyping.other" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#Matrix-0.0-MatrixEventTyping.other">
<ANCHOR id="Matrix-0.0-MatrixEventTyping.description" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#Matrix-0.0-MatrixEventTyping.description">
<ANCHOR id="Matrix-0.0-MatrixEventTyping.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#Matrix-0.0-MatrixEventTyping.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-TYPING:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#MATRIX-EVENT-TYPE-TYPING:CAPS">
<ANCHOR id="matrix-event-typing-new" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-new">
<ANCHOR id="matrix-event-typing-get-room-id" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-get-room-id">
<ANCHOR id="matrix-event-typing-set-room-id" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-set-room-id">
<ANCHOR id="matrix-event-typing-get-user-ids" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-get-user-ids">
<ANCHOR id="matrix-event-typing-set-user-ids" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#matrix-event-typing-set-user-ids">
<ANCHOR id="Matrix-0.0-MatrixEventTyping.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#Matrix-0.0-MatrixEventTyping.other_details">
<ANCHOR id="MatrixEventTyping" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#MatrixEventTyping">
<ANCHOR id="MatrixEventTypingClass" href="Matrix-0.0/Matrix-0.0-MatrixEventTyping.html#MatrixEventTypingClass">
<ANCHOR id="Matrix-0.0-MatrixJsonCompact" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html">
<ANCHOR id="Matrix-0.0-MatrixJsonCompact.functions" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#Matrix-0.0-MatrixJsonCompact.functions">
<ANCHOR id="Matrix-0.0-MatrixJsonCompact.other" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#Matrix-0.0-MatrixJsonCompact.other">
<ANCHOR id="Matrix-0.0-MatrixJsonCompact.description" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#Matrix-0.0-MatrixJsonCompact.description">
<ANCHOR id="Matrix-0.0-MatrixJsonCompact.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#Matrix-0.0-MatrixJsonCompact.functions_details">
<ANCHOR id="MATRIX-TYPE-JSON-COMPACT:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-JSON-COMPACT:CAPS">
<ANCHOR id="matrix-json-compact-get-json-node" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-json-compact-get-json-node">
<ANCHOR id="matrix-json-compact-get-json-data" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-json-compact-get-json-data">
<ANCHOR id="matrix-json-compact-ref" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-json-compact-ref">
<ANCHOR id="matrix-json-compact-unref" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-json-compact-unref">
<ANCHOR id="matrix-param-spec-json-compact" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-param-spec-json-compact">
<ANCHOR id="matrix-value-set-json-compact" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-value-set-json-compact">
<ANCHOR id="matrix-value-get-json-compact" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-value-get-json-compact">
<ANCHOR id="matrix-value-take-json-compact" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-value-take-json-compact">
<ANCHOR id="MATRIX-TYPE-FILTER:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-FILTER:CAPS">
<ANCHOR id="matrix-filter-new" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-new">
<ANCHOR id="matrix-filter-get-event-fields" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-get-event-fields">
<ANCHOR id="matrix-filter-set-event-fields" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-set-event-fields">
<ANCHOR id="matrix-filter-get-event-format" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-get-event-format">
<ANCHOR id="matrix-filter-set-event-format" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-set-event-format">
<ANCHOR id="matrix-filter-get-presence-filter" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-get-presence-filter">
<ANCHOR id="matrix-filter-set-presence-filter" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-set-presence-filter">
<ANCHOR id="matrix-filter-get-room-filter" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-get-room-filter">
<ANCHOR id="matrix-filter-set-room-filter" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-set-room-filter">
<ANCHOR id="MATRIX-TYPE-ROOM-FILTER:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-ROOM-FILTER:CAPS">
<ANCHOR id="matrix-room-filter-new" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-new">
<ANCHOR id="matrix-room-filter-get-include-leave" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-get-include-leave">
<ANCHOR id="matrix-room-filter-set-include-leave" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-set-include-leave">
<ANCHOR id="matrix-room-filter-get-ephemeral" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-get-ephemeral">
<ANCHOR id="matrix-room-filter-set-ephemeral" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-set-ephemeral">
<ANCHOR id="matrix-room-filter-get-state" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-get-state">
<ANCHOR id="matrix-room-filter-set-state" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-set-state">
<ANCHOR id="matrix-room-filter-get-timeline" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-get-timeline">
<ANCHOR id="matrix-room-filter-set-timeline" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-room-filter-set-timeline">
<ANCHOR id="MATRIX-TYPE-FILTER-RULES:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-FILTER-RULES:CAPS">
<ANCHOR id="matrix-filter-rules-new" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-new">
<ANCHOR id="matrix-filter-rules-get-limit" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-limit">
<ANCHOR id="matrix-filter-rules-set-limit" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-limit">
<ANCHOR id="matrix-filter-rules-get-types" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-types">
<ANCHOR id="matrix-filter-rules-set-types" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-types">
<ANCHOR id="matrix-filter-rules-get-excluded-types" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-excluded-types">
<ANCHOR id="matrix-filter-rules-set-excluded-types" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-excluded-types">
<ANCHOR id="matrix-filter-rules-get-senders" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-senders">
<ANCHOR id="matrix-filter-rules-set-senders" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-senders">
<ANCHOR id="matrix-filter-rules-get-excluded-senders" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-excluded-senders">
<ANCHOR id="matrix-filter-rules-set-excluded-senders" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-excluded-senders">
<ANCHOR id="matrix-filter-rules-get-rooms" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-rooms">
<ANCHOR id="matrix-filter-rules-set-rooms" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-rooms">
<ANCHOR id="matrix-filter-rules-get-excluded-rooms" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-get-excluded-rooms">
<ANCHOR id="matrix-filter-rules-set-excluded-rooms" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-filter-rules-set-excluded-rooms">
<ANCHOR id="MATRIX-TYPE-3PID-CREDENTIAL:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-3PID-CREDENTIAL:CAPS">
<ANCHOR id="matrix-3pid-credential-new" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-new">
<ANCHOR id="matrix-3pid-credential-get-id-server" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-get-id-server">
<ANCHOR id="matrix-3pid-credential-set-id-server" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-set-id-server">
<ANCHOR id="matrix-3pid-credential-get-session-id" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-get-session-id">
<ANCHOR id="matrix-3pid-credential-set-session-id" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-set-session-id">
<ANCHOR id="matrix-3pid-credential-get-client-secret" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-get-client-secret">
<ANCHOR id="matrix-3pid-credential-set-client-secret" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-3pid-credential-set-client-secret">
<ANCHOR id="MATRIX-TYPE-PUSHER:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-PUSHER:CAPS">
<ANCHOR id="matrix-pusher-new" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-new">
<ANCHOR id="matrix-pusher-get-device-display-name" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-device-display-name">
<ANCHOR id="matrix-pusher-set-device-display-name" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-device-display-name">
<ANCHOR id="matrix-pusher-get-app-display-name" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-app-display-name">
<ANCHOR id="matrix-pusher-set-app-display-name" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-app-display-name">
<ANCHOR id="matrix-pusher-get-app-id" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-app-id">
<ANCHOR id="matrix-pusher-set-app-id" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-app-id">
<ANCHOR id="matrix-pusher-get-append" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-append">
<ANCHOR id="matrix-pusher-set-append" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-append">
<ANCHOR id="matrix-pusher-get-kind" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-kind">
<ANCHOR id="matrix-pusher-set-kind" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-kind">
<ANCHOR id="matrix-pusher-get-lang" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-lang">
<ANCHOR id="matrix-pusher-set-lang" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-lang">
<ANCHOR id="matrix-pusher-get-profile-tag" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-profile-tag">
<ANCHOR id="matrix-pusher-set-profile-tag" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-profile-tag">
<ANCHOR id="matrix-pusher-get-pushkey" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-pushkey">
<ANCHOR id="matrix-pusher-set-pushkey" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-pushkey">
<ANCHOR id="matrix-pusher-get-data" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-get-data">
<ANCHOR id="matrix-pusher-set-data" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-pusher-set-data">
<ANCHOR id="MATRIX-TYPE-EVENT-CONTEXT:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-EVENT-CONTEXT:CAPS">
<ANCHOR id="matrix-event-context-new" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-new">
<ANCHOR id="matrix-event-context-get-before-limit" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-get-before-limit">
<ANCHOR id="matrix-event-context-set-before-limit" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-set-before-limit">
<ANCHOR id="matrix-event-context-get-after-limit" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-get-after-limit">
<ANCHOR id="matrix-event-context-set-after-limit" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-set-after-limit">
<ANCHOR id="matrix-event-context-get-include-profile" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-get-include-profile">
<ANCHOR id="matrix-event-context-set-include-profile" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-event-context-set-include-profile">
<ANCHOR id="MATRIX-TYPE-SEARCH-GROUPING:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-SEARCH-GROUPING:CAPS">
<ANCHOR id="matrix-search-grouping-new" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-grouping-new">
<ANCHOR id="matrix-search-grouping-get-key" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-grouping-get-key">
<ANCHOR id="matrix-search-grouping-set-key" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-grouping-set-key">
<ANCHOR id="MATRIX-TYPE-SEARCH-GROUPINGS:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-SEARCH-GROUPINGS:CAPS">
<ANCHOR id="matrix-search-groupings-new" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-groupings-new">
<ANCHOR id="matrix-search-groupings-get-group-by" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-groupings-get-group-by">
<ANCHOR id="matrix-search-groupings-set-group-by" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-groupings-set-group-by">
<ANCHOR id="MATRIX-TYPE-SEARCH-ROOM-EVENTS:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-SEARCH-ROOM-EVENTS:CAPS">
<ANCHOR id="matrix-search-room-events-new" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-new">
<ANCHOR id="matrix-search-room-events-get-order-by" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-order-by">
<ANCHOR id="matrix-search-room-events-set-order-by" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-order-by">
<ANCHOR id="matrix-search-room-events-get-keys" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-keys">
<ANCHOR id="matrix-search-room-events-set-keys" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-keys">
<ANCHOR id="matrix-search-room-events-get-event-context" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-event-context">
<ANCHOR id="matrix-search-room-events-set-event-context" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-event-context">
<ANCHOR id="matrix-search-room-events-get-include-state" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-include-state">
<ANCHOR id="matrix-search-room-events-set-include-state" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-include-state">
<ANCHOR id="matrix-search-room-events-get-filter-id" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-filter-id">
<ANCHOR id="matrix-search-room-events-set-filter-id" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-filter-id">
<ANCHOR id="matrix-search-room-events-get-filter" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-filter">
<ANCHOR id="matrix-search-room-events-set-filter" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-filter">
<ANCHOR id="matrix-search-room-events-get-search-term" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-search-term">
<ANCHOR id="matrix-search-room-events-set-search-term" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-search-term">
<ANCHOR id="matrix-search-room-events-get-groupings" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-get-groupings">
<ANCHOR id="matrix-search-room-events-set-groupings" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-room-events-set-groupings">
<ANCHOR id="MATRIX-TYPE-SEARCH-CATEGORIES:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MATRIX-TYPE-SEARCH-CATEGORIES:CAPS">
<ANCHOR id="matrix-search-categories-new" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-categories-new">
<ANCHOR id="matrix-search-categories-get-room-events" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-categories-get-room-events">
<ANCHOR id="matrix-search-categories-set-room-events" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#matrix-search-categories-set-room-events">
<ANCHOR id="Matrix-0.0-MatrixJsonCompact.other_details" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#Matrix-0.0-MatrixJsonCompact.other_details">
<ANCHOR id="MatrixJsonCompact" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixJsonCompact">
<ANCHOR id="MatrixJsonCompactClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixJsonCompactClass">
<ANCHOR id="MatrixFilter" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixFilter">
<ANCHOR id="MatrixFilterClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixFilterClass">
<ANCHOR id="MatrixRoomFilter" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixRoomFilter">
<ANCHOR id="MatrixRoomFilterClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixRoomFilterClass">
<ANCHOR id="MatrixFilterRules" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixFilterRules">
<ANCHOR id="MatrixFilterRulesClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixFilterRulesClass">
<ANCHOR id="Matrix3PidCredential" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#Matrix3PidCredential">
<ANCHOR id="Matrix3PidCredentialClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#Matrix3PidCredentialClass">
<ANCHOR id="MatrixPusher" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixPusher">
<ANCHOR id="MatrixPusherClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixPusherClass">
<ANCHOR id="MatrixEventContext" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixEventContext">
<ANCHOR id="MatrixEventContextClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixEventContextClass">
<ANCHOR id="MatrixSearchGrouping" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixSearchGrouping">
<ANCHOR id="MatrixSearchGroupingClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixSearchGroupingClass">
<ANCHOR id="MatrixSearchGroupings" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixSearchGroupings">
<ANCHOR id="MatrixSearchGroupingsClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixSearchGroupingsClass">
<ANCHOR id="MatrixSearchRoomEvents" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixSearchRoomEvents">
<ANCHOR id="MatrixSearchRoomEventsClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixSearchRoomEventsClass">
<ANCHOR id="MatrixSearchCategories" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixSearchCategories">
<ANCHOR id="MatrixSearchCategoriesClass" href="Matrix-0.0/Matrix-0.0-MatrixJsonCompact.html#MatrixSearchCategoriesClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMember" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMember.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#Matrix-0.0-MatrixEventRoomMember.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMember.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#Matrix-0.0-MatrixEventRoomMember.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMember.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#Matrix-0.0-MatrixEventRoomMember.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMember.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#Matrix-0.0-MatrixEventRoomMember.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-MEMBER:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#MATRIX-EVENT-TYPE-ROOM-MEMBER:CAPS">
<ANCHOR id="matrix-event-room-member-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-new">
<ANCHOR id="matrix-event-room-member-get-membership" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-membership">
<ANCHOR id="matrix-event-room-member-set-membership" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-membership">
<ANCHOR id="matrix-event-room-member-get-avatar-url" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-avatar-url">
<ANCHOR id="matrix-event-room-member-set-avatar-url" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-avatar-url">
<ANCHOR id="matrix-event-room-member-get-display-name" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-display-name">
<ANCHOR id="matrix-event-room-member-set-display-name" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-display-name">
<ANCHOR id="matrix-event-room-member-get-tpi-display-name" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-display-name">
<ANCHOR id="matrix-event-room-member-set-tpi-display-name" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-display-name">
<ANCHOR id="matrix-event-room-member-get-tpi-signed-mxid" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-signed-mxid">
<ANCHOR id="matrix-event-room-member-set-tpi-signed-mxid" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-signed-mxid">
<ANCHOR id="matrix-event-room-member-get-tpi-signed-token" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-signed-token">
<ANCHOR id="matrix-event-room-member-set-tpi-signed-token" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-signed-token">
<ANCHOR id="matrix-event-room-member-get-tpi-signature" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-tpi-signature">
<ANCHOR id="matrix-event-room-member-set-tpi-signature" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-tpi-signature">
<ANCHOR id="matrix-event-room-member-get-invite-room-state" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-invite-room-state">
<ANCHOR id="matrix-event-room-member-set-invite-room-state" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-invite-room-state">
<ANCHOR id="matrix-event-room-member-get-user-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-get-user-id">
<ANCHOR id="matrix-event-room-member-set-user-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#matrix-event-room-member-set-user-id">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMember.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#Matrix-0.0-MatrixEventRoomMember.other_details">
<ANCHOR id="MatrixEventRoomMember" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMember">
<ANCHOR id="MatrixEventRoomMemberClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMember.html#MatrixEventRoomMemberClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoom" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoom.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#Matrix-0.0-MatrixEventRoom.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoom.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#Matrix-0.0-MatrixEventRoom.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoom.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#Matrix-0.0-MatrixEventRoom.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoom.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#Matrix-0.0-MatrixEventRoom.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#MATRIX-EVENT-TYPE-ROOM:CAPS">
<ANCHOR id="matrix-event-room-get-event-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-event-id">
<ANCHOR id="matrix-event-room-set-event-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-event-id">
<ANCHOR id="matrix-event-room-get-room-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-room-id">
<ANCHOR id="matrix-event-room-set-room-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-room-id">
<ANCHOR id="matrix-event-room-get-sender" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-sender">
<ANCHOR id="matrix-event-room-set-sender" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-sender">
<ANCHOR id="matrix-event-room-get-age" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-age">
<ANCHOR id="matrix-event-room-set-age" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-age">
<ANCHOR id="matrix-event-room-get-redacted-because" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-redacted-because">
<ANCHOR id="matrix-event-room-set-redacted-because" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-redacted-because">
<ANCHOR id="matrix-event-room-get-transaction-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-get-transaction-id">
<ANCHOR id="matrix-event-room-set-transaction-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#matrix-event-room-set-transaction-id">
<ANCHOR id="Matrix-0.0-MatrixEventRoom.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#Matrix-0.0-MatrixEventRoom.other_details">
<ANCHOR id="MatrixEventRoom" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#MatrixEventRoom">
<ANCHOR id="MatrixEventRoomClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoom.html#MatrixEventRoomClass">
<ANCHOR id="Matrix-0.0-MatrixMessageBase" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html">
<ANCHOR id="Matrix-0.0-MatrixMessageBase.functions" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#Matrix-0.0-MatrixMessageBase.functions">
<ANCHOR id="Matrix-0.0-MatrixMessageBase.other" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#Matrix-0.0-MatrixMessageBase.other">
<ANCHOR id="Matrix-0.0-MatrixMessageBase.description" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#Matrix-0.0-MatrixMessageBase.description">
<ANCHOR id="Matrix-0.0-MatrixMessageBase.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#Matrix-0.0-MatrixMessageBase.functions_details">
<ANCHOR id="matrix-message-get-handler" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-get-handler">
<ANCHOR id="matrix-message-register-type" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-register-type">
<ANCHOR id="matrix-message-unregister-type" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-unregister-type">
<ANCHOR id="MATRIX-MESSAGE-TYPE-BASE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#MATRIX-MESSAGE-TYPE-BASE:CAPS">
<ANCHOR id="matrix-message-base-from-json" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-base-from-json">
<ANCHOR id="matrix-message-base-to-json" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-base-to-json">
<ANCHOR id="matrix-message-base-get-message-type" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-base-get-message-type">
<ANCHOR id="matrix-message-base-set-message-type" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-base-set-message-type">
<ANCHOR id="matrix-message-base-get-body" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-base-get-body">
<ANCHOR id="matrix-message-base-set-body" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-base-set-body">
<ANCHOR id="matrix-message-base-get-json" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-base-get-json">
<ANCHOR id="matrix-message-base-new-from-json" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#matrix-message-base-new-from-json">
<ANCHOR id="Matrix-0.0-MatrixMessageBase.other_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#Matrix-0.0-MatrixMessageBase.other_details">
<ANCHOR id="MatrixMessageBase" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#MatrixMessageBase">
<ANCHOR id="MatrixMessageBaseClass" href="Matrix-0.0/Matrix-0.0-MatrixMessageBase.html#MatrixMessageBaseClass">
<ANCHOR id="Matrix-0.0-MatrixEventReceipt" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html">
<ANCHOR id="Matrix-0.0-MatrixEventReceipt.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#Matrix-0.0-MatrixEventReceipt.functions">
<ANCHOR id="Matrix-0.0-MatrixEventReceipt.other" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#Matrix-0.0-MatrixEventReceipt.other">
<ANCHOR id="Matrix-0.0-MatrixEventReceipt.description" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#Matrix-0.0-MatrixEventReceipt.description">
<ANCHOR id="Matrix-0.0-MatrixEventReceipt.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#Matrix-0.0-MatrixEventReceipt.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-RECEIPT:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#MATRIX-EVENT-TYPE-RECEIPT:CAPS">
<ANCHOR id="matrix-event-receipt-new" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#matrix-event-receipt-new">
<ANCHOR id="matrix-event-receipt-get-room-id" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#matrix-event-receipt-get-room-id">
<ANCHOR id="matrix-event-receipt-set-room-id" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#matrix-event-receipt-set-room-id">
<ANCHOR id="Matrix-0.0-MatrixEventReceipt.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#Matrix-0.0-MatrixEventReceipt.other_details">
<ANCHOR id="MatrixEventReceipt" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceipt">
<ANCHOR id="MatrixEventReceiptClass" href="Matrix-0.0/Matrix-0.0-MatrixEventReceipt.html#MatrixEventReceiptClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessageFeedback" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessageFeedback.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#Matrix-0.0-MatrixEventRoomMessageFeedback.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessageFeedback.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#Matrix-0.0-MatrixEventRoomMessageFeedback.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessageFeedback.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#Matrix-0.0-MatrixEventRoomMessageFeedback.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessageFeedback.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#Matrix-0.0-MatrixEventRoomMessageFeedback.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-MESSAGE-FEEDBACK:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#MATRIX-EVENT-TYPE-ROOM-MESSAGE-FEEDBACK:CAPS">
<ANCHOR id="matrix-event-room-message-feedback-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-new">
<ANCHOR id="matrix-event-room-message-feedback-get-feedback-type" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-get-feedback-type">
<ANCHOR id="matrix-event-room-message-feedback-set-feedback-type" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-set-feedback-type">
<ANCHOR id="matrix-event-room-message-feedback-get-target-event-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-get-target-event-id">
<ANCHOR id="matrix-event-room-message-feedback-set-target-event-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#matrix-event-room-message-feedback-set-target-event-id">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessageFeedback.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#Matrix-0.0-MatrixEventRoomMessageFeedback.other_details">
<ANCHOR id="MatrixEventRoomMessageFeedback" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedback">
<ANCHOR id="MatrixEventRoomMessageFeedbackClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessageFeedback.html#MatrixEventRoomMessageFeedbackClass">
<ANCHOR id="Matrix-0.0-MatrixHTTPClient" href="Matrix-0.0/Matrix-0.0-MatrixHTTPClient.html">
<ANCHOR id="Matrix-0.0-MatrixHTTPClient.functions" href="Matrix-0.0/Matrix-0.0-MatrixHTTPClient.html#Matrix-0.0-MatrixHTTPClient.functions">
<ANCHOR id="Matrix-0.0-MatrixHTTPClient.other" href="Matrix-0.0/Matrix-0.0-MatrixHTTPClient.html#Matrix-0.0-MatrixHTTPClient.other">
<ANCHOR id="Matrix-0.0-MatrixHTTPClient.description" href="Matrix-0.0/Matrix-0.0-MatrixHTTPClient.html#Matrix-0.0-MatrixHTTPClient.description">
<ANCHOR id="Matrix-0.0-MatrixHTTPClient.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixHTTPClient.html#Matrix-0.0-MatrixHTTPClient.functions_details">
<ANCHOR id="MATRIX-TYPE-HTTP-CLIENT:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixHTTPClient.html#MATRIX-TYPE-HTTP-CLIENT:CAPS">
<ANCHOR id="matrix-http-client-new" href="Matrix-0.0/Matrix-0.0-MatrixHTTPClient.html#matrix-http-client-new">
<ANCHOR id="Matrix-0.0-MatrixHTTPClient.other_details" href="Matrix-0.0/Matrix-0.0-MatrixHTTPClient.html#Matrix-0.0-MatrixHTTPClient.other_details">
<ANCHOR id="MatrixHTTPClient" href="Matrix-0.0/Matrix-0.0-MatrixHTTPClient.html#MatrixHTTPClient">
<ANCHOR id="MatrixHTTPClientClass" href="Matrix-0.0/Matrix-0.0-MatrixHTTPClient.html#MatrixHTTPClientClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCreate" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCreate.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#Matrix-0.0-MatrixEventRoomCreate.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCreate.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#Matrix-0.0-MatrixEventRoomCreate.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCreate.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#Matrix-0.0-MatrixEventRoomCreate.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCreate.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#Matrix-0.0-MatrixEventRoomCreate.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-CREATE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#MATRIX-EVENT-TYPE-ROOM-CREATE:CAPS">
<ANCHOR id="matrix-event-room-create-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-new">
<ANCHOR id="matrix-event-room-create-get-creator" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-get-creator">
<ANCHOR id="matrix-event-room-create-set-creator" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-set-creator">
<ANCHOR id="matrix-event-room-create-get-federate" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-get-federate">
<ANCHOR id="matrix-event-room-create-set-federate" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#matrix-event-room-create-set-federate">
<ANCHOR id="Matrix-0.0-MatrixEventRoomCreate.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#Matrix-0.0-MatrixEventRoomCreate.other_details">
<ANCHOR id="MatrixEventRoomCreate" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreate">
<ANCHOR id="MatrixEventRoomCreateClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomCreate.html#MatrixEventRoomCreateClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomGuestAccess" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomGuestAccess.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#Matrix-0.0-MatrixEventRoomGuestAccess.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomGuestAccess.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#Matrix-0.0-MatrixEventRoomGuestAccess.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomGuestAccess.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#Matrix-0.0-MatrixEventRoomGuestAccess.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomGuestAccess.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#Matrix-0.0-MatrixEventRoomGuestAccess.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-GUEST-ACCESS:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#MATRIX-EVENT-TYPE-ROOM-GUEST-ACCESS:CAPS">
<ANCHOR id="matrix-event-room-guest-access-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#matrix-event-room-guest-access-new">
<ANCHOR id="matrix-event-room-guest-access-get-guest-access" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#matrix-event-room-guest-access-get-guest-access">
<ANCHOR id="matrix-event-room-guest-access-set-guest-access" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#matrix-event-room-guest-access-set-guest-access">
<ANCHOR id="Matrix-0.0-MatrixEventRoomGuestAccess.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#Matrix-0.0-MatrixEventRoomGuestAccess.other_details">
<ANCHOR id="MatrixEventRoomGuestAccess" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccess">
<ANCHOR id="MatrixEventRoomGuestAccessClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomGuestAccess.html#MatrixEventRoomGuestAccessClass">
<ANCHOR id="Matrix-0.0-MatrixEventCall" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html">
<ANCHOR id="Matrix-0.0-MatrixEventCall.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#Matrix-0.0-MatrixEventCall.functions">
<ANCHOR id="Matrix-0.0-MatrixEventCall.other" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#Matrix-0.0-MatrixEventCall.other">
<ANCHOR id="Matrix-0.0-MatrixEventCall.description" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#Matrix-0.0-MatrixEventCall.description">
<ANCHOR id="Matrix-0.0-MatrixEventCall.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#Matrix-0.0-MatrixEventCall.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-CALL:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#MATRIX-EVENT-TYPE-CALL:CAPS">
<ANCHOR id="matrix-event-call-get-call-id" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#matrix-event-call-get-call-id">
<ANCHOR id="matrix-event-call-set-call-id" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#matrix-event-call-set-call-id">
<ANCHOR id="matrix-event-call-get-version" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#matrix-event-call-get-version">
<ANCHOR id="matrix-event-call-set-version" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#matrix-event-call-set-version">
<ANCHOR id="Matrix-0.0-MatrixEventCall.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#Matrix-0.0-MatrixEventCall.other_details">
<ANCHOR id="MatrixEventCall" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#MatrixEventCall">
<ANCHOR id="MatrixEventCallClass" href="Matrix-0.0/Matrix-0.0-MatrixEventCall.html#MatrixEventCallClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomJoinRules" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomJoinRules.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#Matrix-0.0-MatrixEventRoomJoinRules.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomJoinRules.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#Matrix-0.0-MatrixEventRoomJoinRules.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomJoinRules.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#Matrix-0.0-MatrixEventRoomJoinRules.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomJoinRules.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#Matrix-0.0-MatrixEventRoomJoinRules.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-JOIN-RULES:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#MATRIX-EVENT-TYPE-ROOM-JOIN-RULES:CAPS">
<ANCHOR id="matrix-event-room-join-rules-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#matrix-event-room-join-rules-new">
<ANCHOR id="matrix-event-room-join-rules-get-join-rules" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#matrix-event-room-join-rules-get-join-rules">
<ANCHOR id="matrix-event-room-join-rules-set-join-rules" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#matrix-event-room-join-rules-set-join-rules">
<ANCHOR id="Matrix-0.0-MatrixEventRoomJoinRules.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#Matrix-0.0-MatrixEventRoomJoinRules.other_details">
<ANCHOR id="MatrixEventRoomJoinRules" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRules">
<ANCHOR id="MatrixEventRoomJoinRulesClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomJoinRules.html#MatrixEventRoomJoinRulesClass">
<ANCHOR id="Matrix-0.0-MatrixMessageFile" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html">
<ANCHOR id="Matrix-0.0-MatrixMessageFile.functions" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#Matrix-0.0-MatrixMessageFile.functions">
<ANCHOR id="Matrix-0.0-MatrixMessageFile.other" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#Matrix-0.0-MatrixMessageFile.other">
<ANCHOR id="Matrix-0.0-MatrixMessageFile.description" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#Matrix-0.0-MatrixMessageFile.description">
<ANCHOR id="Matrix-0.0-MatrixMessageFile.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#Matrix-0.0-MatrixMessageFile.functions_details">
<ANCHOR id="MATRIX-MESSAGE-TYPE-FILE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#MATRIX-MESSAGE-TYPE-FILE:CAPS">
<ANCHOR id="matrix-message-file-new" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-new">
<ANCHOR id="matrix-message-file-get-filename" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-filename">
<ANCHOR id="matrix-message-file-set-filename" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-filename">
<ANCHOR id="matrix-message-file-get-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-url">
<ANCHOR id="matrix-message-file-set-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-url">
<ANCHOR id="matrix-message-file-get-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-info">
<ANCHOR id="matrix-message-file-set-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-info">
<ANCHOR id="matrix-message-file-get-thumbnail-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-thumbnail-url">
<ANCHOR id="matrix-message-file-set-thumbnail-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-thumbnail-url">
<ANCHOR id="matrix-message-file-get-thumbnail-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-get-thumbnail-info">
<ANCHOR id="matrix-message-file-set-thumbnail-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#matrix-message-file-set-thumbnail-info">
<ANCHOR id="Matrix-0.0-MatrixMessageFile.other_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#Matrix-0.0-MatrixMessageFile.other_details">
<ANCHOR id="MatrixMessageFile" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#MatrixMessageFile">
<ANCHOR id="MatrixMessageFileClass" href="Matrix-0.0/Matrix-0.0-MatrixMessageFile.html#MatrixMessageFileClass">
<ANCHOR id="Matrix-0.0-MatrixEventBase" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html">
<ANCHOR id="Matrix-0.0-MatrixEventBase.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#Matrix-0.0-MatrixEventBase.functions">
<ANCHOR id="Matrix-0.0-MatrixEventBase.other" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#Matrix-0.0-MatrixEventBase.other">
<ANCHOR id="Matrix-0.0-MatrixEventBase.description" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#Matrix-0.0-MatrixEventBase.description">
<ANCHOR id="Matrix-0.0-MatrixEventBase.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#Matrix-0.0-MatrixEventBase.functions_details">
<ANCHOR id="matrix-event-get-handler" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#matrix-event-get-handler">
<ANCHOR id="matrix-event-register-type" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#matrix-event-register-type">
<ANCHOR id="matrix-event-unregister-type" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#matrix-event-unregister-type">
<ANCHOR id="MATRIX-EVENT-TYPE-BASE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#MATRIX-EVENT-TYPE-BASE:CAPS">
<ANCHOR id="matrix-event-base-from-json" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#matrix-event-base-from-json">
<ANCHOR id="matrix-event-base-to-json" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#matrix-event-base-to-json">
<ANCHOR id="matrix-event-base-get-event-type" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#matrix-event-base-get-event-type">
<ANCHOR id="matrix-event-base-get-json" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#matrix-event-base-get-json">
<ANCHOR id="matrix-event-base-new-from-json" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#matrix-event-base-new-from-json">
<ANCHOR id="Matrix-0.0-MatrixEventBase.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#Matrix-0.0-MatrixEventBase.other_details">
<ANCHOR id="MatrixEventBase" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#MatrixEventBase">
<ANCHOR id="MatrixEventBaseClass" href="Matrix-0.0/Matrix-0.0-MatrixEventBase.html#MatrixEventBaseClass">
<ANCHOR id="Matrix-0.0-MatrixEventTag" href="Matrix-0.0/Matrix-0.0-MatrixEventTag.html">
<ANCHOR id="Matrix-0.0-MatrixEventTag.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventTag.html#Matrix-0.0-MatrixEventTag.functions">
<ANCHOR id="Matrix-0.0-MatrixEventTag.other" href="Matrix-0.0/Matrix-0.0-MatrixEventTag.html#Matrix-0.0-MatrixEventTag.other">
<ANCHOR id="Matrix-0.0-MatrixEventTag.description" href="Matrix-0.0/Matrix-0.0-MatrixEventTag.html#Matrix-0.0-MatrixEventTag.description">
<ANCHOR id="Matrix-0.0-MatrixEventTag.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventTag.html#Matrix-0.0-MatrixEventTag.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-TAG:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventTag.html#MATRIX-EVENT-TYPE-TAG:CAPS">
<ANCHOR id="matrix-event-tag-new" href="Matrix-0.0/Matrix-0.0-MatrixEventTag.html#matrix-event-tag-new">
<ANCHOR id="Matrix-0.0-MatrixEventTag.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventTag.html#Matrix-0.0-MatrixEventTag.other_details">
<ANCHOR id="MatrixEventTag" href="Matrix-0.0/Matrix-0.0-MatrixEventTag.html#MatrixEventTag">
<ANCHOR id="MatrixEventTagClass" href="Matrix-0.0/Matrix-0.0-MatrixEventTag.html#MatrixEventTagClass">
<ANCHOR id="Matrix-0.0-MatrixEventCallAnswer" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html">
<ANCHOR id="Matrix-0.0-MatrixEventCallAnswer.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#Matrix-0.0-MatrixEventCallAnswer.functions">
<ANCHOR id="Matrix-0.0-MatrixEventCallAnswer.other" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#Matrix-0.0-MatrixEventCallAnswer.other">
<ANCHOR id="Matrix-0.0-MatrixEventCallAnswer.description" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#Matrix-0.0-MatrixEventCallAnswer.description">
<ANCHOR id="Matrix-0.0-MatrixEventCallAnswer.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#Matrix-0.0-MatrixEventCallAnswer.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-CALL-ANSWER:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#MATRIX-EVENT-TYPE-CALL-ANSWER:CAPS">
<ANCHOR id="matrix-event-call-answer-new" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-new">
<ANCHOR id="matrix-event-call-answer-get-answer-type" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-get-answer-type">
<ANCHOR id="matrix-event-call-answer-set-answer-type" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-set-answer-type">
<ANCHOR id="matrix-event-call-answer-get-answer-sdp" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-get-answer-sdp">
<ANCHOR id="matrix-event-call-answer-set-answer-sdp" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#matrix-event-call-answer-set-answer-sdp">
<ANCHOR id="Matrix-0.0-MatrixEventCallAnswer.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#Matrix-0.0-MatrixEventCallAnswer.other_details">
<ANCHOR id="MatrixEventCallAnswer" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswer">
<ANCHOR id="MatrixEventCallAnswerClass" href="Matrix-0.0/Matrix-0.0-MatrixEventCallAnswer.html#MatrixEventCallAnswerClass">
<ANCHOR id="Matrix-0.0-MatrixMessageImage" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html">
<ANCHOR id="Matrix-0.0-MatrixMessageImage.functions" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#Matrix-0.0-MatrixMessageImage.functions">
<ANCHOR id="Matrix-0.0-MatrixMessageImage.other" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#Matrix-0.0-MatrixMessageImage.other">
<ANCHOR id="Matrix-0.0-MatrixMessageImage.description" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#Matrix-0.0-MatrixMessageImage.description">
<ANCHOR id="Matrix-0.0-MatrixMessageImage.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#Matrix-0.0-MatrixMessageImage.functions_details">
<ANCHOR id="MATRIX-MESSAGE-TYPE-IMAGE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#MATRIX-MESSAGE-TYPE-IMAGE:CAPS">
<ANCHOR id="matrix-message-image-new" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#matrix-message-image-new">
<ANCHOR id="matrix-message-image-get-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-url">
<ANCHOR id="matrix-message-image-set-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-url">
<ANCHOR id="matrix-message-image-get-thumbnail-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-thumbnail-url">
<ANCHOR id="matrix-message-image-set-thumbnail-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-thumbnail-url">
<ANCHOR id="matrix-message-image-get-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-info">
<ANCHOR id="matrix-message-image-set-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-info">
<ANCHOR id="matrix-message-image-get-thumbnail-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#matrix-message-image-get-thumbnail-info">
<ANCHOR id="matrix-message-image-set-thumbnail-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#matrix-message-image-set-thumbnail-info">
<ANCHOR id="Matrix-0.0-MatrixMessageImage.other_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#Matrix-0.0-MatrixMessageImage.other_details">
<ANCHOR id="MatrixMessageImage" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#MatrixMessageImage">
<ANCHOR id="MatrixMessageImageClass" href="Matrix-0.0/Matrix-0.0-MatrixMessageImage.html#MatrixMessageImageClass">
<ANCHOR id="Matrix-0.0-MatrixEventCallHangup" href="Matrix-0.0/Matrix-0.0-MatrixEventCallHangup.html">
<ANCHOR id="Matrix-0.0-MatrixEventCallHangup.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventCallHangup.html#Matrix-0.0-MatrixEventCallHangup.functions">
<ANCHOR id="Matrix-0.0-MatrixEventCallHangup.other" href="Matrix-0.0/Matrix-0.0-MatrixEventCallHangup.html#Matrix-0.0-MatrixEventCallHangup.other">
<ANCHOR id="Matrix-0.0-MatrixEventCallHangup.description" href="Matrix-0.0/Matrix-0.0-MatrixEventCallHangup.html#Matrix-0.0-MatrixEventCallHangup.description">
<ANCHOR id="Matrix-0.0-MatrixEventCallHangup.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventCallHangup.html#Matrix-0.0-MatrixEventCallHangup.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-CALL-HANGUP:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventCallHangup.html#MATRIX-EVENT-TYPE-CALL-HANGUP:CAPS">
<ANCHOR id="matrix-event-call-hangup-new" href="Matrix-0.0/Matrix-0.0-MatrixEventCallHangup.html#matrix-event-call-hangup-new">
<ANCHOR id="Matrix-0.0-MatrixEventCallHangup.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventCallHangup.html#Matrix-0.0-MatrixEventCallHangup.other_details">
<ANCHOR id="MatrixEventCallHangup" href="Matrix-0.0/Matrix-0.0-MatrixEventCallHangup.html#MatrixEventCallHangup">
<ANCHOR id="MatrixEventCallHangupClass" href="Matrix-0.0/Matrix-0.0-MatrixEventCallHangup.html#MatrixEventCallHangupClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomRedaction" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomRedaction.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#Matrix-0.0-MatrixEventRoomRedaction.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomRedaction.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#Matrix-0.0-MatrixEventRoomRedaction.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomRedaction.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#Matrix-0.0-MatrixEventRoomRedaction.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomRedaction.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#Matrix-0.0-MatrixEventRoomRedaction.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-REDACTION:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#MATRIX-EVENT-TYPE-ROOM-REDACTION:CAPS">
<ANCHOR id="matrix-event-room-redaction-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-new">
<ANCHOR id="matrix-event-room-redaction-get-reason" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-get-reason">
<ANCHOR id="matrix-event-room-redaction-set-reason" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-set-reason">
<ANCHOR id="matrix-event-room-redaction-get-redacted-event-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-get-redacted-event-id">
<ANCHOR id="matrix-event-room-redaction-set-redacted-event-id" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#matrix-event-room-redaction-set-redacted-event-id">
<ANCHOR id="Matrix-0.0-MatrixEventRoomRedaction.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#Matrix-0.0-MatrixEventRoomRedaction.other_details">
<ANCHOR id="MatrixEventRoomRedaction" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedaction">
<ANCHOR id="MatrixEventRoomRedactionClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomRedaction.html#MatrixEventRoomRedactionClass">
<ANCHOR id="Matrix-0.0-MatrixMessageNotice" href="Matrix-0.0/Matrix-0.0-MatrixMessageNotice.html">
<ANCHOR id="Matrix-0.0-MatrixMessageNotice.functions" href="Matrix-0.0/Matrix-0.0-MatrixMessageNotice.html#Matrix-0.0-MatrixMessageNotice.functions">
<ANCHOR id="Matrix-0.0-MatrixMessageNotice.other" href="Matrix-0.0/Matrix-0.0-MatrixMessageNotice.html#Matrix-0.0-MatrixMessageNotice.other">
<ANCHOR id="Matrix-0.0-MatrixMessageNotice.description" href="Matrix-0.0/Matrix-0.0-MatrixMessageNotice.html#Matrix-0.0-MatrixMessageNotice.description">
<ANCHOR id="Matrix-0.0-MatrixMessageNotice.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageNotice.html#Matrix-0.0-MatrixMessageNotice.functions_details">
<ANCHOR id="MATRIX-MESSAGE-TYPE-NOTICE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixMessageNotice.html#MATRIX-MESSAGE-TYPE-NOTICE:CAPS">
<ANCHOR id="matrix-message-notice-new" href="Matrix-0.0/Matrix-0.0-MatrixMessageNotice.html#matrix-message-notice-new">
<ANCHOR id="Matrix-0.0-MatrixMessageNotice.other_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageNotice.html#Matrix-0.0-MatrixMessageNotice.other_details">
<ANCHOR id="MatrixMessageNotice" href="Matrix-0.0/Matrix-0.0-MatrixMessageNotice.html#MatrixMessageNotice">
<ANCHOR id="MatrixMessageNoticeClass" href="Matrix-0.0/Matrix-0.0-MatrixMessageNotice.html#MatrixMessageNoticeClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomHistoryVisibility" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomHistoryVisibility.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#Matrix-0.0-MatrixEventRoomHistoryVisibility.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomHistoryVisibility.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#Matrix-0.0-MatrixEventRoomHistoryVisibility.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomHistoryVisibility.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#Matrix-0.0-MatrixEventRoomHistoryVisibility.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomHistoryVisibility.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#Matrix-0.0-MatrixEventRoomHistoryVisibility.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-HISTORY-VISIBILITY:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MATRIX-EVENT-TYPE-ROOM-HISTORY-VISIBILITY:CAPS">
<ANCHOR id="matrix-event-room-history-visibility-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#matrix-event-room-history-visibility-new">
<ANCHOR id="matrix-event-room-history-visibility-get-visibility" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#matrix-event-room-history-visibility-get-visibility">
<ANCHOR id="matrix-event-room-history-visibility-set-visibility" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#matrix-event-room-history-visibility-set-visibility">
<ANCHOR id="Matrix-0.0-MatrixEventRoomHistoryVisibility.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#Matrix-0.0-MatrixEventRoomHistoryVisibility.other_details">
<ANCHOR id="MatrixEventRoomHistoryVisibility" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibility">
<ANCHOR id="MatrixEventRoomHistoryVisibilityClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomHistoryVisibility.html#MatrixEventRoomHistoryVisibilityClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAliases" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAliases.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#Matrix-0.0-MatrixEventRoomAliases.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAliases.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#Matrix-0.0-MatrixEventRoomAliases.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAliases.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#Matrix-0.0-MatrixEventRoomAliases.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAliases.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#Matrix-0.0-MatrixEventRoomAliases.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-ALIASES:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#MATRIX-EVENT-TYPE-ROOM-ALIASES:CAPS">
<ANCHOR id="matrix-event-room-aliases-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#matrix-event-room-aliases-new">
<ANCHOR id="matrix-event-room-aliases-get-aliases" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#matrix-event-room-aliases-get-aliases">
<ANCHOR id="matrix-event-room-aliases-set-aliases" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#matrix-event-room-aliases-set-aliases">
<ANCHOR id="Matrix-0.0-MatrixEventRoomAliases.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#Matrix-0.0-MatrixEventRoomAliases.other_details">
<ANCHOR id="MatrixEventRoomAliases" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliases">
<ANCHOR id="MatrixEventRoomAliasesClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomAliases.html#MatrixEventRoomAliasesClass">
<ANCHOR id="Matrix-0.0-MatrixEventCallCandidates" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html">
<ANCHOR id="Matrix-0.0-MatrixEventCallCandidates.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#Matrix-0.0-MatrixEventCallCandidates.functions">
<ANCHOR id="Matrix-0.0-MatrixEventCallCandidates.other" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#Matrix-0.0-MatrixEventCallCandidates.other">
<ANCHOR id="Matrix-0.0-MatrixEventCallCandidates.description" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#Matrix-0.0-MatrixEventCallCandidates.description">
<ANCHOR id="Matrix-0.0-MatrixEventCallCandidates.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#Matrix-0.0-MatrixEventCallCandidates.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-CALL-CANDIDATES:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#MATRIX-EVENT-TYPE-CALL-CANDIDATES:CAPS">
<ANCHOR id="matrix-event-call-candidates-new" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-new">
<ANCHOR id="matrix-event-call-candidates-get-candidates" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-get-candidates">
<ANCHOR id="matrix-event-call-candidates-set-candidates" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-set-candidates">
<ANCHOR id="matrix-event-call-candidates-candidate-dup" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-dup">
<ANCHOR id="matrix-event-call-candidates-candidate-free" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-free">
<ANCHOR id="matrix-event-call-candidates-candidate-copy" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-copy">
<ANCHOR id="matrix-event-call-candidates-candidate-destroy" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#matrix-event-call-candidates-candidate-destroy">
<ANCHOR id="Matrix-0.0-MatrixEventCallCandidates.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#Matrix-0.0-MatrixEventCallCandidates.other_details">
<ANCHOR id="MatrixEventCallCandidatesCandidate" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesCandidate">
<ANCHOR id="MatrixEventCallCandidates" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidates">
<ANCHOR id="MatrixEventCallCandidatesClass" href="Matrix-0.0/Matrix-0.0-MatrixEventCallCandidates.html#MatrixEventCallCandidatesClass">
<ANCHOR id="Matrix-0.0-MatrixAPI" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html">
<ANCHOR id="Matrix-0.0-MatrixAPI.functions" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#Matrix-0.0-MatrixAPI.functions">
<ANCHOR id="Matrix-0.0-MatrixAPI.other" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#Matrix-0.0-MatrixAPI.other">
<ANCHOR id="Matrix-0.0-MatrixAPI.description" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#Matrix-0.0-MatrixAPI.description">
<ANCHOR id="Matrix-0.0-MatrixAPI.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#Matrix-0.0-MatrixAPI.functions_details">
<ANCHOR id="matrix-api-abort-pending" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-abort-pending">
<ANCHOR id="matrix-api-media-download" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-media-download">
<ANCHOR id="matrix-api-media-thumbnail" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-media-thumbnail">
<ANCHOR id="matrix-api-media-upload" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-media-upload">
<ANCHOR id="matrix-api-get-presence-list" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-presence-list">
<ANCHOR id="matrix-api-update-presence-list" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-update-presence-list">
<ANCHOR id="matrix-api-get-presence" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-presence">
<ANCHOR id="matrix-api-set-user-presence" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-set-user-presence">
<ANCHOR id="matrix-api-update-pusher" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-update-pusher">
<ANCHOR id="matrix-api-get-pushers" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-pushers">
<ANCHOR id="matrix-api-delete-pusher" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-delete-pusher">
<ANCHOR id="matrix-api-get-pusher" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-pusher">
<ANCHOR id="matrix-api-add-pusher" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-add-pusher">
<ANCHOR id="matrix-api-toggle-pusher" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-toggle-pusher">
<ANCHOR id="matrix-api-create-room" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-create-room">
<ANCHOR id="matrix-api-delete-room-alias" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-delete-room-alias">
<ANCHOR id="matrix-api-get-room-id" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-room-id">
<ANCHOR id="matrix-api-create-room-alias" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-create-room-alias">
<ANCHOR id="matrix-api-list-public-rooms" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-list-public-rooms">
<ANCHOR id="matrix-api-ban-user" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-ban-user">
<ANCHOR id="matrix-api-forget-room" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-forget-room">
<ANCHOR id="matrix-api-invite-user-3rdparty" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-invite-user-3rdparty">
<ANCHOR id="matrix-api-invite-user" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-invite-user">
<ANCHOR id="matrix-api-join-room" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-join-room">
<ANCHOR id="matrix-api-leave-room" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-leave-room">
<ANCHOR id="matrix-api-event-stream" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-event-stream">
<ANCHOR id="matrix-api-get-event" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-event">
<ANCHOR id="matrix-api-initial-sync" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-initial-sync">
<ANCHOR id="matrix-api-get-event-context" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-event-context">
<ANCHOR id="matrix-api-initial-sync-room" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-initial-sync-room">
<ANCHOR id="matrix-api-list-room-members" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-list-room-members">
<ANCHOR id="matrix-api-list-room-messages" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-list-room-messages">
<ANCHOR id="matrix-api-send-event-receipt" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-send-event-receipt">
<ANCHOR id="matrix-api-redact-event" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-redact-event">
<ANCHOR id="matrix-api-send-message-event" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-send-message-event">
<ANCHOR id="matrix-api-get-room-state" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-room-state">
<ANCHOR id="matrix-api-send-room-event" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-send-room-event">
<ANCHOR id="matrix-api-notify-room-typing" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-notify-room-typing">
<ANCHOR id="matrix-api-sync" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-sync">
<ANCHOR id="matrix-api-create-filter" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-create-filter">
<ANCHOR id="matrix-api-download-filter" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-download-filter">
<ANCHOR id="matrix-api-search" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-search">
<ANCHOR id="matrix-api-whois" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-whois">
<ANCHOR id="matrix-api-versions" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-versions">
<ANCHOR id="matrix-api-login" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-login">
<ANCHOR id="matrix-api-token-refresh" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-token-refresh">
<ANCHOR id="matrix-api-get-3pids" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-3pids">
<ANCHOR id="matrix-api-add-3pid" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-add-3pid">
<ANCHOR id="matrix-api-change-password" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-change-password">
<ANCHOR id="matrix-api-get-profile" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-profile">
<ANCHOR id="matrix-api-get-avatar-url" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-avatar-url">
<ANCHOR id="matrix-api-set-avatar-url" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-set-avatar-url">
<ANCHOR id="matrix-api-get-display-name" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-display-name">
<ANCHOR id="matrix-api-set-display-name" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-set-display-name">
<ANCHOR id="matrix-api-register-account" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-register-account">
<ANCHOR id="matrix-api-set-account-data" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-set-account-data">
<ANCHOR id="matrix-api-get-room-tags" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-room-tags">
<ANCHOR id="matrix-api-delete-room-tag" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-delete-room-tag">
<ANCHOR id="matrix-api-add-room-tag" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-add-room-tag">
<ANCHOR id="matrix-api-get-turn-server" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-turn-server">
<ANCHOR id="MatrixAPICallback" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#MatrixAPICallback">
<ANCHOR id="matrix-api-get-token" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-token">
<ANCHOR id="matrix-api-set-token" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-set-token">
<ANCHOR id="matrix-api-get-refresh-token" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-refresh-token">
<ANCHOR id="matrix-api-set-refresh-token" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-set-refresh-token">
<ANCHOR id="matrix-api-get-user-id" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-user-id">
<ANCHOR id="matrix-api-get-homeserver" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#matrix-api-get-homeserver">
<ANCHOR id="Matrix-0.0-MatrixAPI.other_details" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#Matrix-0.0-MatrixAPI.other_details">
<ANCHOR id="MatrixAPI" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#MatrixAPI">
<ANCHOR id="MatrixAPIIface" href="Matrix-0.0/Matrix-0.0-MatrixAPI.html#MatrixAPIIface">
<ANCHOR id="Matrix-0.0-MatrixEventRoomPowerLevels" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomPowerLevels.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#Matrix-0.0-MatrixEventRoomPowerLevels.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomPowerLevels.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#Matrix-0.0-MatrixEventRoomPowerLevels.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomPowerLevels.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#Matrix-0.0-MatrixEventRoomPowerLevels.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomPowerLevels.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#Matrix-0.0-MatrixEventRoomPowerLevels.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-POWER-LEVELS:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#MATRIX-EVENT-TYPE-ROOM-POWER-LEVELS:CAPS">
<ANCHOR id="matrix-event-room-power-levels-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-new">
<ANCHOR id="matrix-event-room-power-levels-get-users-default" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-users-default">
<ANCHOR id="matrix-event-room-power-levels-set-users-default" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-users-default">
<ANCHOR id="matrix-event-room-power-levels-get-events-default" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-events-default">
<ANCHOR id="matrix-event-room-power-levels-set-events-default" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-events-default">
<ANCHOR id="matrix-event-room-power-levels-get-state-default" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-state-default">
<ANCHOR id="matrix-event-room-power-levels-set-state-default" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-state-default">
<ANCHOR id="matrix-event-room-power-levels-get-ban" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-ban">
<ANCHOR id="matrix-event-room-power-levels-set-ban" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-ban">
<ANCHOR id="matrix-event-room-power-levels-get-kick" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-kick">
<ANCHOR id="matrix-event-room-power-levels-set-kick" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-kick">
<ANCHOR id="matrix-event-room-power-levels-get-redact" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-redact">
<ANCHOR id="matrix-event-room-power-levels-set-redact" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-redact">
<ANCHOR id="matrix-event-room-power-levels-get-invite" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-get-invite">
<ANCHOR id="matrix-event-room-power-levels-set-invite" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#matrix-event-room-power-levels-set-invite">
<ANCHOR id="Matrix-0.0-MatrixEventRoomPowerLevels.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#Matrix-0.0-MatrixEventRoomPowerLevels.other_details">
<ANCHOR id="MatrixEventRoomPowerLevels" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevels">
<ANCHOR id="MatrixEventRoomPowerLevelsClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomPowerLevels.html#MatrixEventRoomPowerLevelsClass">
<ANCHOR id="Matrix-0.0-MatrixMessageText" href="Matrix-0.0/Matrix-0.0-MatrixMessageText.html">
<ANCHOR id="Matrix-0.0-MatrixMessageText.functions" href="Matrix-0.0/Matrix-0.0-MatrixMessageText.html#Matrix-0.0-MatrixMessageText.functions">
<ANCHOR id="Matrix-0.0-MatrixMessageText.other" href="Matrix-0.0/Matrix-0.0-MatrixMessageText.html#Matrix-0.0-MatrixMessageText.other">
<ANCHOR id="Matrix-0.0-MatrixMessageText.description" href="Matrix-0.0/Matrix-0.0-MatrixMessageText.html#Matrix-0.0-MatrixMessageText.description">
<ANCHOR id="Matrix-0.0-MatrixMessageText.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageText.html#Matrix-0.0-MatrixMessageText.functions_details">
<ANCHOR id="MATRIX-MESSAGE-TYPE-TEXT:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixMessageText.html#MATRIX-MESSAGE-TYPE-TEXT:CAPS">
<ANCHOR id="matrix-message-text-new" href="Matrix-0.0/Matrix-0.0-MatrixMessageText.html#matrix-message-text-new">
<ANCHOR id="Matrix-0.0-MatrixMessageText.other_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageText.html#Matrix-0.0-MatrixMessageText.other_details">
<ANCHOR id="MatrixMessageText" href="Matrix-0.0/Matrix-0.0-MatrixMessageText.html#MatrixMessageText">
<ANCHOR id="MatrixMessageTextClass" href="Matrix-0.0/Matrix-0.0-MatrixMessageText.html#MatrixMessageTextClass">
<ANCHOR id="Matrix-0.0-MatrixMessageVideo" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html">
<ANCHOR id="Matrix-0.0-MatrixMessageVideo.functions" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#Matrix-0.0-MatrixMessageVideo.functions">
<ANCHOR id="Matrix-0.0-MatrixMessageVideo.other" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#Matrix-0.0-MatrixMessageVideo.other">
<ANCHOR id="Matrix-0.0-MatrixMessageVideo.description" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#Matrix-0.0-MatrixMessageVideo.description">
<ANCHOR id="Matrix-0.0-MatrixMessageVideo.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#Matrix-0.0-MatrixMessageVideo.functions_details">
<ANCHOR id="MATRIX-MESSAGE-TYPE-VIDEO:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#MATRIX-MESSAGE-TYPE-VIDEO:CAPS">
<ANCHOR id="matrix-message-video-new" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-new">
<ANCHOR id="matrix-message-video-get-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-get-url">
<ANCHOR id="matrix-message-video-set-url" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-set-url">
<ANCHOR id="matrix-message-video-get-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-get-info">
<ANCHOR id="matrix-message-video-set-info" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#matrix-message-video-set-info">
<ANCHOR id="Matrix-0.0-MatrixMessageVideo.other_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#Matrix-0.0-MatrixMessageVideo.other_details">
<ANCHOR id="MatrixMessageVideo" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideo">
<ANCHOR id="MatrixMessageVideoClass" href="Matrix-0.0/Matrix-0.0-MatrixMessageVideo.html#MatrixMessageVideoClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomTopic" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomTopic.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#Matrix-0.0-MatrixEventRoomTopic.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomTopic.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#Matrix-0.0-MatrixEventRoomTopic.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomTopic.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#Matrix-0.0-MatrixEventRoomTopic.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomTopic.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#Matrix-0.0-MatrixEventRoomTopic.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-TOPIC:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#MATRIX-EVENT-TYPE-ROOM-TOPIC:CAPS">
<ANCHOR id="matrix-event-room-topic-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#matrix-event-room-topic-new">
<ANCHOR id="matrix-event-room-topic-get-topic" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#matrix-event-room-topic-get-topic">
<ANCHOR id="matrix-event-room-topic-set-topic" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#matrix-event-room-topic-set-topic">
<ANCHOR id="Matrix-0.0-MatrixEventRoomTopic.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#Matrix-0.0-MatrixEventRoomTopic.other_details">
<ANCHOR id="MatrixEventRoomTopic" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopic">
<ANCHOR id="MatrixEventRoomTopicClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomTopic.html#MatrixEventRoomTopicClass">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessage" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessage.functions" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#Matrix-0.0-MatrixEventRoomMessage.functions">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessage.other" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#Matrix-0.0-MatrixEventRoomMessage.other">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessage.description" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#Matrix-0.0-MatrixEventRoomMessage.description">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessage.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#Matrix-0.0-MatrixEventRoomMessage.functions_details">
<ANCHOR id="MATRIX-EVENT-TYPE-ROOM-MESSAGE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#MATRIX-EVENT-TYPE-ROOM-MESSAGE:CAPS">
<ANCHOR id="matrix-event-room-message-new" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-new">
<ANCHOR id="matrix-event-room-message-get-message" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-get-message">
<ANCHOR id="matrix-event-room-message-set-message" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-set-message">
<ANCHOR id="matrix-event-room-message-get-fallback-content" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#matrix-event-room-message-get-fallback-content">
<ANCHOR id="Matrix-0.0-MatrixEventRoomMessage.other_details" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#Matrix-0.0-MatrixEventRoomMessage.other_details">
<ANCHOR id="MatrixEventRoomMessage" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessage">
<ANCHOR id="MatrixEventRoomMessageClass" href="Matrix-0.0/Matrix-0.0-MatrixEventRoomMessage.html#MatrixEventRoomMessageClass">
<ANCHOR id="Matrix-0.0-MatrixMessageEmote" href="Matrix-0.0/Matrix-0.0-MatrixMessageEmote.html">
<ANCHOR id="Matrix-0.0-MatrixMessageEmote.functions" href="Matrix-0.0/Matrix-0.0-MatrixMessageEmote.html#Matrix-0.0-MatrixMessageEmote.functions">
<ANCHOR id="Matrix-0.0-MatrixMessageEmote.other" href="Matrix-0.0/Matrix-0.0-MatrixMessageEmote.html#Matrix-0.0-MatrixMessageEmote.other">
<ANCHOR id="Matrix-0.0-MatrixMessageEmote.description" href="Matrix-0.0/Matrix-0.0-MatrixMessageEmote.html#Matrix-0.0-MatrixMessageEmote.description">
<ANCHOR id="Matrix-0.0-MatrixMessageEmote.functions_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageEmote.html#Matrix-0.0-MatrixMessageEmote.functions_details">
<ANCHOR id="MATRIX-MESSAGE-TYPE-EMOTE:CAPS" href="Matrix-0.0/Matrix-0.0-MatrixMessageEmote.html#MATRIX-MESSAGE-TYPE-EMOTE:CAPS">
<ANCHOR id="matrix-message-emote-new" href="Matrix-0.0/Matrix-0.0-MatrixMessageEmote.html#matrix-message-emote-new">
<ANCHOR id="Matrix-0.0-MatrixMessageEmote.other_details" href="Matrix-0.0/Matrix-0.0-MatrixMessageEmote.html#Matrix-0.0-MatrixMessageEmote.other_details">
<ANCHOR id="MatrixMessageEmote" href="Matrix-0.0/Matrix-0.0-MatrixMessageEmote.html#MatrixMessageEmote">
<ANCHOR id="MatrixMessageEmoteClass" href="Matrix-0.0/Matrix-0.0-MatrixMessageEmote.html#MatrixMessageEmoteClass">
<ANCHOR id="Matrix-0.0-matrix-types" href="Matrix-0.0/Matrix-0.0-matrix-types.html">
<ANCHOR id="Matrix-0.0-matrix-types.functions" href="Matrix-0.0/Matrix-0.0-matrix-types.html#Matrix-0.0-matrix-types.functions">
<ANCHOR id="Matrix-0.0-matrix-types.other" href="Matrix-0.0/Matrix-0.0-matrix-types.html#Matrix-0.0-matrix-types.other">
<ANCHOR id="Matrix-0.0-matrix-types.description" href="Matrix-0.0/Matrix-0.0-matrix-types.html#Matrix-0.0-matrix-types.description">
<ANCHOR id="Matrix-0.0-matrix-types.functions_details" href="Matrix-0.0/Matrix-0.0-matrix-types.html#Matrix-0.0-matrix-types.functions_details">
<ANCHOR id="matrix-error-quark" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-error-quark">
<ANCHOR id="matrix-file-info-set-from-json" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-file-info-set-from-json">
<ANCHOR id="matrix-file-info-get-json-node" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-file-info-get-json-node">
<ANCHOR id="matrix-file-info-dup" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-file-info-dup">
<ANCHOR id="matrix-file-info-free" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-file-info-free">
<ANCHOR id="matrix-file-info-copy" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-file-info-copy">
<ANCHOR id="matrix-file-info-destroy" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-file-info-destroy">
<ANCHOR id="matrix-image-info-set-from-json" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-image-info-set-from-json">
<ANCHOR id="matrix-image-info-get-json-node" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-image-info-get-json-node">
<ANCHOR id="matrix-image-info-dup" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-image-info-dup">
<ANCHOR id="matrix-image-info-free" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-image-info-free">
<ANCHOR id="matrix-image-info-copy" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-image-info-copy">
<ANCHOR id="matrix-image-info-destroy" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-image-info-destroy">
<ANCHOR id="matrix-audio-info-set-from-json" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-audio-info-set-from-json">
<ANCHOR id="matrix-audio-info-get-json-node" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-audio-info-get-json-node">
<ANCHOR id="matrix-audio-info-dup" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-audio-info-dup">
<ANCHOR id="matrix-audio-info-free" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-audio-info-free">
<ANCHOR id="matrix-audio-info-copy" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-audio-info-copy">
<ANCHOR id="matrix-audio-info-destroy" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-audio-info-destroy">
<ANCHOR id="matrix-video-info-set-from-json" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-video-info-set-from-json">
<ANCHOR id="matrix-video-info-get-json-node" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-video-info-get-json-node">
<ANCHOR id="matrix-video-info-dup" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-video-info-dup">
<ANCHOR id="matrix-video-info-free" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-video-info-free">
<ANCHOR id="matrix-video-info-copy" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-video-info-copy">
<ANCHOR id="matrix-video-info-destroy" href="Matrix-0.0/Matrix-0.0-matrix-types.html#matrix-video-info-destroy">
<ANCHOR id="Matrix-0.0-matrix-types.other_details" href="Matrix-0.0/Matrix-0.0-matrix-types.html#Matrix-0.0-matrix-types.other_details">
<ANCHOR id="MatrixAccountKind" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixAccountKind">
<ANCHOR id="MATRIX-ACCOUNT-KIND-DEFAULT:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ACCOUNT-KIND-DEFAULT:CAPS">
<ANCHOR id="MATRIX-ACCOUNT-KIND-USER:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ACCOUNT-KIND-USER:CAPS">
<ANCHOR id="MATRIX-ACCOUNT-KIND-GUEST:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ACCOUNT-KIND-GUEST:CAPS">
<ANCHOR id="MatrixEventDirection" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixEventDirection">
<ANCHOR id="MATRIX-EVENT-DIRECTION-FORWARD:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-EVENT-DIRECTION-FORWARD:CAPS">
<ANCHOR id="MATRIX-EVENT-DIRECTION-BACKWARD:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-EVENT-DIRECTION-BACKWARD:CAPS">
<ANCHOR id="MatrixEventFormat" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixEventFormat">
<ANCHOR id="MATRIX-EVENT-FORMAT-DEFAULT:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-EVENT-FORMAT-DEFAULT:CAPS">
<ANCHOR id="MATRIX-EVENT-FORMAT-CLIENT:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-EVENT-FORMAT-CLIENT:CAPS">
<ANCHOR id="MATRIX-EVENT-FORMAT-FEDERATION:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-EVENT-FORMAT-FEDERATION:CAPS">
<ANCHOR id="MatrixPresence" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixPresence">
<ANCHOR id="MATRIX-PRESENCE-UNKNOWN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PRESENCE-UNKNOWN:CAPS">
<ANCHOR id="MATRIX-PRESENCE-ONLINE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PRESENCE-ONLINE:CAPS">
<ANCHOR id="MATRIX-PRESENCE-OFFLINE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PRESENCE-OFFLINE:CAPS">
<ANCHOR id="MATRIX-PRESENCE-UNAVAILABLE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PRESENCE-UNAVAILABLE:CAPS">
<ANCHOR id="MATRIX-PRESENCE-FREE-FOR-CHAT:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PRESENCE-FREE-FOR-CHAT:CAPS">
<ANCHOR id="MatrixPusherConditionKind" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixPusherConditionKind">
<ANCHOR id="MATRIX-PUSHER-CONDITION-KIND-EVENT-MATCH:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PUSHER-CONDITION-KIND-EVENT-MATCH:CAPS">
<ANCHOR id="MATRIX-PUSHER-CONDITION-KIND-PROFILE-TAG:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PUSHER-CONDITION-KIND-PROFILE-TAG:CAPS">
<ANCHOR id="MATRIX-PUSHER-CONDITION-KIND-CONTAINS-DISPLAY-NAME:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PUSHER-CONDITION-KIND-CONTAINS-DISPLAY-NAME:CAPS">
<ANCHOR id="MATRIX-PUSHER-CONDITION-KIND-ROOM-MEMBER-COUNT:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PUSHER-CONDITION-KIND-ROOM-MEMBER-COUNT:CAPS">
<ANCHOR id="MatrixPusherKind" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixPusherKind">
<ANCHOR id="MATRIX-PUSHER-KIND-OVERRIDE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PUSHER-KIND-OVERRIDE:CAPS">
<ANCHOR id="MATRIX-PUSHER-KIND-SENDER:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PUSHER-KIND-SENDER:CAPS">
<ANCHOR id="MATRIX-PUSHER-KIND-ROOM:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PUSHER-KIND-ROOM:CAPS">
<ANCHOR id="MATRIX-PUSHER-KIND-CONTENT:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PUSHER-KIND-CONTENT:CAPS">
<ANCHOR id="MATRIX-PUSHER-KIND-UNDERRIDE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-PUSHER-KIND-UNDERRIDE:CAPS">
<ANCHOR id="MatrixReceiptType" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixReceiptType">
<ANCHOR id="MATRIX-RECEIPT-TYPE-READ:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-RECEIPT-TYPE-READ:CAPS">
<ANCHOR id="MatrixResizeMethod" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixResizeMethod">
<ANCHOR id="MATRIX-RESIZE-METHOD-DEFAULT:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-RESIZE-METHOD-DEFAULT:CAPS">
<ANCHOR id="MATRIX-RESIZE-METHOD-CROP:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-RESIZE-METHOD-CROP:CAPS">
<ANCHOR id="MATRIX-RESIZE-METHOD-SCALE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-RESIZE-METHOD-SCALE:CAPS">
<ANCHOR id="MatrixRoomMembership" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixRoomMembership">
<ANCHOR id="MATRIX-ROOM-MEMBERSHIP-UNKNOWN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-UNKNOWN:CAPS">
<ANCHOR id="MATRIX-ROOM-MEMBERSHIP-INVITE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-INVITE:CAPS">
<ANCHOR id="MATRIX-ROOM-MEMBERSHIP-JOIN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-JOIN:CAPS">
<ANCHOR id="MATRIX-ROOM-MEMBERSHIP-LEAVE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-LEAVE:CAPS">
<ANCHOR id="MATRIX-ROOM-MEMBERSHIP-BAN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-BAN:CAPS">
<ANCHOR id="MATRIX-ROOM-MEMBERSHIP-KNOCK:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-MEMBERSHIP-KNOCK:CAPS">
<ANCHOR id="MatrixRoomPreset" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixRoomPreset">
<ANCHOR id="MATRIX-ROOM-PRESET-NONE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-PRESET-NONE:CAPS">
<ANCHOR id="MATRIX-ROOM-PRESET-PRIVATE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-PRESET-PRIVATE:CAPS">
<ANCHOR id="MATRIX-ROOM-PRESET-TRUSTED-PRIVATE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-PRESET-TRUSTED-PRIVATE:CAPS">
<ANCHOR id="MATRIX-ROOM-PRESET-PUBLIC:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-PRESET-PUBLIC:CAPS">
<ANCHOR id="MatrixRoomVisibility" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixRoomVisibility">
<ANCHOR id="MATRIX-ROOM-VISIBILITY-DEFAULT:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-VISIBILITY-DEFAULT:CAPS">
<ANCHOR id="MATRIX-ROOM-VISIBILITY-PUBLIC:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-VISIBILITY-PUBLIC:CAPS">
<ANCHOR id="MATRIX-ROOM-VISIBILITY-PRIVATE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ROOM-VISIBILITY-PRIVATE:CAPS">
<ANCHOR id="MatrixJoinRules" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixJoinRules">
<ANCHOR id="MATRIX-JOIN-RULES-UNKNOWN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-JOIN-RULES-UNKNOWN:CAPS">
<ANCHOR id="MATRIX-JOIN-RULES-PUBLIC:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-JOIN-RULES-PUBLIC:CAPS">
<ANCHOR id="MATRIX-JOIN-RULES-INVITE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-JOIN-RULES-INVITE:CAPS">
<ANCHOR id="MATRIX-JOIN-RULES-PRIVATE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-JOIN-RULES-PRIVATE:CAPS">
<ANCHOR id="MATRIX-JOIN-RULES-KNOCK:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-JOIN-RULES-KNOCK:CAPS">
<ANCHOR id="MatrixSearchOrder" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixSearchOrder">
<ANCHOR id="MATRIX-SEARCH-ORDER-RECENT:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-SEARCH-ORDER-RECENT:CAPS">
<ANCHOR id="MATRIX-SEARCH-ORDER-RANK:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-SEARCH-ORDER-RANK:CAPS">
<ANCHOR id="MatrixSearchKey" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixSearchKey">
<ANCHOR id="MATRIX-SEARCH-KEY-CONTENT-BODY:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-SEARCH-KEY-CONTENT-BODY:CAPS">
<ANCHOR id="MATRIX-SEARCH-KEY-CONTENT-NAME:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-SEARCH-KEY-CONTENT-NAME:CAPS">
<ANCHOR id="MATRIX-SEARCH-KEY-CONTENT-TOPIC:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-SEARCH-KEY-CONTENT-TOPIC:CAPS">
<ANCHOR id="MatrixSearchGroupBy" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixSearchGroupBy">
<ANCHOR id="MATRIX-SEARCH-GROUP-BY-UNKNOWN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-SEARCH-GROUP-BY-UNKNOWN:CAPS">
<ANCHOR id="MATRIX-SEARCH-GROUP-BY-ROOM-ID:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-SEARCH-GROUP-BY-ROOM-ID:CAPS">
<ANCHOR id="MATRIX-SEARCH-GROUP-BY-SENDER:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-SEARCH-GROUP-BY-SENDER:CAPS">
<ANCHOR id="MatrixHistoryVisibility" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixHistoryVisibility">
<ANCHOR id="MATRIX-HISTORY-VISIBILITY-UNKNOWN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-HISTORY-VISIBILITY-UNKNOWN:CAPS">
<ANCHOR id="MATRIX-HISTORY-VISIBILITY-INVITED:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-HISTORY-VISIBILITY-INVITED:CAPS">
<ANCHOR id="MATRIX-HISTORY-VISIBILITY-JOINED:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-HISTORY-VISIBILITY-JOINED:CAPS">
<ANCHOR id="MATRIX-HISTORY-VISIBILITY-SHARED:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-HISTORY-VISIBILITY-SHARED:CAPS">
<ANCHOR id="MATRIX-HISTORY-VISIBILITY-WORLD-READABLE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-HISTORY-VISIBILITY-WORLD-READABLE:CAPS">
<ANCHOR id="MatrixGuestAccess" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixGuestAccess">
<ANCHOR id="MATRIX-GUEST-ACCESS-UNKNOWN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-GUEST-ACCESS-UNKNOWN:CAPS">
<ANCHOR id="MATRIX-GUEST-ACCESS-CAN-JOIN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-GUEST-ACCESS-CAN-JOIN:CAPS">
<ANCHOR id="MATRIX-GUEST-ACCESS-FORBIDDEN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-GUEST-ACCESS-FORBIDDEN:CAPS">
<ANCHOR id="MatrixCallOfferType" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixCallOfferType">
<ANCHOR id="MATRIX-CALL-OFFER-TYPE-UNKNOWN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-CALL-OFFER-TYPE-UNKNOWN:CAPS">
<ANCHOR id="MATRIX-CALL-OFFER-TYPE-OFFER:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-CALL-OFFER-TYPE-OFFER:CAPS">
<ANCHOR id="MatrixCallAnswerType" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixCallAnswerType">
<ANCHOR id="MATRIX-CALL-ANSWER-TYPE-UNKNOWN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-CALL-ANSWER-TYPE-UNKNOWN:CAPS">
<ANCHOR id="MATRIX-CALL-ANSWER-TYPE-ANSWER:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-CALL-ANSWER-TYPE-ANSWER:CAPS">
<ANCHOR id="MatrixError" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixError">
<ANCHOR id="MATRIX-ERROR-NONE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-NONE:CAPS">
<ANCHOR id="MATRIX-ERROR-COMMUNICATION-ERROR:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-COMMUNICATION-ERROR:CAPS">
<ANCHOR id="MATRIX-ERROR-INCOMPLETE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-INCOMPLETE:CAPS">
<ANCHOR id="MATRIX-ERROR-BAD-REQUEST:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-BAD-REQUEST:CAPS">
<ANCHOR id="MATRIX-ERROR-BAD-RESPONSE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-BAD-RESPONSE:CAPS">
<ANCHOR id="MATRIX-ERROR-INVALID-ROOM-ID:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-INVALID-ROOM-ID:CAPS">
<ANCHOR id="MATRIX-ERROR-UNKNOWN-VALUE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-UNKNOWN-VALUE:CAPS">
<ANCHOR id="MATRIX-ERROR-INVALID-TYPE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-INVALID-TYPE:CAPS">
<ANCHOR id="MATRIX-ERROR-UNSUPPORTED:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-UNSUPPORTED:CAPS">
<ANCHOR id="MATRIX-ERROR-INVALID-FORMAT:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-INVALID-FORMAT:CAPS">
<ANCHOR id="MATRIX-ERROR-UNAVAILABLE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-UNAVAILABLE:CAPS">
<ANCHOR id="MATRIX-ERROR-NOT-FOUND:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-NOT-FOUND:CAPS">
<ANCHOR id="MATRIX-ERROR-ALREADY-EXISTS:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-ALREADY-EXISTS:CAPS">
<ANCHOR id="MATRIX-ERROR-M-MISSING-TOKEN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-MISSING-TOKEN:CAPS">
<ANCHOR id="MATRIX-ERROR-M-FORBIDDEN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-FORBIDDEN:CAPS">
<ANCHOR id="MATRIX-ERROR-M-UNKNOWN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-UNKNOWN:CAPS">
<ANCHOR id="MATRIX-ERROR-M-UNKNOWN-TOKEN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-UNKNOWN-TOKEN:CAPS">
<ANCHOR id="MATRIX-ERROR-M-NOT-JSON:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-NOT-JSON:CAPS">
<ANCHOR id="MATRIX-ERROR-M-UNRECOGNIZED:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-UNRECOGNIZED:CAPS">
<ANCHOR id="MATRIX-ERROR-M-UNAUTHORIZED:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-UNAUTHORIZED:CAPS">
<ANCHOR id="MATRIX-ERROR-M-BAD-JSON:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-BAD-JSON:CAPS">
<ANCHOR id="MATRIX-ERROR-M-USER-IN-USE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-USER-IN-USE:CAPS">
<ANCHOR id="MATRIX-ERROR-M-ROOM-IN-USE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-ROOM-IN-USE:CAPS">
<ANCHOR id="MATRIX-ERROR-M-BAD-PAGINATION:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-BAD-PAGINATION:CAPS">
<ANCHOR id="MATRIX-ERROR-M-BAD-STATE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-BAD-STATE:CAPS">
<ANCHOR id="MATRIX-ERROR-M-NOT-FOUND:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-NOT-FOUND:CAPS">
<ANCHOR id="MATRIX-ERROR-M-GUEST-ACCESS-FORBIDDEN:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-GUEST-ACCESS-FORBIDDEN:CAPS">
<ANCHOR id="MATRIX-ERROR-M-LIMIT-EXCEEDED:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-LIMIT-EXCEEDED:CAPS">
<ANCHOR id="MATRIX-ERROR-M-CAPTCHA-NEEDED:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-CAPTCHA-NEEDED:CAPS">
<ANCHOR id="MATRIX-ERROR-M-CAPTCHA-INVALID:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-CAPTCHA-INVALID:CAPS">
<ANCHOR id="MATRIX-ERROR-M-MISSING-PARAM:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-MISSING-PARAM:CAPS">
<ANCHOR id="MATRIX-ERROR-M-TOO-LARGE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-TOO-LARGE:CAPS">
<ANCHOR id="MATRIX-ERROR-M-EXCLUSIVE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-EXCLUSIVE:CAPS">
<ANCHOR id="MATRIX-ERROR-M-THREEPID-AUTH-FAILED:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-THREEPID-AUTH-FAILED:CAPS">
<ANCHOR id="MATRIX-ERROR-M-THREEPID-IN-USE:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-THREEPID-IN-USE:CAPS">
<ANCHOR id="MATRIX-ERROR-M-INVALID-USERNAME:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-M-INVALID-USERNAME:CAPS">
<ANCHOR id="MATRIX-ERROR-UNSPECIFIED:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-UNSPECIFIED:CAPS">
<ANCHOR id="MATRIX-ERROR-UNKNOWN-ERROR:CAPS" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MATRIX-ERROR-UNKNOWN-ERROR:CAPS">
<ANCHOR id="MatrixFileInfo" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixFileInfo">
<ANCHOR id="MatrixImageInfo" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixImageInfo">
<ANCHOR id="MatrixAudioInfo" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixAudioInfo">
<ANCHOR id="MatrixVideoInfo" href="Matrix-0.0/Matrix-0.0-matrix-types.html#MatrixVideoInfo">
<ANCHOR id="annotation-glossterm-allow-none" href="Matrix-0.0/annotation-glossary.html#annotation-glossterm-allow-none">
<ANCHOR id="annotation-glossterm-array" href="Matrix-0.0/annotation-glossary.html#annotation-glossterm-array">
<ANCHOR id="annotation-glossterm-closure" href="Matrix-0.0/annotation-glossary.html#annotation-glossterm-closure">
<ANCHOR id="annotation-glossterm-error-domains" href="Matrix-0.0/annotation-glossary.html#annotation-glossterm-error-domains">
<ANCHOR id="annotation-glossterm-in" href="Matrix-0.0/annotation-glossary.html#annotation-glossterm-in">
<ANCHOR id="annotation-glossterm-transfer full" href="Matrix-0.0/annotation-glossary.html#annotation-glossterm-transfer full">
<ANCHOR id="annotation-glossterm-transfer none" href="Matrix-0.0/annotation-glossary.html#annotation-glossterm-transfer none">

BIN
left-insensitive.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

BIN
left.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

View File

@ -1,72 +0,0 @@
project('matrix-glib', 'c', version : '0.0.1')
gnome = import('gnome')
pkg = import('pkgconfig')
sdk_version = meson.project_version()
ver_arr = sdk_version.split('.')
matrix_glib_major_version = ver_arr[0]
matrix_glib_minor_version = ver_arr[1]
matrix_glib_micro_version = ver_arr[2]
matrix_glib_nano_version = '0'
lt_current = ver_arr[0]
matrix_glib_lt_revision = '0'
matrix_glib_lt_age = '0'
matrix_glib_base_version = meson.project_version()
matrix_glib_full_version = meson.project_version()
if matrix_glib_nano_version != '0'
matrix_glib_full_version += '.' + matrix_glib_nano_version
endif
matrix_glib_released = '0'
if matrix_glib_released == '1'
matrix_glib_maybe_datestamp = ''
else
datestamp = run_command('date', '+.%Y%m%d')
matrix_glib_maybe_datestamp = datestamp.stdout().strip()
endif
matrix_glib_version = matrix_glib_full_version + matrix_glib_maybe_datestamp
matrix_glib_major_minor_version = matrix_glib_major_version + '.' + matrix_glib_minor_version
matrix_glib_module_version = lt_current
matrix_glib_api_version = matrix_glib_major_version + '.0'
glib_required = '>= 2.40.0'
vala_required = '>= 0.30.0'
libvala_required = '>= 0.30'
gio_required = '>= 2.22'
soup_required = '>= 2.44.2'
json_required = '>= 0.16.2'
glib = dependency('glib-2.0', version : glib_required)
gobject = dependency('gobject-2.0', version : glib_required)
gio = dependency('gio-2.0', version : gio_required)
soup = dependency('libsoup-2.4', version : soup_required)
json = dependency('json-glib-1.0', version : json_required)
conf = configuration_data()
if get_option('debug')
conf.set('DEBUG', 1)
add_global_arguments('-g', language : 'c')
if get_option('maintainer-mode')
add_global_arguments('-O0', language : 'c')
endif
else
conf.set('DEBUG', 0)
endif
configure_file(output : 'config.h',
configuration : conf)
config_inc = include_directories('.')
subdir('src')
subdir('docs')

View File

@ -1,24 +0,0 @@
option('debug',
type : 'boolean',
value : false,
description : 'compile with debugging support')
option('maintainer-mode',
type : 'boolean',
value : false,
description : 'enable maintainer mode')
option('gtk-doc',
type : 'boolean',
value : false,
description : 'generate API reference')
option('introspection',
type : 'boolean',
value : true,
description : 'generate GObject Introspection data')
option('test-clients',
type : 'boolean',
value : false,
description : 'compile the test clients')

BIN
right-insensitive.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

BIN
right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

File diff suppressed because it is too large Load Diff

View File

@ -1,932 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_API_H__
# define __MATRIX_GLIB_SDK_API_H__
# include <glib-object.h>
# include <json-glib/json-glib.h>
# include "matrix-compacts.h"
# include "matrix-event-state-base.h"
G_BEGIN_DECLS
# ifdef __MATRIX_GLIB_SDK_COMPILATION
# define MATRIX_DEPRECATED_FOR(f)
# else
# define MATRIX_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
# endif
# define MATRIX_TYPE_API matrix_api_get_type()
G_DECLARE_INTERFACE(MatrixAPI, matrix_api, MATRIX, API, GObject)
typedef void (*MatrixAPICallback)(MatrixAPI *api,
const gchar *content_type,
JsonNode *json_content,
GByteArray *raw_content,
GError *err,
gpointer user_data);
struct _MatrixAPIInterface {
GTypeInterface parent_iface;
void (*abort_pending)(MatrixAPI *api);
void (*get_3pids)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void (*add_3pid)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
gboolean bind_creds,
Matrix3PidCredential *threepid_creds,
GError **error);
void (*deactivate_account)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *session,
const gchar *login_type,
GError **error);
void (*change_password)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *new_password,
GError **error);
void (*whoami)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void (*get_profile)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
GError **error);
void (*get_avatar_url)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
GError **error);
void (*set_avatar_url)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
const gchar *avatar_url,
GError **error);
void (*get_display_name)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
GError **error);
void (*set_display_name)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
const gchar *display_name,
GError **error);
void (*register_account)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
MatrixAccountKind account_kind,
gboolean bind_email,
const gchar *username,
const gchar *password,
GError **error);
void (*register_account_email)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *id_server,
const gchar *client_secret,
const gchar *email,
guint send_attempt,
GError **error);
void (*set_account_data)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
const gchar *room_id,
const gchar *event_type,
JsonNode *content,
GError **error);
void (*get_room_tags)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
const gchar *room_id,
GError **error);
void (*delete_room_tag)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
const gchar *room_id,
const gchar *tag,
GError **error);
void (*add_room_tag)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
const gchar *room_id,
const gchar *tag,
JsonNode *content,
GError **error);
void (*whois)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
GError **error);
void (*versions)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void (*create_room)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
MatrixRoomPreset preset,
const gchar *room_name,
const gchar *room_alias,
const gchar *topic,
MatrixRoomVisibility visibility,
JsonNode *creation_content,
MatrixEventState **initial_state,
int n_initial_state,
gchar **invitees,
int n_invitees,
Matrix3PidCredential **invite_3pids,
int n_invite_3pids,
GError **error);
void (*delete_room_alias)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_alias,
GError **error);
void (*get_joined_rooms)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void (*get_room_id)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_alias,
GError **error);
void (*create_room_alias)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *room_alias,
GError **error);
void (*event_stream)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *from_token,
gulong timeout,
GError **error);
void (*get_event)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *event_id,
GError **error);
void (*initial_sync)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
guint limit,
gboolean archived,
GError **error);
void (*get_event_context)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *event_id,
guint limit,
GError **error);
void (*initial_sync_room)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
GError **error);
void (*list_room_members)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
GError **error);
void (*list_room_messages)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *from_token,
MatrixEventDirection direction,
guint limit,
GError **error);
void (*send_event_receipt)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
MatrixReceiptType receipt_type,
const gchar *event_id,
JsonNode *receipt,
GError **error);
void (*redact_event)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *event_id,
const gchar *txn_id,
const gchar *reason,
GError **error);
void (*send_event)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *event_type,
const gchar *txn_id,
JsonNode *content,
GError **error);
void (*get_room_state)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *event_type,
const gchar *state_key,
GError **error);
void (*send_state_event)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *event_type,
const gchar *state_key,
JsonNode *content,
GError **error);
void (*notify_room_typing)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
const gchar *room_id,
guint timeout,
gboolean typing,
GError **error);
void (*sync)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *filter_id,
MatrixFilter *filter,
const gchar *since,
gboolean full_state,
gboolean set_presence,
gulong timeout,
GError **error);
void (*create_filter)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
MatrixFilter *filter,
GError **error);
void (*download_filter)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
const gchar *filter_id,
GError **error);
void (*join_room_id_or_alias)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id_or_alias,
GError **error);
void (*ban_user)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *user_id,
const gchar *reason,
GError **error);
void (*forget_room)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
GError **error);
void (*invite_user_3rdparty)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
Matrix3PidCredential *credential,
GError **error);
void (*invite_user)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *user_id,
GError **error);
void (*join_room)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
GError **error);
void (*kick_user)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *user_id,
const gchar *reason,
GError **error);
void (*leave_room)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
GError **error);
void (*unban_user)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *user_id,
GError **error);
void (*login)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *login_type,
JsonNode *content,
GError **error);
void (*logout)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void (*get_presence_list)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
GError **error);
void (*update_presence_list)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
gchar **drop_ids,
int n_drop_ids,
gchar **invite_ids,
int n_invite_ids,
GError **error);
void (*get_presence)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
GError **error);
void (*set_presence)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
MatrixPresence presence,
const gchar *status_message,
GError **error);
void (*list_public_rooms)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void (*get_pushers)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void (*update_pusher)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
MatrixPusher *pusher,
GError **error);
void (*get_notifications)(MatrixAPI *api,
const gchar *from_token,
guint limit,
const gchar *filter,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void (*get_pushrules)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void (*delete_pushrule)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixPusherKind kind,
const gchar *rule_id,
GError **error);
void (*get_pushrule)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixPusherKind kind,
const gchar *rule_id,
GError **error);
void (*add_pushrule)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixPusherKind kind,
const gchar *rule_id,
const gchar *before,
const gchar *after,
gchar **actions,
int n_actions,
MatrixPusherConditionKind *conditions,
int n_conditions,
GError **error);
void (*toggle_pushrule)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixPusherKind kind,
const gchar *rule_id,
gboolean enabled,
GError **error);
void (*search)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *next_batch,
MatrixSearchCategories *search_categories,
GError **error);
void (*get_turn_server)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void (*media_download)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *server_name,
const gchar *media_id,
GError **error);
void (*media_thumbnail)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *server_name,
const gchar *media_id,
guint width,
guint height,
MatrixResizeMethod method,
GError **error);
void (*media_upload)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *content_type,
GByteArray *content,
GError **error);
const gchar *(*get_token)(MatrixAPI *api);
void (*set_token)(MatrixAPI *api, const gchar *token);
const gchar *(*get_user_id)(MatrixAPI *api);
void (*set_user_id)(MatrixAPI *api, const gchar *user_id);
const gchar *(*get_homeserver)(MatrixAPI *api);
void (*set_homeserver)(MatrixAPI *api, const gchar *homeserver);
};
void matrix_api_abort_pending(MatrixAPI *api);
void matrix_api_get_3pids(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_add_3pid(MatrixAPI *api,
gboolean bind_creds,
Matrix3PidCredential *threepid_creds,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_deactivate_account(MatrixAPI *api,
const gchar *session,
const gchar *login_type,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_change_password(MatrixAPI *api,
const gchar *new_password,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_whoami(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_profile(MatrixAPI *api,
const gchar *user_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_avatar_url(MatrixAPI *api,
const gchar *user_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_set_avatar_url(MatrixAPI *api,
const gchar *user_id,
const gchar *avatar_url,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_display_name(MatrixAPI *api,
const gchar *user_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_set_display_name(MatrixAPI *api,
const gchar *user_id,
const gchar *display_name,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_register_account(MatrixAPI *api,
MatrixAccountKind account_kind,
gboolean bind_email,
const gchar *username,
const gchar *password,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_register_account_email(MatrixAPI *api,
const gchar *id_server,
const gchar *client_secret,
const gchar *email,
guint send_attempt,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_set_account_data(MatrixAPI *api,
const gchar *user_id,
const gchar *room_id,
const gchar *event_type,
JsonNode *content,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_room_tags(MatrixAPI *api,
const gchar *user_id,
const gchar *room_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_delete_room_tag(MatrixAPI *api,
const gchar *user_id,
const gchar *room_id,
const gchar *tag,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_add_room_tag(MatrixAPI *api,
const gchar *user_id,
const gchar *room_id,
const gchar *tag,
JsonNode *content,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_whois(MatrixAPI *api,
const gchar *user_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_versions(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_create_room(MatrixAPI *api,
MatrixRoomPreset preset,
const gchar *room_name,
const gchar *room_alias,
const gchar *topic,
MatrixRoomVisibility visibility,
JsonNode *creation_content,
MatrixEventState **initial_state,
int n_initial_state,
gchar **invitees,
int n_invitees,
Matrix3PidCredential **invite_3pids,
int n_invite_3pids,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_delete_room_alias(MatrixAPI *api,
const gchar *room_alias,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_joined_rooms(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_room_id(MatrixAPI *api,
const gchar *room_alias,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_create_room_alias(MatrixAPI *api,
const gchar *room_id,
const gchar *room_alias,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_event_stream(MatrixAPI *api,
const gchar *from_token,
gulong timeout,
MatrixAPICallback callback,
gpointer user_data,
GError **error)
MATRIX_DEPRECATED_FOR(matrix_api_sync);
void matrix_api_get_event(MatrixAPI *api,
const gchar *event_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error)
MATRIX_DEPRECATED_FOR(matrix_api_sync);
void matrix_api_initial_sync(MatrixAPI *api,
guint limit,
gboolean archived,
MatrixAPICallback callback,
gpointer user_data,
GError **error)
MATRIX_DEPRECATED_FOR(matrix_api_sync);
void matrix_api_get_event_context(MatrixAPI *api,
const gchar *room_id,
const gchar *event_id,
guint limit,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_initial_sync_room(MatrixAPI *api,
const gchar *room_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error)
MATRIX_DEPRECATED_FOR(matrix_api_sync);
void matrix_api_list_room_members(MatrixAPI *api,
const gchar *room_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_list_room_messages(MatrixAPI *api,
const gchar *room_id,
const gchar *from_token,
MatrixEventDirection direction,
guint limit,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_send_event_receipt(MatrixAPI *api,
const gchar *room_id,
MatrixReceiptType receipt_type,
const gchar *event_id,
JsonNode *receipt,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_redact_event(MatrixAPI *api,
const gchar *room_id,
const gchar *event_id,
const gchar *txn_id,
const gchar *reason,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_send_event(MatrixAPI *api,
const gchar *room_id,
const gchar *event_type,
const gchar *txn_id,
JsonNode *content,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_room_state(MatrixAPI *api,
const gchar *room_id,
const gchar *event_type,
const gchar *state_key,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_send_state_event(MatrixAPI *api,
const gchar *room_id,
const gchar *event_type,
const gchar *state_key,
JsonNode *content,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_notify_room_typing(MatrixAPI *api,
const gchar *user_id,
const gchar *room_id,
guint timeout,
gboolean typing,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_sync(MatrixAPI *api,
const gchar *filter_id,
MatrixFilter *filter,
const gchar *since,
gboolean full_state,
gboolean set_presence,
gulong timeout,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_create_filter(MatrixAPI *api,
const gchar *user_id,
MatrixFilter *filter,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_download_filter(MatrixAPI *api,
const gchar *user_id,
const gchar *filter_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_join_room_id_or_alias(MatrixAPI *api,
const gchar *room_id_or_alias,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_ban_user(MatrixAPI *api,
const gchar *room_id,
const gchar *user_id,
const gchar *reason,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_forget_room(MatrixAPI *api,
const gchar *room_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_invite_user_3rdparty(MatrixAPI *api,
const gchar *room_id,
Matrix3PidCredential *credential,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_invite_user(MatrixAPI *api,
const gchar *room_id,
const gchar *user_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_join_room(MatrixAPI *api,
const gchar *room_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_kick_user(MatrixAPI *api,
const gchar *room_id,
const gchar *user_id,
const gchar *reason,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_leave_room(MatrixAPI *api,
const gchar *room_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_unban_user(MatrixAPI *api,
const gchar *room_id,
const gchar *user_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_login(MatrixAPI *api,
const gchar *login_type,
JsonNode *content,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_logout(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_presence_list(MatrixAPI *api,
const gchar *user_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_update_presence_list(MatrixAPI *api,
const gchar *user_id,
gchar **drop_ids,
int n_drop_ids,
gchar **invite_ids,
int n_invite_ids,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_presence(MatrixAPI *api,
const gchar *user_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_set_presence(MatrixAPI *api,
const gchar *user_id,
MatrixPresence presence,
const gchar *status_message,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_list_public_rooms(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_pushers(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_update_pusher(MatrixAPI *api,
MatrixPusher *pusher,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_notifications(MatrixAPI *api,
const gchar *from_token,
guint limit,
const gchar *filter,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_pushrules(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_delete_pushrule(MatrixAPI *api,
const gchar *scope,
MatrixPusherKind kind,
const gchar *rule_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_pushrule(MatrixAPI *api,
const gchar *scope,
MatrixPusherKind kind,
const gchar *rule_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_add_pushrule(MatrixAPI *api,
const gchar *scope,
MatrixPusherKind kind,
const gchar *rule_id,
const gchar *before,
const gchar *after,
gchar **actions,
int n_actions,
MatrixPusherConditionKind *conditions,
int n_conditions,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_toggle_pushrule(MatrixAPI *api,
const gchar *scope,
MatrixPusherKind kind,
const gchar *rule_id,
gboolean enabled,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_search(MatrixAPI *api,
const gchar *next_batch,
MatrixSearchCategories *search_categories,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_get_turn_server(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_media_download(MatrixAPI *api,
const gchar *server_name,
const gchar *media_id,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_media_thumbnail(MatrixAPI *api,
const gchar *server_name,
const gchar *media_id,
guint width,
guint height,
MatrixResizeMethod method,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
void matrix_api_media_upload(MatrixAPI *api,
const gchar *content_type,
GByteArray *content,
MatrixAPICallback callback,
gpointer user_data,
GError **error);
const gchar *matrix_api_get_token(MatrixAPI *api);
void matrix_api_set_token(MatrixAPI *api, const gchar *token);
const gchar *matrix_api_get_user_id(MatrixAPI *api);
void matrix_api_set_user_id(MatrixAPI *api, const gchar *user_id);
const gchar *matrix_api_get_homeserver(MatrixAPI *api);
void matrix_api_set_homeserver(MatrixAPI *api, const gchar *homeserver);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_API_H__ */

View File

@ -1,496 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-client.h"
#include "matrix-marshalers.h"
/**
* SECTION:matrix-client
* @short_description: Interface for Matrix client implementations
* @title: Interface for Matrix client implementations
*/
enum {
SIGNAL_LOGIN_FINISHED,
SIGNAL_EVENT,
SIGNAL_POLLING_STARTED,
SIGNAL_POLLING_STOPPED,
NUM_SIGNALS
};
static guint matrix_client_signals[NUM_SIGNALS] = {0};
/**
* MatrixClientInterface:
* @login_with_password: the virtual function pointer for matrix_client_login_with_password()
* @register_with_password: the virtual function pointer for matrix_client_register_with_password()
* @logout: the virtual function pointer for matrix_client_logout()
* @begin_polling: the virtual function pointer for matrix_client_begin_polling()
* @stop_polling: the virtual function pointer for matrix_client_stop_polling()
* @get_user_profile: the virtual function pointer for matrix_client_get_user_profile()
* @get_user_presence: the virtual function pointer for matrix_client_get_user_presence()
* @get_room_by_id: the virtual function pointer for matrix_client_get_room_by_id()
* @get_room_by_alias: the virtual function pointer for matrix_client_get_room_by_alias()
* @send: the virtual function pointer for matrix_client_send()
* @save_state: the virtual function pointer for matrix_client_save_state()
* @load_state: the virtual function pointer for matrix_client_load_state()
* @login_finished: the class closure for the #MatrixClient::login-finished signal
* @event: the class closure for the #MatrixClient::event signal
*
* Base interface for client communication with a Matrix.org homeserver
*/
G_DEFINE_INTERFACE(MatrixClient, matrix_client, G_TYPE_OBJECT);
/**
* MatrixClientSendCallback:
* @client: the #MatrixClient that initiated the request
* @event_id: the event ID of the event just sent
* @error: (nullable): a #GError holding errors that happened during sending, if any
* @user_data: (nullable): user data set when event sending was initiated
*
* Callback function type for matrix_client_send().
*/
/**
* MatrixClientEventCallback:
* @client: the #MatrixClient that sent the signal
* @room_id: the room ID from which the event originated
* @raw_event: the raw event
* @matrix_event: (nullable): a #MatrixMessageBase derived object
* @user_data: (nullable): user data set when the signal was connected
*
* Callback function type for matrix_client_connect_event().
*
* @matrix_event may be unset if there was no message handler registered for the message type
* (using matrix_message_register_type()), or if the message couldnt be deserialised by the
* message handler.
*/
/**
* matrix_client_login_with_password:
* @client: a #MatrixClient
* @username: the username to login with
* @password: the password to use
* @error: a #GError, or %NULL to ignore errors
*
* Authenticate with the Matrix.org server with a username and password.
*/
void
matrix_client_login_with_password(MatrixClient *matrix_client, const gchar *username, const gchar *password, GError **error)
{
g_return_if_fail(matrix_client != NULL);
MATRIX_CLIENT_GET_IFACE(matrix_client)->login_with_password(matrix_client, username, password, error);
}
/**
* matrix_client_register_with_password:
* @client: a #MatrixClient
* @username: the username to register. If omitted, the server will generate one
* @password: the password to use with the registration
* @error: a #GError, or %NULL to ignore errors
*
* Register @username with the homeserver as a normal user. Upon success, the user is registered
* and authenticated.
*
* Implementations must emit the #MatrixClient::login-finished signal when a response arrives.
*
* This method registers a normal user account. If you want to register a different kind of user,
* use matrix_api_register_account().
*/
void
matrix_client_register_with_password(MatrixClient *matrix_client, const gchar *username, const gchar *password, GError **error)
{
g_return_if_fail(matrix_client != NULL);
MATRIX_CLIENT_GET_IFACE(matrix_client)->register_with_password(matrix_client, username, password, error);
}
/**
* matrix_client_logout:
* @client: an object implementing the #MatrixClient interface
* @error: a #GError, or %NULL to ignore errors
*
* Logout from the homeserver. As Matrix.org doesnt have such a concept, this cancels all ongoing
* requests and clears the authentication data (e.g. tokens).
*/
void
matrix_client_logout(MatrixClient *matrix_client, GError **error)
{
g_return_if_fail(matrix_client != NULL);
MATRIX_CLIENT_GET_IFACE(matrix_client)->logout(matrix_client, error);
}
/**
* matrix_client_begin_polling:
* @client: an object implementing the #MatrixClient interface
* @error: a #GError, or %NULL to ignore errors
*
* Begin polling the event stream.
*/
void
matrix_client_begin_polling(MatrixClient *matrix_client, GError **error)
{
g_return_if_fail(matrix_client != NULL);
MATRIX_CLIENT_GET_IFACE(matrix_client)->begin_polling(matrix_client, error);
}
/**
* matrix_client_stop_polling:
* @client: a #MatrixClient
* @cancel_ongoing: if %TRUE, ongoing requests will be cancelled, too
* @error: a #GError, or %NULL to ignore errors
*
* Stop polling the event stream. If @cancel_ongoing is %TRUE, ongoing requests will be cancelled,
* too.
*/
void
matrix_client_stop_polling(MatrixClient *matrix_client, gboolean cancel_ongoing, GError **error)
{
g_return_if_fail(matrix_client != NULL);
MATRIX_CLIENT_GET_IFACE(matrix_client)->stop_polling(matrix_client, cancel_ongoing, error);
}
/**
* matrix_client_emit_login_finished:
* @client: a #MatrixClient
* @success: set to %TRUE if login was successful
*
* Convenience function to emit the #MatrixClient::login-finished signal.
*/
void
matrix_client_emit_login_finished(MatrixClient *matrix_client, gboolean success)
{
g_signal_emit(matrix_client, matrix_client_signals[SIGNAL_LOGIN_FINISHED], 0, success);
}
/**
* matrix_client_incoming_event:
* @client: an object implementing the #MatrixClient interface
* @room_id: the room the event is associated with
* @raw_event: the raw event
* @matrix_event: the event as a Matrix.Event
*
* Emits the #MatrixClient::event signal.
*/
void
matrix_client_incoming_event(MatrixClient *matrix_client, const gchar *room_id, JsonNode *raw_event, MatrixEventBase *matrix_event)
{
GQuark equark;
g_return_if_fail(raw_event != NULL);
if (matrix_event == NULL) {
equark = g_type_qname(MATRIX_EVENT_TYPE_BASE);
} else {
equark = g_type_qname(G_TYPE_FROM_INSTANCE((GObject*)matrix_event));
}
g_signal_emit(matrix_client, matrix_client_signals[SIGNAL_EVENT], equark, room_id, raw_event, matrix_event);
}
/**
* matrix_client_get_user_profile:
* @client: an object implementing the #MatrixClient interface
* @user_id: (not nullable): the user ID to get the profile for
* @room_id: (nullable): the room ID to get the profile from, or %NULL to get the global profile
* @error: (nullable): a #GError, or %NULL to ignore errors
*
* Get the profile of a user specified by @user_id. If @room_id is not %NULL, return the
* room-specific profile. If the users profile is not cached yet, @error is set to
* #MATRIX_ERROR_UNAVAILABLE.
*
* Returns: (nullable) (transfer none): a #MatrixProfile object
*/
MatrixProfile *
matrix_client_get_user_profile(MatrixClient *matrix_client, const gchar *user_id, const gchar *room_id, GError **error)
{
g_return_val_if_fail(matrix_client != NULL, NULL);
return MATRIX_CLIENT_GET_IFACE(matrix_client)->get_user_profile(matrix_client, user_id, room_id, error);
}
/**
* matrix_client_get_user_presence:
* @client: an object implementing the #MatrixClient interface
* @user_id: (not nullable): the user ID to get presence info for
* @room_id: (nullable): the room ID to get the presence info from, or %NULL to get the global
* presence info
* @error: (nullable): a #GError, or %NULL to ignore errors
*
* Get the presence state of a user specified by @user_id. If @room_id is %NULL, return the room
* specific presence state. If the user's presence state is not cached yet, @error is set to
* #MATRIX_ERROR_UNAVAILABLE.
*
* Returns: the presence of @user_id
*/
MatrixPresence
matrix_client_get_user_presence(MatrixClient *matrix_client, const gchar *user_id, const gchar *room_id, GError **error)
{
g_return_val_if_fail(matrix_client != NULL, 0);
return MATRIX_CLIENT_GET_IFACE(matrix_client)->get_user_presence(matrix_client, user_id, room_id, error);
}
/**
* matrix_client_get_room_by_id:
* @client: an object implementing the #MatrixClient interface
* @room_id: (not nullable): the room ID to get the room information for
* @error: (nullable): a #GError, or %NULL to ignore errors
*
* Get a room object by the room ID specified in @room_id. If room data is not cached yet, error
* is set to #MATRIX_ERROR_UNAVAILABLE and %NULL is returned.
*
* Returns: (nullable) (transfer none): a #MatrixRoom object corresponding to @room_id
*/
MatrixRoom *
matrix_client_get_room_by_id(MatrixClient *matrix_client, const gchar *room_id, GError **error)
{
g_return_val_if_fail(matrix_client != NULL, NULL);
return MATRIX_CLIENT_GET_IFACE(matrix_client)->get_room_by_id(matrix_client, room_id, error);
}
/**
* matrix_client_get_room_by_alias:
* @client: an object implementing the #MatrixClient interface
* @room_alias: (not nullable): a room alias
* @error: (nullable): a #GError, or %NULL to ignore errors
*
* Get a room object by the room alias specified in @room_alias. If room data is not cached yet,
* @error is set to #MATRIX_ERROR_UNAVAILABLE and %NULL is returned.
*
* Please note that this may be a lengthy operation, especially if there are many rooms with many
* aliases.
*
* Returns: (nullable) (transfer none): a #MatrixRoom object with @room_alias
*/
MatrixRoom *
matrix_client_get_room_by_alias(MatrixClient *matrix_client, const gchar *room_alias, GError **error)
{
g_return_val_if_fail(matrix_client != NULL, NULL);
return MATRIX_CLIENT_GET_IFACE(matrix_client)->get_room_by_alias(matrix_client, room_alias, error);
}
/**
* matrix_client_send:
* @client: a #MatrixClient
* @room_id: the room to send the event to
* @evt: the event to send
* @callback: (scope async): the callback function to call when the request is finished
* @user_data: user data to pass to the callback function
* @txn_id: the transaction ID to be used during this request. In case of a state event, it will be
* untouched
* @error: (nullable): a #GError, or %NULL to ignore errors
*
* Send an event to the given room. This should use the correct endpoint (e.g. the
* `/room/{roomId}/send` or the `/room/{roomId}/state` API in case of a HTTP connection) depending
* on the event: if the event has a state key (there is a state_key key in the generated JSON),
* even if an empty one, it will use the latter.
*/
void
matrix_client_send(MatrixClient *matrix_client,
const gchar *room_id,
MatrixEventBase *evt,
gulong txn_id,
MatrixClientSendCallback cb,
gpointer user_data,
GError **error)
{
g_return_if_fail(matrix_client != NULL);
MATRIX_CLIENT_GET_IFACE(matrix_client)->send(matrix_client, room_id, evt, cb, user_data, txn_id, error);
}
/**
* matrix_client_save_state:
* @client: an object implementing the #MatrixClient interface
* @filename: the filename to save state info to
* @error: a #GError, or %NULL to ignore errors
*
* Save the client state to a file. This may include server addresses and credentials, too, so a
* secure storage is highly recommended.
*/
void
matrix_client_save_state(MatrixClient *matrix_client, const gchar *filename, GError **error)
{
g_return_if_fail(matrix_client != NULL);
MATRIX_CLIENT_GET_IFACE(matrix_client)->save_state(matrix_client, filename, error);
}
/**
* matrix_client_load_state:
* @client: an object implementing the #MatrixClient interface
* @filename: the name of the file to load state from
* @error: (nullable): a #GError, or %NULL to ignore errors
*
* Load the state of the client, as saved by matrix_client_save_state().
*/
void
matrix_client_load_state(MatrixClient *matrix_client, const gchar *filename, GError **error)
{
g_return_if_fail(matrix_client != NULL);
MATRIX_CLIENT_GET_IFACE(matrix_client)->load_state(matrix_client, filename, error);
}
static void
matrix_client_real_login_finished(MatrixClient *matrix_client, gboolean success)
{}
static void
matrix_client_real_event(MatrixClient *matrix_client, const gchar *room_id, JsonNode *raw_event, MatrixEventBase *matrix_event)
{
g_return_if_fail(raw_event != NULL);
}
static void
matrix_client_default_init(MatrixClientInterface *iface)
{
static gboolean initialized = FALSE;
if (!initialized) {
initialized = TRUE;
iface->login_finished = matrix_client_real_login_finished;
iface->event = matrix_client_real_event;
/**
* MatrixClient::login-finished:
* @client: the #MatrixClient that emitted the signal
* @success: if %TRUE, login was successful
*
* This signal is a sign for a finished login request.
*
* Implementations are responsible for emitting this signal when they get a response for a
* login request.
*/
matrix_client_signals[SIGNAL_LOGIN_FINISHED] = g_signal_new(
"login-finished",
MATRIX_TYPE_CLIENT,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET(MatrixClientInterface, login_finished),
NULL, NULL,
g_cclosure_marshal_VOID__BOOLEAN,
G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
/**
* MatrixClient::event:
* @client: the #MatrixClient that emitted the signal
* @room_id: the ID of the room associated with this event
* @raw_event: the raw event as a JSON object
* @matrix_event: the event as a #MatrixEventBase derived object
*
* This signal is a sign of an incoming event.
*
* It gets emitted for every event, regardless if it is handled by other event signals,
* before other signals.
*
* Implementations are responsible for emitting this signal when any kind of event arrives
* from the event stream or the history.
*/
matrix_client_signals[SIGNAL_EVENT] = g_signal_new(
"event",
MATRIX_TYPE_CLIENT,
G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
G_STRUCT_OFFSET(MatrixClientInterface, event),
NULL, NULL,
_matrix_marshal_VOID__STRING_BOXED_OBJECT,
G_TYPE_NONE, 3, G_TYPE_STRING, JSON_TYPE_NODE, MATRIX_EVENT_TYPE_BASE);
/**
* MatrixClient::polling-started:
* @client: the #MatrixClient that emitted the signal
*
* This signal is emitted when polling is started.
*/
matrix_client_signals[SIGNAL_POLLING_STARTED] = g_signal_new(
"polling-started",
MATRIX_TYPE_CLIENT,
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
/**
* MatrixClient::polling-stopped:
* @client: the object that sent the signal
* @error: gets set to an actual error if polling is stopped due to one
*
* This signal gets invoked when polling is stopped due to any reason.
*/
matrix_client_signals[SIGNAL_POLLING_STOPPED] = g_signal_new(
"polling-stopped",
MATRIX_TYPE_CLIENT,
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
g_cclosure_marshal_VOID__BOXED,
G_TYPE_NONE, 1, G_TYPE_ERROR);
}
}
/**
* matrix_client_connect_event:
* @client: a #MatrixClient
* @event_gtype: the #GType of a #MatrixEventBase derived type
* @callback: (scope async): the callback function to connect
* @user_data: user data passed to the callback function
* @destroy_notify: function to call on @user_data when it can be destroyed
*
* Connect a handler for events. If @event_gtype is #MATRIX_EVENT_TYPE_BASE, all events will be
* sent to the callback function, otherwise only events that match the specified event type.
*
* If @event_gtype is not derived from #MatrixEventBase, @callback wont get connected.
*/
void
matrix_client_connect_event(MatrixClient *client,
GType event_gtype,
MatrixClientEventCallback callback,
gpointer user_data,
GDestroyNotify destroy_notify)
{
GClosure *closure;
GQuark equark;
MatrixEventBaseClass *event_class = MATRIX_EVENT_BASE_CLASS(
g_type_class_ref(event_gtype));
guint event_signal_id = g_signal_lookup("event", MATRIX_TYPE_CLIENT);
if (!MATRIX_EVENT_IS_BASE_CLASS(event_class)) {
g_warning("Trying to connect to a type that is not derived from MatrixEvent");
g_type_class_unref(event_class);
return;
}
g_type_class_unref(event_class);
equark = g_type_qname(event_gtype);
closure = g_closure_ref(g_cclosure_new(G_CALLBACK(callback),
user_data,
(GClosureNotify)destroy_notify));
g_closure_set_marshal(closure,
_matrix_marshal_VOID__STRING_BOXED_OBJECT);
g_closure_sink(closure);
g_signal_connect_closure_by_id(client,
event_signal_id, equark,
closure, FALSE);
}

View File

@ -1,127 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_CLIENT_H__
# define __MATRIX_GLIB_SDK_CLIENT_H__
# include <glib-object.h>
# include "matrix-enumtypes.h"
# include "matrix-profile.h"
# include "matrix-room.h"
# include "matrix-event-base.h"
G_BEGIN_DECLS
# define MATRIX_TYPE_CLIENT matrix_client_get_type()
G_DECLARE_INTERFACE(MatrixClient, matrix_client, MATRIX, CLIENT, GObject)
typedef void (*MatrixClientSendCallback)(MatrixClient *client, const gchar *event_id, GError *error, void *user_data);
typedef void (*MatrixClientEventCallback)(MatrixClient *client, const gchar *room_id, JsonNode *raw_event, MatrixEventBase *matrix_event, void *user_data);
struct _MatrixClientInterface {
GTypeInterface parent_iface;
void (*login_with_password)(MatrixClient *client,
const gchar *username,
const gchar *password,
GError **error);
void (*register_with_password)(MatrixClient *client,
const gchar *username,
const gchar *password,
GError **error);
void (*logout)(MatrixClient *client, GError **error);
void (*begin_polling)(MatrixClient *client, GError **error);
void (*stop_polling)(MatrixClient *client, gboolean cancel_ongoing, GError **error);
MatrixProfile *(*get_user_profile)(MatrixClient *client,
const gchar *user_id,
const gchar *room_id,
GError **error);
MatrixPresence (*get_user_presence)(MatrixClient *client,
const gchar *user_id,
const gchar *room_id,
GError **error);
MatrixRoom *(*get_room_by_id)(MatrixClient *client, const gchar *room_id, GError **error);
MatrixRoom *(*get_room_by_alias)(MatrixClient *client,
const gchar *room_alias,
GError **error);
void (*send)(MatrixClient *client,
const gchar *room_id,
MatrixEventBase *evt,
MatrixClientSendCallback callback, void *user_data,
gulong txn_id,
GError **error);
void (*save_state)(MatrixClient *client,
const gchar *filename,
GError **error);
void (*load_state)(MatrixClient *client,
const gchar *filename,
GError **error);
void (*login_finished)(MatrixClient *client, gboolean success);
void (*event)(MatrixClient *client,
const gchar *room_id,
JsonNode *raw_event,
MatrixEventBase *matrix_event);
};
void matrix_client_login_with_password(MatrixClient *client,
const gchar *username,
const gchar *password,
GError **error);
void matrix_client_register_with_password(MatrixClient *client,
const gchar *username,
const gchar *password,
GError **error);
void matrix_client_logout(MatrixClient *client, GError **error);
void matrix_client_begin_polling(MatrixClient *client, GError **error);
void matrix_client_stop_polling(MatrixClient *client, gboolean cancel_ongoing, GError **error);
void matrix_client_emit_login_finished(MatrixClient *client, gboolean success);
void matrix_client_incoming_event(MatrixClient *client,
const gchar *room_id,
JsonNode *raw_event,
MatrixEventBase *matrix_event);
void matrix_client_connect_event(MatrixClient *client,
GType event_gtype,
MatrixClientEventCallback callback,
gpointer user_data,
GDestroyNotify destroy_notify);
MatrixProfile *matrix_client_get_user_profile(MatrixClient *client,
const gchar *user_id,
const gchar *room_id,
GError **error);
MatrixPresence matrix_client_get_user_presence(MatrixClient *client,
const gchar *user_id,
const gchar *room_id,
GError **error);
MatrixRoom *matrix_client_get_room_by_id(MatrixClient *client,
const gchar *room_id,
GError **error);
MatrixRoom *matrix_client_get_room_by_alias(MatrixClient *client,
const gchar *room_alias,
GError **error);
void matrix_client_send(MatrixClient *client,
const gchar *room_id,
MatrixEventBase *evt,
gulong txn_id,
MatrixClientSendCallback callback,
gpointer user_data,
GError **error);
void matrix_client_save_state(MatrixClient *client, const gchar *filename, GError **error);
void matrix_client_load_state(MatrixClient *client, const gchar *filename, GError **error);
G_END_DECLS
#endif /*__MATRIX_GLIB_SDK_CLIENT_H__ */

File diff suppressed because it is too large Load Diff

View File

@ -1,236 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_COMPACTS_H__
# define __MATRIX_GLIB_SDK_COMPACTS_H__
# include <glib-object.h>
# include <json-glib/json-glib.h>
# include "matrix-types.h"
G_BEGIN_DECLS
# define MATRIX_TYPE_JSON_COMPACT matrix_json_compact_get_type()
# define MATRIX_JSON_COMPACT(o) (G_TYPE_CHECK_INSTANCE_CAST((o), MATRIX_TYPE_JSON_COMPACT, MatrixJsonCompact))
# define MATRIX_JSON_COMPACT_CLASS(c) (G_TYPE_CHECK_CLASS_CAST((c), MATRIX_TYPE_JSON_COMPACT, MatrixJsonCompactClass))
# define MATRIX_IS_JSON_COMPACT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), MATRIX_TYPE_JSON_COMPACT))
# define MATRIX_IS_JSON_COMPACT_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE((c), MATRIX_TYPE_JSON_COMPACT))
# define MATRIX_JSON_COMPACT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), MATRIX_TYPE_JSON_COMPACT, MatrixJsonCompactClass))
typedef struct _MatrixJsonCompactClass MatrixJsonCompactClass;
typedef struct _MatrixJsonCompact MatrixJsonCompact;
void matrix_json_compact_unref(MatrixJsonCompact *json_compact);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(MatrixJsonCompact, matrix_json_compact_unref)
struct _MatrixJsonCompact {
GTypeInstance parent_instance;
/* < private > */
volatile int refcount;
};
struct _MatrixJsonCompactClass {
GTypeClass parent_class;
void (*finalize)(MatrixJsonCompact *json_compact);
JsonNode *(*get_json_node)(MatrixJsonCompact *json_compact, GError **error);
};
GType matrix_json_compact_get_type(void) G_GNUC_CONST;
MatrixJsonCompact *matrix_json_compact_construct(GType object_type);
MatrixJsonCompact *matrix_json_compact_ref(MatrixJsonCompact *json_compact);
JsonNode *matrix_json_compact_get_json_node(MatrixJsonCompact *json_compact, GError **error);
gchar *matrix_json_compact_get_json_data(MatrixJsonCompact *json_compact, gsize *datalen, GError **error);
#define MATRIX_TYPE_FILTER_RULES matrix_filter_rules_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixFilterRules, matrix_filter_rules, MATRIX, FILTER_RULES, MatrixJsonCompact)
struct _MatrixFilterRulesClass {
MatrixJsonCompactClass parent_class;
};
MatrixFilterRules *matrix_filter_rules_new(void);
MatrixFilterRules *matrix_filter_rules_construct(GType object_type);
void matrix_filter_rules_set_limit(MatrixFilterRules *filter_rules, guint limit);
guint matrix_filter_rules_get_limit(MatrixFilterRules *filter_rules);
void matrix_filter_rules_set_types(MatrixFilterRules *filter_rules, gchar **types, int n_types);
gchar **matrix_filter_rules_get_types(MatrixFilterRules *filter_rules, int *n_types);
void matrix_filter_rules_set_excluded_types(MatrixFilterRules *filter_rules, gchar **excluded_types, int n_excluded_types);
gchar **matrix_filter_rules_get_excluded_types(MatrixFilterRules *filter_rules, int *n_excluded_types);
void matrix_filter_rules_set_senders(MatrixFilterRules *filter_rules, gchar **senders, int n_senders);
gchar **matrix_filter_rules_get_senders(MatrixFilterRules *filter_rules, int *n_senders);
void matrix_filter_rules_set_excluded_senders(MatrixFilterRules *filter_rules, gchar **excluded_senders, int n_excluded_senders);
gchar **matrix_filter_rules_get_excluded_senders(MatrixFilterRules *filter_rules, int *n_excluded_senders);
void matrix_filter_rules_set_rooms(MatrixFilterRules *filter_rules, gchar **rooms, int n_rooms);
gchar **matrix_filter_rules_get_rooms(MatrixFilterRules *filter_rules, int *n_rooms);
void matrix_filter_rules_set_excluded_rooms(MatrixFilterRules *filter_rules, gchar **excluded_rooms, int n_excluded_rooms);
gchar **matrix_filter_rules_get_excluded_rooms(MatrixFilterRules *filter_rules, int *n_excluded_rooms);
# define MATRIX_TYPE_ROOM_FILTER matrix_room_filter_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixRoomFilter, matrix_room_filter, MATRIX, ROOM_FILTER, MatrixJsonCompact)
struct _MatrixRoomFilterClass {
MatrixJsonCompactClass parent_class;
};
MatrixRoomFilter *matrix_room_filter_new(void);
gboolean matrix_room_filter_get_include_leave(MatrixRoomFilter *room_filter);
void matrix_room_filter_set_include_leave(MatrixRoomFilter *room_filter, gboolean include_leave);
MatrixFilterRules *matrix_room_filter_get_ephemeral(MatrixRoomFilter *room_filter);
void matrix_room_filter_set_ephemeral(MatrixRoomFilter *room_filter, MatrixFilterRules *ephemeral_rules);
MatrixFilterRules *matrix_room_filter_get_state(MatrixRoomFilter *room_filter);
void matrix_room_filter_set_state(MatrixRoomFilter *room_filter, MatrixFilterRules *state_rules);
MatrixFilterRules *matrix_room_filter_get_timeline(MatrixRoomFilter *room_filter);
void matrix_room_filter_set_timeline(MatrixRoomFilter *room_filter, MatrixFilterRules *timeline_rules);
# define MATRIX_TYPE_FILTER matrix_filter_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixFilter, matrix_filter, MATRIX, FILTER, MatrixJsonCompact)
struct _MatrixFilterClass {
MatrixJsonCompactClass parent_class;
};
MatrixFilter *matrix_filter_new(void);
gchar **matrix_filter_get_event_fields(MatrixFilter *filter, int *n_event_fields);
void matrix_filter_set_event_fields(MatrixFilter *filter, gchar **event_fields, int n_event_fields);
MatrixEventFormat matrix_filter_get_event_format(MatrixFilter *filter);
void matrix_filter_set_event_format(MatrixFilter *filter, MatrixEventFormat event_format);
MatrixFilterRules *matrix_filter_get_presence_filter(MatrixFilter *filter);
void matrix_filter_set_presence_filter(MatrixFilter *filter, MatrixFilterRules *presence_filter);
MatrixRoomFilter *matrix_filter_get_room_filter(MatrixFilter *filter);
void matrix_filter_set_room_filter(MatrixFilter *filter, MatrixRoomFilter *room_filter);
# define MATRIX_TYPE_3PID_CREDENTIAL matrix_3pid_credential_get_type()
G_DECLARE_DERIVABLE_TYPE(Matrix3PidCredential, matrix_3pid_credential, MATRIX, 3PID_CREDENTIAL, MatrixJsonCompact)
struct _Matrix3PidCredentialClass {
MatrixJsonCompactClass parent_class;
};
Matrix3PidCredential *matrix_3pid_credential_new(void);
const gchar *matrix_3pid_credential_get_id_server(Matrix3PidCredential *credential);
void matrix_3pid_credential_set_id_server(Matrix3PidCredential *credential, const gchar *id_server);
const gchar *matrix_3pid_credential_get_session_id(Matrix3PidCredential *credential);
void matrix_3pid_credential_set_session_id(Matrix3PidCredential *credential, const gchar *session_id);
const gchar *matrix_3pid_credential_get_client_secret(Matrix3PidCredential *credential);
void matrix_3pid_credential_set_client_secret(Matrix3PidCredential *credential, const gchar *client_secret);
# define MATRIX_TYPE_PUSHER matrix_pusher_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixPusher, matrix_pusher, MATRIX, PUSHER, MatrixJsonCompact)
struct _MatrixPusherClass {
MatrixJsonCompactClass parent_class;
};
MatrixPusher *matrix_pusher_new(void);
const gchar *matrix_pusher_get_device_display_name(MatrixPusher *pusher);
void matrix_pusher_set_device_display_name(MatrixPusher *pusher, const gchar *device_display_name);
const gchar *matrix_pusher_get_app_display_name(MatrixPusher *pusher);
void matrix_pusher_set_app_display_name(MatrixPusher *pusher, const gchar *app_display_name);
const gchar *matrix_pusher_get_app_id(MatrixPusher *pusher);
void matrix_pusher_set_app_id(MatrixPusher *pusher, const gchar *app_id);
gboolean matrix_pusher_get_append(MatrixPusher *pusher);
void matrix_pusher_set_append(MatrixPusher *pusher, gboolean append);
const gchar *matrix_pusher_get_kind(MatrixPusher *pusher);
void matrix_pusher_set_kind(MatrixPusher *pusher, const gchar *kind);
const gchar *matrix_pusher_get_lang(MatrixPusher *pusher);
void matrix_pusher_set_lang(MatrixPusher *pusher, const gchar *lang);
const gchar *matrix_pusher_get_profile_tag(MatrixPusher *pusher);
void matrix_pusher_set_profile_tag(MatrixPusher *pusher, const gchar *profile_tag);
const gchar *matrix_pusher_get_pushkey(MatrixPusher *pusher);
void matrix_pusher_set_pushkey(MatrixPusher *pusher, const gchar *pushkey);
JsonNode *matrix_pusher_get_data(MatrixPusher *pusher);
void matrix_pusher_set_data(MatrixPusher *pusher, JsonNode *data);
# define MATRIX_TYPE_EVENT_CONTEXT matrix_event_context_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixEventContext, matrix_event_context, MATRIX, EVENT_CONTEXT, MatrixJsonCompact)
struct _MatrixEventContextClass {
MatrixJsonCompactClass parent_class;
};
MatrixEventContext *matrix_event_context_new (void);
gint matrix_event_context_get_before_limit (MatrixEventContext *event_context);
void matrix_event_context_set_before_limit (MatrixEventContext *event_context, gint before_limit);
gint matrix_event_context_get_after_limit (MatrixEventContext *event_context);
void matrix_event_context_set_after_limit (MatrixEventContext *event_context, gint after_limit);
gboolean matrix_event_context_get_include_profile (MatrixEventContext *event_context);
void matrix_event_context_set_include_profile (MatrixEventContext *event_context, gboolean include_profile);
# define MATRIX_TYPE_SEARCH_GROUPING matrix_search_grouping_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixSearchGrouping, matrix_search_grouping, MATRIX, SEARCH_GROUPING, MatrixJsonCompact)
struct _MatrixSearchGroupingClass {
MatrixJsonCompactClass parent_class;
};
MatrixSearchGrouping *matrix_search_grouping_new(void);
MatrixSearchGroupBy matrix_search_grouping_get_key(MatrixSearchGrouping *search_grouping);
void matrix_search_grouping_set_key(MatrixSearchGrouping *search_grouping, MatrixSearchGroupBy key);
# define MATRIX_TYPE_SEARCH_GROUPINGS matrix_search_groupings_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixSearchGroupings, matrix_search_groupings, MATRIX, SEARCH_GROUPINGS, MatrixJsonCompact)
struct _MatrixSearchGroupingsClass {
MatrixJsonCompactClass parent_class;
};
MatrixSearchGroupings *matrix_search_groupings_new(void);
MatrixSearchGrouping **matrix_search_groupings_get_group_by(MatrixSearchGroupings *search_groupings, int *n_group_by);
void matrix_search_groupings_set_group_by(MatrixSearchGroupings *search_groupings, MatrixSearchGrouping **group_by, int n_group_by);
# define MATRIX_TYPE_SEARCH_ROOM_EVENTS matrix_search_room_events_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixSearchRoomEvents, matrix_search_room_events, MATRIX, SEARCH_ROOM_EVENTS, MatrixJsonCompact)
struct _MatrixSearchRoomEventsClass {
MatrixJsonCompactClass parent_class;
};
MatrixSearchRoomEvents *matrix_search_room_events_new(void);
MatrixSearchOrder matrix_search_room_events_get_order_by(MatrixSearchRoomEvents *search_room_events);
void matrix_search_room_events_set_order_by(MatrixSearchRoomEvents *search_room_events, MatrixSearchOrder order_by);
MatrixSearchKey *matrix_search_room_events_get_keys(MatrixSearchRoomEvents *search_room_events, guint *n_keys);
void matrix_search_room_events_set_keys(MatrixSearchRoomEvents *search_room_events, MatrixSearchKey *keys, guint n_keys);
MatrixEventContext *matrix_search_room_events_get_event_context(MatrixSearchRoomEvents *search_room_events);
void matrix_search_room_events_set_event_context(MatrixSearchRoomEvents *search_room_events, MatrixEventContext *event_context);
gboolean matrix_search_room_events_get_include_state(MatrixSearchRoomEvents *search_room_events);
void matrix_search_room_events_set_include_state(MatrixSearchRoomEvents *search_room_events, gboolean include_state);
const gchar *matrix_search_room_events_get_filter_id(MatrixSearchRoomEvents *search_room_events);
void matrix_search_room_events_set_filter_id(MatrixSearchRoomEvents *search_room_events, const gchar *filter_id);
MatrixFilter *matrix_search_room_events_get_filter(MatrixSearchRoomEvents *search_room_events);
void matrix_search_room_events_set_filter(MatrixSearchRoomEvents *search_room_events, MatrixFilter *filter);
const gchar *matrix_search_room_events_get_search_term(MatrixSearchRoomEvents *search_room_events);
void matrix_search_room_events_set_search_term(MatrixSearchRoomEvents *search_room_events, const gchar *search_term);
MatrixSearchGroupings *matrix_search_room_events_get_groupings(MatrixSearchRoomEvents *search_room_events);
void matrix_search_room_events_set_groupings(MatrixSearchRoomEvents *search_room_events, MatrixSearchGroupings *groupings);
# define MATRIX_TYPE_SEARCH_CATEGORIES matrix_search_categories_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixSearchCategories, matrix_search_categories, MATRIX, SEARCH_CATEGORIES, MatrixJsonCompact)
struct _MatrixSearchCategoriesClass {
MatrixJsonCompactClass parent_class;
};
MatrixSearchCategories *matrix_search_categories_new(void);
MatrixSearchRoomEvents *matrix_search_categories_get_room_events(MatrixSearchCategories *search_categories);
void matrix_search_categories_set_room_events(MatrixSearchCategories *search_categories, MatrixSearchRoomEvents *room_events);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_COMPACTS_H__ */

View File

@ -1,603 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-base.h"
#include "matrix-types.h"
#include "matrix-enumtypes.h"
#include "config.h"
/**
* SECTION:matrix-event-base
* @short_description: abstract base class for Matrix events
* @title: Base class for events
*
* #MatrixEventBase is the abstract base class of Matrix events. All event classes in this
* library are derived from it, and custom classes should derived from it, too, if one wants to
* benefit from #MatrixClients (de)serialization capabilities.
*
* This class only defines the MatrixEventBase:event-type property, which is tied to the
* `event_type` field in a JSON representation. Subclasses should not get or set this property.
*
* Event objects can be created from JSON data (a #JsonNode) by calling
* matrix_event_base_new_from_json(), which will return the correct GObject type as long as
* it was registered with matrix_event_register_type().
*/
enum {
PROP_0,
PROP_EVENT_TYPE,
PROP_JSON,
NUM_PROPS
};
static GParamSpec* matrix_event_base_properties[NUM_PROPS];
static GHashTable *matrix_event_type_handlers = NULL;
typedef struct {
GError* _construct_error;
gboolean _inited;
JsonNode* _json;
gchar *_event_type;
} MatrixEventBasePrivate;
static void matrix_event_base_g_initable_interface_init (GInitableIface *iface);
/**
* MatrixEventBase:
*
* Abstract base class for event handlers.
*/
/**
* MatrixEventBaseClass:
* @from_json: function to initialize themselves from JSON data
* @to_json: function to export their data to JSON
*
* Class structure for #MatrixEventBase.
*/
G_DEFINE_TYPE_EXTENDED(MatrixEventBase, matrix_event_base, G_TYPE_OBJECT, G_TYPE_FLAG_ABSTRACT, G_ADD_PRIVATE (MatrixEventBase) G_IMPLEMENT_INTERFACE(G_TYPE_INITABLE, matrix_event_base_g_initable_interface_init));
static gboolean
matrix_event_base_initable_init(GInitable *g_initable, GCancellable *cancellable, GError **error)
{
MatrixEventBasePrivate *priv;
if (cancellable != NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_UNSUPPORTED,
"Cancellable initialization not supported");
return FALSE;
}
priv = matrix_event_base_get_instance_private(MATRIX_EVENT_BASE(g_initable));
if (priv->_construct_error != NULL) {
g_propagate_error(error, priv->_construct_error);
return FALSE;
}
priv->_inited = TRUE;
return TRUE;
}
static void
matrix_event_base_initialize_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventBasePrivate *priv = matrix_event_base_get_instance_private(matrix_event_base);
JsonObject *root;
JsonNode *node;
const gchar *json_event_type;
GError *inner_error = NULL;
g_return_if_fail(matrix_event_base != NULL);
if (json_node_get_node_type(json_data) != JSON_NODE_OBJECT) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INVALID_FORMAT,
"The event is not valid");
return;
}
root = json_node_get_object(json_data);
if ((node = json_object_get_member(root, "type")) == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Event type is not specified");
return;
}
json_event_type = json_node_get_string(node);
if ((priv->_event_type != NULL) && (g_strcmp0(priv->_event_type, json_event_type) != 0)) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INVALID_TYPE,
"Changing event type is not supported");
return;
}
if ((node = json_object_get_member(root, "content")) == NULL) {
g_warning("content key is missing from an %s event", json_event_type);
// As event type objects depend on having this node, lets add it now.
JsonNode *content_node = json_node_new(JSON_NODE_OBJECT);
json_node_set_object(content_node, json_object_new());
json_object_set_member(root, "content", content_node);
}
matrix_event_base_from_json(matrix_event_base, json_data, &inner_error);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
return;
}
g_free(priv->_event_type);
priv->_event_type = g_strdup(json_event_type);
}
static void
matrix_event_base_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventBasePrivate *priv = matrix_event_base_get_instance_private(matrix_event_base);
JsonObject *root;
JsonNode *node;
g_return_if_fail(matrix_event_base != NULL);
root = json_node_get_object(json_data);
if ((node = json_object_get_member(root, "type")) != NULL) {
g_free(priv->_event_type);
priv->_event_type = g_strdup(json_node_get_string(node));
} else if (DEBUG) {
g_warning("type is not present in an event");
}
}
/**
* matrix_event_base_from_json:
* @event: a #MatrixEventBase (or derived) object
* @json_data: a #JsonNode to load data from. It must hold a #JsonObject
* @error: a #GError, or %NULL to ignore errors
*
* Load data from a JSON object to the fields of @event.
*/
void
matrix_event_base_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
g_return_if_fail(matrix_event_base != NULL);
g_return_if_fail(json_data != NULL);
g_return_if_fail(json_node_get_node_type(json_data) != JSON_NODE_OBJECT);
MATRIX_EVENT_BASE_GET_CLASS(matrix_event_base)->from_json(matrix_event_base, json_data, error);
}
static void
matrix_event_base_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventBasePrivate *priv = matrix_event_base_get_instance_private(matrix_event_base);
JsonObject *root;
g_return_if_fail(matrix_event_base != NULL);
root = json_node_get_object(json_data);
if (priv->_event_type == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate an event without type");
return;
}
json_object_set_string_member(root, "type", priv->_event_type);
}
/**
* matrix_event_base_to_json:
* @event: a #MatrixEventBase (or derived) object
* @json_data: a #JsonNode initialised to hold a #JsonObject
* @error: a #GError, or %NULL to ignore errors
*
* Export event data to a JSON object.
*/
void
matrix_event_base_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
g_return_if_fail(matrix_event_base != NULL);
g_return_if_fail(json_data != NULL);
g_return_if_fail(json_node_get_node_type(json_data) != JSON_NODE_OBJECT);
MATRIX_EVENT_BASE_GET_CLASS(matrix_event_base)->to_json(matrix_event_base, json_data, error);
}
/**
* matrix_event_base_new_from_json:
* @event_type: (nullable) (transfer none): an event type
* @json_data: (not nullable) (transfer none): a #JsonNode, holding a #JsonObject
* @error: (nullable): a #GError, or %NULL to ignore errors
*
* Create a new #MatrixEventBase derived object based on @event_type. If @event_type is %NULL,
* the event type is taken directly from the JSON data, namely the `"event_type"` field.
*
* After figuring out the event type (either from @event_type or from the event itself), this
* function calls matrix_event_get_handler() to get the handler #GType for this event. If
* none found, @error is set to #MATRIX_ERROR_INVALID_TYPE, and this function returns %NULL.
*
* The actual return type of this function is the same as the handling class (which is
* required to be a subclass of #MatrixEventBase).
*
* When object initialisation is done, matrix_event_base_from_json() is called to populate
* the event object.
*
* Returns: (transfer full): a new #MatrixEventBase devired object
*/
MatrixEventBase *
matrix_event_base_new_from_json(const gchar *event_type, JsonNode *json_data, GError **error)
{
GType event_gtype;
MatrixEventBase *ret = NULL;
GError *inner_error = NULL;
if (event_type == NULL) {
JsonNode *node;
if (json_data == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Either event_type or json_data must be set!");
return NULL;
}
if (json_node_get_node_type(json_data) != JSON_NODE_OBJECT) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INVALID_FORMAT,
"Event is not a JSON object!");
return NULL;
}
if ((node = json_object_get_member(json_node_get_object(json_data), "type")) == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"event_type is null and JSON object doesn't contain type!");
return NULL;
}
event_type = (gchar *)json_node_get_string(node);
}
if ((event_gtype = matrix_event_get_handler(event_type)) == G_TYPE_NONE) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INVALID_TYPE,
"No registered type for event type %s",
event_type);
return NULL;
}
ret = (MatrixEventBase *)g_object_new(event_gtype,
"event_type", event_type,
"json", json_data);
matrix_event_base_initable_init(G_INITABLE(ret), NULL, &inner_error);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
return NULL;
}
return ret;
}
/**
* matrix_event_base_construct:
* @object_type: a #GType to construct
*
* Returns: (transfer full): a new instance of @object_type
*/
MatrixEventBase *
matrix_event_base_construct(GType object_type)
{
return (MatrixEventBase *)g_object_new(object_type, NULL);
}
/**
* matrix_event_base_get_event_type:
* @event: a #MatrixEventBase (or derived) object
*
* Get the event type of @event.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none): the event type
*/
const gchar *
matrix_event_base_get_event_type(MatrixEventBase *matrix_event_base)
{
MatrixEventBasePrivate *priv = matrix_event_base_get_instance_private(matrix_event_base);
g_return_val_if_fail(matrix_event_base != NULL, NULL);
return priv->_event_type;
}
static void
matrix_event_base_set_event_type(MatrixEventBase *matrix_event_base, const gchar *event_type)
{
MatrixEventBasePrivate *priv = matrix_event_base_get_instance_private(matrix_event_base);
g_return_if_fail(matrix_event_base != NULL);
g_free(priv->_event_type);
priv->_event_type = g_strdup (event_type);
g_object_notify_by_pspec((GObject *)matrix_event_base,
matrix_event_base_properties[PROP_EVENT_TYPE]);
}
JsonNode *
matrix_event_base_get_json(MatrixEventBase *matrix_event_base)
{
MatrixEventBasePrivate *priv;
JsonNode *result;
JsonNode *content_node;
JsonObject *root;
JsonObject *content_root;
GError *inner_error = NULL;
g_return_val_if_fail(matrix_event_base != NULL, NULL);
priv = matrix_event_base_get_instance_private(matrix_event_base);
result = json_node_new (JSON_NODE_OBJECT);
root = json_object_new();
json_node_set_object(priv->_json, root);
content_node = json_node_new(JSON_NODE_OBJECT);
content_root = json_object_new();
json_node_set_object(content_node, content_root);
json_object_set_member(root, "content", content_node);
matrix_event_base_to_json(matrix_event_base, priv->_json, &inner_error);
if (inner_error != NULL) {
g_error("Unable to generate JSON content: %s", inner_error->message);
g_error_free(inner_error);
g_object_unref(result);
return NULL;
}
json_node_unref(priv->_json);
priv->_json = result;
return priv->_json;
}
static void
matrix_event_base_set_json(MatrixEventBase *matrix_event_base, JsonNode *json)
{
GError* inner_error = NULL;
g_return_if_fail(matrix_event_base != NULL);
if (json != NULL) {
matrix_event_base_initialize_from_json(matrix_event_base, json, &inner_error);
if (inner_error != NULL) {
g_error("Unable to initialise from JSON data: %s", inner_error->message);
g_error_free(inner_error);
return;
}
}
g_object_notify_by_pspec((GObject *)matrix_event_base, matrix_event_base_properties[PROP_JSON]);
}
static void
matrix_event_base_get_property(GObject *gobject, guint prop_id, GValue *value, GParamSpec *pspec)
{
MatrixEventBase *matrix_event_base = MATRIX_EVENT_BASE(gobject);
switch (prop_id) {
case PROP_EVENT_TYPE:
g_value_set_string(value, matrix_event_base_get_event_type(matrix_event_base));
break;
case PROP_JSON:
g_value_set_boxed(value, matrix_event_base_get_json(matrix_event_base));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec);
break;
}
}
static void
matrix_event_base_set_property(GObject *gobject, guint prop_id, const GValue *value, GParamSpec *pspec)
{
MatrixEventBase *matrix_event_base = MATRIX_EVENT_BASE(gobject);
switch (prop_id) {
case PROP_EVENT_TYPE:
matrix_event_base_set_event_type(matrix_event_base, g_value_get_string(value));
break;
case PROP_JSON:
matrix_event_base_set_json(matrix_event_base, g_value_get_boxed(value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec);
break;
}
}
static void
matrix_event_base_finalize(GObject *gobject)
{
MatrixEventBase *matrix_event_base = MATRIX_EVENT_BASE(gobject);
MatrixEventBasePrivate *priv = matrix_event_base_get_instance_private(matrix_event_base);
if (priv->_construct_error) {
g_error_free(priv->_construct_error);
}
priv->_json = (json_node_unref(priv->_json), NULL);
g_free(priv->_event_type);
G_OBJECT_CLASS(matrix_event_base_parent_class)->finalize(gobject);
}
static void
matrix_event_base_class_init(MatrixEventBaseClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_base_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_base_real_to_json;
G_OBJECT_CLASS(klass)->get_property = matrix_event_base_get_property;
G_OBJECT_CLASS(klass)->set_property = matrix_event_base_set_property;
G_OBJECT_CLASS(klass)->finalize = matrix_event_base_finalize;
/**
* MatrixEventBase:event-type:
*
* The type of the event. It should be namespaced similar to the Java package naming
* conventions, e.g. `com.example.subdomain.event.type`. It cannot be changed after object
* initialization.
*/
matrix_event_base_properties[PROP_EVENT_TYPE] = g_param_spec_string(
"event-type", "event-type", "event-type",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property(G_OBJECT_CLASS(klass),
PROP_EVENT_TYPE,
matrix_event_base_properties[PROP_EVENT_TYPE]);
/**
* MatrixEventBase:json:
*
* The event as a JSON node.
*/
matrix_event_base_properties[PROP_JSON] = g_param_spec_boxed(
"json", "json", "json",
JSON_TYPE_NODE,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property(G_OBJECT_CLASS(klass),
PROP_JSON,
matrix_event_base_properties[PROP_JSON]);
}
static void
matrix_event_base_g_initable_interface_init(GInitableIface *iface)
{
iface->init = matrix_event_base_initable_init;
}
static void
matrix_event_base_init(MatrixEventBase *matrix_event_base)
{
MatrixEventBasePrivate *priv = matrix_event_base_get_instance_private(matrix_event_base);
priv->_construct_error = NULL;
priv->_inited = FALSE;
priv->_event_type = NULL;
matrix_event_base_set_event_type(matrix_event_base, NULL);
}
/**
* matrix_event_get_handler:
* @event_type: (transfer none) (not nullable): the event type to look up
*
* Get the #GType of the class that is registered to handle events with type @event_type.
*
* Returns: a #GType, or #G_TYPE_NONE if no handler is registered
*/
GType
matrix_event_get_handler(const gchar *event_type)
{
GTypeClass *klass;
g_return_val_if_fail(event_type != NULL, G_TYPE_NONE);
if ((klass = (GTypeClass *)g_hash_table_lookup(matrix_event_type_handlers, event_type)) != NULL) {
return G_TYPE_FROM_CLASS(klass);
}
if (DEBUG) {
g_warning ("matrix-event-base.vala:243: No registered type for %s", event_type);
}
return G_TYPE_NONE;
}
/**
* matrix_event_register_type:
* @event_type: (transfer none): the type of the event
* @event_gtype: the #GType of the events handler
* @error: a #GError, or %NULL to ignore errors
*
* Registers @event_type to be handled by the type @event_gtype.
*/
void
matrix_event_register_type(const gchar *event_type, GType event_gtype, GError **error)
{
gchar *key;
GTypeClass *klass;
g_return_if_fail(event_type != NULL);
if (!g_type_is_a (event_gtype, MATRIX_EVENT_TYPE_BASE)) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INVALID_TYPE,
"Invalid event type handler. It must be a subclass of MatrixEvent");
return;
}
if (matrix_event_type_handlers == NULL) {
matrix_event_type_handlers = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_type_class_unref);
}
key = g_strdup (event_type);
klass = g_type_class_ref (event_gtype);
g_hash_table_replace(matrix_event_type_handlers, key, klass);
}
/**
* matrix_event_unregister_type:
* @event_type: (transfer none): the event type to remove
*
* Unregister @param event_type.
*/
void
matrix_event_unregister_type(const gchar *event_type)
{
g_return_if_fail(event_type != NULL && matrix_event_type_handlers != NULL);
g_hash_table_remove (matrix_event_type_handlers, event_type);
}

View File

@ -1,59 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIX_SDK_EVENT_BASE_H__
# define __MATRIX_GLIX_SDK_EVENT_BASE_H__
# include <glib-object.h>
# include <json-glib/json-glib.h>
# define MATRIX_EVENT_TYPE_BASE (matrix_event_base_get_type ())
# define MATRIX_EVENT_BASE(o) (G_TYPE_CHECK_INSTANCE_CAST((o), MATRIX_EVENT_TYPE_BASE, MatrixEventBase))
# define MATRIX_EVENT_BASE_CLASS(c) (G_TYPE_CHECK_CLASS_CAST((c), MATRIX_EVENT_TYPE_BASE, MatrixEventBaseClass))
# define MATRIX_EVENT_IS_BASE(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), MATRIX_EVENT_TYPE_BASE))
# define MATRIX_EVENT_IS_BASE_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE((c), MATRIX_EVENT_TYPE_BASE))
# define MATRIX_EVENT_BASE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), MATRIX_EVENT_TYPE_BASE, MatrixEventBaseClass))
typedef struct _MatrixEventBase MatrixEventBase;
typedef struct _MatrixEventBaseClass MatrixEventBaseClass;
G_DEFINE_AUTOPTR_CLEANUP_FUNC(MatrixEventBase, g_object_unref)
struct _MatrixEventBase {
GObject parent_instance;
};
struct _MatrixEventBaseClass {
GObjectClass parent_instance;
void (*from_json)(MatrixEventBase *event, JsonNode *json_data, GError **error);
void (*to_json)(MatrixEventBase *event, JsonNode *json_data, GError **error);
};
GType matrix_event_get_handler(const gchar *event_type);
void matrix_event_register_type(const gchar *event_type, GType event_gtype, GError **error);
void matrix_event_unregister_type(const gchar *event_type);
GType matrix_event_base_get_type(void) G_GNUC_CONST;
void matrix_event_base_from_json(MatrixEventBase *event, JsonNode *json_data, GError **error);
void matrix_event_base_to_json(MatrixEventBase *event, JsonNode *json_data, GError **error);
MatrixEventBase *matrix_event_base_new_from_json(const gchar *event_type, JsonNode *json_data, GError **error);
MatrixEventBase *matrix_event_base_construct(GType object_type);
const gchar *matrix_event_base_get_event_type(MatrixEventBase *event);
JsonNode *matrix_event_base_get_json(MatrixEventBase *event);
#endif /* __MATRIX_GLIX_SDK_EVENT_BASE_H__ */

View File

@ -1,338 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-call-answer.h"
#include "utils.h"
#include "matrix-enumtypes.h"
#include "config.h"
/**
* SECTION:matrix-event-call-answer
* @short_description: event sent when a callee wishes to answer the call
*
* This event is sent by the callee when they wish to answer the call.
*/
enum {
PROP_0,
PROP_ANSWER_TYPE,
PROP_ANSWER_SDP,
NUM_PROPERTIES
};
static GParamSpec *matrix_event_call_answer_properties[NUM_PROPERTIES];
typedef struct {
MatrixCallAnswerType _answer_type;
gchar* _answer_sdp;
} MatrixEventCallAnswerPrivate;
/**
* MatrixEventCallAnswer:
*
* Object structure.
*/
G_DEFINE_TYPE_WITH_PRIVATE(MatrixEventCallAnswer, matrix_event_call_answer, MATRIX_EVENT_TYPE_CALL);
static void
matrix_event_call_answer_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventCallAnswerPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
JsonNode *node;
g_return_if_fail(json_data != NULL);
priv = matrix_event_call_answer_get_instance_private(MATRIX_EVENT_CALL_ANSWER(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
if ((node = json_object_get_member(content_root, "answer")) != NULL) {
JsonObject *answer_root = json_node_get_object(node);
if ((node = json_object_get_member(answer_root, "type")) != NULL) {
GError *inner_error = NULL;
MatrixCallAnswerType answer_type = _matrix_g_enum_nick_to_value(MATRIX_TYPE_CALL_ANSWER_TYPE, json_node_get_string(node), &inner_error);
if (inner_error != NULL) {
priv->_answer_type = MATRIX_CALL_ANSWER_TYPE_UNKNOWN;
#if DEBUG
g_warning("Unknown value %s for content.answer.type in a m.call.answer event", json_node_get_string(node));
#endif
} else {
priv->_answer_type = answer_type;
}
} else {
g_warning("content.answer.type is missing from a m.call.answer event");
}
if ((node = json_object_get_member(answer_root, "sdp")) != NULL) {
g_free(priv->_answer_sdp);
priv->_answer_sdp = g_strdup(json_node_get_string(node));
} else {
g_warning("content.answer.sdp is missing from a m.call.answer event");
}
}
MATRIX_EVENT_BASE_CLASS(matrix_event_call_answer_parent_class)->from_json(matrix_event_base, json_data, error);
}
static void
matrix_event_call_answer_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventCallAnswerPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonObject *answer_root;
JsonNode *content_node;
JsonNode *answer_node;
gchar *answer_type;
g_return_if_fail(json_data != NULL);
priv = matrix_event_call_answer_get_instance_private(MATRIX_EVENT_CALL_ANSWER(matrix_event_base));
if (priv->_answer_type == MATRIX_CALL_ANSWER_TYPE_UNKNOWN) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.answer event without a valid answer.type");
return;
}
if (priv->_answer_sdp == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.answer event without answer.sdp");
return;
}
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
answer_root = json_object_new();
answer_node = json_node_new(JSON_NODE_OBJECT);
json_node_set_object(answer_node, answer_root);
answer_type = _matrix_g_enum_to_string(MATRIX_TYPE_CALL_ANSWER_TYPE, priv->_answer_type, '_');
json_object_set_string_member(answer_root, "type", answer_type);
g_free(answer_type);
json_object_set_string_member(answer_root, "sdp", priv->_answer_sdp);
json_object_set_member(content_root, "answer", answer_node);
MATRIX_EVENT_BASE_CLASS(matrix_event_call_answer_parent_class)->to_json(matrix_event_base, json_data, error);
}
/**
* matrix_event_call_answer_new:
*
* Create a new #MatrixEventCallAnswer object.
*
* Returns: (transfer full): a new #MatrixEventCallAnswer object
*/
MatrixEventCallAnswer *
matrix_event_call_answer_new(void)
{
return (MatrixEventCallAnswer *)matrix_event_call_construct(MATRIX_EVENT_TYPE_CALL_ANSWER);
}
/**
* matrix_event_call_answer_get_answer_type:
* @event: a #MatrixEventCallAnswer
*
* Get the answer type from @event.
*
* Returns: the answer type.
*/
MatrixCallAnswerType
matrix_event_call_answer_get_answer_type(MatrixEventCallAnswer *matrix_event_call_answer)
{
MatrixEventCallAnswerPrivate *priv;
g_return_val_if_fail(matrix_event_call_answer != NULL, 0);
priv = matrix_event_call_answer_get_instance_private(matrix_event_call_answer);
return priv->_answer_type;
}
/**
* matrix_event_call_answer_set_answer_type:
* @event: a #MatrixEventCallAnswer
* @answer_type: the answer type to set
*
* Set the answer type in @event.
*/
void
matrix_event_call_answer_set_answer_type(MatrixEventCallAnswer *matrix_event_call_answer, MatrixCallAnswerType answer_type)
{
MatrixEventCallAnswerPrivate *priv;
g_return_if_fail(matrix_event_call_answer != NULL);
priv = matrix_event_call_answer_get_instance_private(matrix_event_call_answer);
if (priv->_answer_type != answer_type) {
priv->_answer_type = answer_type;
g_object_notify_by_pspec((GObject *)matrix_event_call_answer, matrix_event_call_answer_properties[PROP_ANSWER_TYPE]);
}
}
/**
* matrix_event_call_answer_get_answer_sdp:
* @event: a #MatrixEventCallAnswer
*
* Get the answer SDP of @event.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): the answer SDP
*/
const gchar *
matrix_event_call_answer_get_answer_sdp(MatrixEventCallAnswer *matrix_event_call_answer)
{
MatrixEventCallAnswerPrivate *priv;
g_return_val_if_fail(matrix_event_call_answer != NULL, NULL);
priv = matrix_event_call_answer_get_instance_private(matrix_event_call_answer);
return priv->_answer_sdp;
}
/**
* matrix_event_call_answer_set_answer_sdp:
* @event: a #MatrixEventCallAnswer
* @answer_sdp: (transfer none): an answew SDP
*
* Set the answer SDP in @event.
*/
void
matrix_event_call_answer_set_answer_sdp(MatrixEventCallAnswer *matrix_event_call_answer, const gchar *answer_sdp)
{
MatrixEventCallAnswerPrivate *priv;
g_return_if_fail(matrix_event_call_answer != NULL);
priv = matrix_event_call_answer_get_instance_private(matrix_event_call_answer);
if (g_strcmp0(answer_sdp, priv->_answer_sdp) != 0) {
g_free(priv->_answer_sdp);
priv->_answer_sdp = g_strdup(answer_sdp);
g_object_notify_by_pspec((GObject *)matrix_event_call_answer, matrix_event_call_answer_properties[PROP_ANSWER_SDP]);
}
}
static void
matrix_event_call_answer_finalize(GObject *gobject) {
MatrixEventCallAnswerPrivate *priv = matrix_event_call_answer_get_instance_private(MATRIX_EVENT_CALL_ANSWER(gobject));
g_free(priv->_answer_sdp);
G_OBJECT_CLASS(matrix_event_call_answer_parent_class)->finalize(gobject);
}
static void
matrix_event_call_answer_get_property(GObject *gobject, guint property_id, GValue *value, GParamSpec *pspec)
{
MatrixEventCallAnswer *matrix_event_call_answer = MATRIX_EVENT_CALL_ANSWER(gobject);
switch (property_id) {
case PROP_ANSWER_TYPE:
g_value_set_enum(value, matrix_event_call_answer_get_answer_type(matrix_event_call_answer));
break;
case PROP_ANSWER_SDP:
g_value_set_string(value, matrix_event_call_answer_get_answer_sdp(matrix_event_call_answer));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_call_answer_set_property(GObject *gobject, guint property_id, const GValue *value, GParamSpec *pspec)
{
MatrixEventCallAnswer *matrix_event_call_answer = MATRIX_EVENT_CALL_ANSWER(gobject);
switch (property_id) {
case PROP_ANSWER_TYPE:
matrix_event_call_answer_set_answer_type(matrix_event_call_answer, g_value_get_enum(value));
break;
case PROP_ANSWER_SDP:
matrix_event_call_answer_set_answer_sdp(matrix_event_call_answer, g_value_get_string(value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_call_answer_class_init(MatrixEventCallAnswerClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_call_answer_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_call_answer_real_to_json;
G_OBJECT_CLASS(klass)->get_property = matrix_event_call_answer_get_property;
G_OBJECT_CLASS(klass)->set_property = matrix_event_call_answer_set_property;
G_OBJECT_CLASS(klass)->finalize = matrix_event_call_answer_finalize;
/**
* MatrixEventCallAnswer:answer-type:
*
* The type of session description.
*/
matrix_event_call_answer_properties[PROP_ANSWER_TYPE] = g_param_spec_enum(
"answer-type", "answer-type", "answer-type",
MATRIX_TYPE_CALL_ANSWER_TYPE, MATRIX_CALL_ANSWER_TYPE_UNKNOWN,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_ANSWER_TYPE, matrix_event_call_answer_properties[PROP_ANSWER_TYPE]);
/**
* MatrixEventCallAnswer:answer-sdp:
* The SDP text of the session description.
*/
matrix_event_call_answer_properties[PROP_ANSWER_SDP] = g_param_spec_string(
"answer-sdp", "answer-sdp", "answer-sdp",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_ANSWER_SDP, matrix_event_call_answer_properties[PROP_ANSWER_SDP]);
}
static void
matrix_event_call_answer_init(MatrixEventCallAnswer *matrix_event_call_answer)
{
MatrixEventCallAnswerPrivate *priv = matrix_event_call_answer_get_instance_private(matrix_event_call_answer);
priv->_answer_type = MATRIX_CALL_ANSWER_TYPE_UNKNOWN;
priv->_answer_sdp = NULL;
}

View File

@ -1,43 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_CALL_ANSWER_H__
# define __MATRIX_GLIB_SDK_EVENT_CALL_ANSWER_H__
# include <glib-object.h>
# include "matrix-event-call-base.h"
# include "matrix-types.h"
G_BEGIN_DECLS
# define MATRIX_EVENT_TYPE_CALL_ANSWER (matrix_event_call_answer_get_type ())
G_DECLARE_DERIVABLE_TYPE(MatrixEventCallAnswer, matrix_event_call_answer, MATRIX_EVENT, CALL_ANSWER, MatrixEventCall)
struct _MatrixEventCallAnswerClass {
MatrixEventCallClass parent_class;
};
MatrixEventCallAnswer* matrix_event_call_answer_new (void);
MatrixCallAnswerType matrix_event_call_answer_get_answer_type (MatrixEventCallAnswer *event);
void matrix_event_call_answer_set_answer_type (MatrixEventCallAnswer *event, MatrixCallAnswerType answer_type);
const gchar* matrix_event_call_answer_get_answer_sdp (MatrixEventCallAnswer *event);
void matrix_event_call_answer_set_answer_sdp (MatrixEventCallAnswer *event, const gchar *answer_sdp);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_EVENT_CALL_ANSWER_H__ */

View File

@ -1,311 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-call-base.h"
#include "matrix-types.h"
#include "matrix-enumtypes.h"
/**
* SECTION:matrix-event-call-base
* @short_description: Abstract base class for call related events
*
* Base class for m.call.* events.
*/
enum {
PROP_0,
PROP_CALL_ID,
PROP_VERSION,
NUM_PROPERTIES
};
static GParamSpec *matrix_event_call_properties[NUM_PROPERTIES];
typedef struct {
gchar *call_id;
gint _version;
} MatrixEventCallPrivate;
/**
* MatrixEventCall:
*
* Object structure.
*/
G_DEFINE_TYPE_WITH_PRIVATE(MatrixEventCall, matrix_event_call, MATRIX_EVENT_TYPE_ROOM);
static void
matrix_event_call_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventCallPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
JsonNode *node;
g_return_if_fail(json_data != NULL);
priv = matrix_event_call_get_instance_private(MATRIX_EVENT_CALL(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
if ((node = json_object_get_member(content_root, "call_id")) != NULL) {
g_free(priv->call_id);
priv->call_id = g_strdup(json_node_get_string(node));
} else {
g_warning("content.call_id is missing from a m.call.* event");
}
if ((node = json_object_get_member(content_root, "version")) != NULL) {
priv->_version = json_node_get_int(node);
} else {
g_warning("content.version is missing from a m.call.* event");
}
MATRIX_EVENT_BASE_CLASS(matrix_event_call_parent_class)->from_json(matrix_event_base, json_data, error);
}
static void
matrix_event_call_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventCallPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
g_return_if_fail(json_data != NULL);
priv = matrix_event_call_get_instance_private(MATRIX_EVENT_CALL(matrix_event_base));
if (priv->call_id == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.hangup event without call_id");
return;
}
if (priv->_version < 0) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.hangup event without version");
return;
}
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
json_object_set_string_member(content_root, "call_id", priv->call_id);
json_object_set_int_member(content_root, "version", priv->_version);
MATRIX_EVENT_BASE_CLASS(matrix_event_call_parent_class)->to_json(matrix_event_base, json_data, error);
}
/**
* matrix_event_call_construct:
* @object_type: the #GType of the object to be created
*
* Returns: (transfer full): a new instance of @object_type
*/
MatrixEventCall *
matrix_event_call_construct(GType object_type)
{
return (MatrixEventCall *)matrix_event_room_construct(object_type);
}
/**
* matrix_event_call_get_call_id:
* @event: a #MatrixEventCall
*
* Get the identifier of the call.
*
* The value returned is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): the call ID
*/
const gchar *
matrix_event_call_get_call_id(MatrixEventCall *matrix_event_call)
{
MatrixEventCallPrivate *priv;
g_return_val_if_fail(matrix_event_call != NULL, NULL);
priv = matrix_event_call_get_instance_private(matrix_event_call);
return priv->call_id;
}
/**
* matrix_event_call_set_call_id:
* @event: a #MatrixEventCall
* @call_id: a call identifier
*
* Set the identifier of the call represented by @event.
*/
void
matrix_event_call_set_call_id(MatrixEventCall *matrix_event_call, const gchar *call_id)
{
MatrixEventCallPrivate *priv;
g_return_if_fail(matrix_event_call != NULL);
priv = matrix_event_call_get_instance_private(matrix_event_call);
if (g_strcmp0(call_id, priv->call_id) != 0) {
g_free(priv->call_id);
priv->call_id = g_strdup(call_id);
g_object_notify_by_pspec((GObject *)matrix_event_call, matrix_event_call_properties[PROP_CALL_ID]);
}
}
/**
* matrix_event_call_get_version:
* @event: a #MatrixEventCall
*
* Get the version of the call.
*
* Returns: the call version
*/
gint
matrix_event_call_get_version(MatrixEventCall *matrix_event_call)
{
MatrixEventCallPrivate *priv;
g_return_val_if_fail(matrix_event_call != NULL, 0);
priv = matrix_event_call_get_instance_private(matrix_event_call);
return priv->_version;
}
/**
* matrix_event_call_set_version:
* @event: a #MatrixEventCall
* @version: a call version
*
* Set the version of the call.
*/
void
matrix_event_call_set_version(MatrixEventCall *matrix_event_call, gint version)
{
MatrixEventCallPrivate *priv;
g_return_if_fail(matrix_event_call != NULL);
priv = matrix_event_call_get_instance_private(matrix_event_call);
if (priv->_version != version) {
priv->_version = version;
g_object_notify_by_pspec((GObject *)matrix_event_call, matrix_event_call_properties[PROP_VERSION]);
}
}
static void
matrix_event_call_finalize(GObject *gobject)
{
MatrixEventCallPrivate *priv = matrix_event_call_get_instance_private(MATRIX_EVENT_CALL(gobject));
g_free(priv->call_id);
G_OBJECT_CLASS(matrix_event_call_parent_class)->finalize(gobject);
}
static void
matrix_event_call_get_property(GObject *gobject, guint property_id, GValue *value, GParamSpec *pspec)
{
MatrixEventCall *matrix_event_call = MATRIX_EVENT_CALL(gobject);
switch (property_id) {
case PROP_CALL_ID:
g_value_set_string(value, matrix_event_call_get_call_id(matrix_event_call));
break;
case PROP_VERSION:
g_value_set_int(value, matrix_event_call_get_version(matrix_event_call));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_call_set_property(GObject *gobject, guint property_id, const GValue *value, GParamSpec *pspec)
{
MatrixEventCall *matrix_event_call = MATRIX_EVENT_CALL(gobject);
switch (property_id) {
case PROP_CALL_ID:
matrix_event_call_set_call_id(matrix_event_call, g_value_get_string(value));
break;
case PROP_VERSION:
matrix_event_call_set_version(matrix_event_call, g_value_get_int(value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_call_class_init(MatrixEventCallClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_call_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_call_real_to_json;
G_OBJECT_CLASS(klass)->get_property = matrix_event_call_get_property;
G_OBJECT_CLASS(klass)->set_property = matrix_event_call_set_property;
G_OBJECT_CLASS(klass)->finalize = matrix_event_call_finalize;
/**
* MatrixEventCall:call-id:
*
* The ID of the call this event relates to.
*/
matrix_event_call_properties[PROP_CALL_ID] = g_param_spec_string(
"call-id", "call-id", "call-id",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_CALL_ID, matrix_event_call_properties[PROP_CALL_ID]);
/**
* MatrixEventCall:version:
*
* The version of the VoIP specification this message adheres to.
*/
matrix_event_call_properties[PROP_VERSION] = g_param_spec_int(
"version", "version", "version",
-1, G_MAXINT, -1,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_VERSION, matrix_event_call_properties[PROP_VERSION]);
}
static void
matrix_event_call_init(MatrixEventCall *matrix_event_call)
{
MatrixEventCallPrivate *priv = matrix_event_call_get_instance_private(matrix_event_call);
priv->call_id = NULL;
priv->_version = -1;
}

View File

@ -1,55 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_CALL_BASE_H__
# define __MATRIX_GLIB_SDK_EVENT_CALL_BASE_H__
# include <glib-object.h>
# include "matrix-event-room-base.h"
G_BEGIN_DECLS
# define MATRIX_EVENT_TYPE_CALL (matrix_event_call_get_type ())
# define MATRIX_EVENT_CALL(o) (G_TYPE_CHECK_INSTANCE_CAST((o), MATRIX_EVENT_TYPE_CALL, MatrixEventCall))
# define MATRIX_EVENT_CALL_CLASS(c) (G_TYPE_CHECK_CLASS_CAST((c), MATRIX_EVENT_TYPE_CALL, MatrixEventCallClass))
# define MATRIX_EVENT_IS_CALL(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), MATRIX_EVENT_TYPE_CALL))
# define MATRIX_EVENT_IS_CALL_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE((c), MATRIX_EVENT_TYPE_CALL))
# define MATRIX_EVENT_CALL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), MATRIX_EVENT_TYPE_CALL, MatrixEventCallClass))
typedef struct _MatrixEventCall MatrixEventCall;
typedef struct _MatrixEventCallClass MatrixEventCallClass;
G_DEFINE_AUTOPTR_CLEANUP_FUNC(MatrixEventCall, g_object_unref)
struct _MatrixEventCall {
MatrixEventRoom parent_instance;
};
struct _MatrixEventCallClass {
MatrixEventRoomClass parent_class;
};
GType matrix_event_call_get_type (void) G_GNUC_CONST;
MatrixEventCall* matrix_event_call_construct (GType object_type);
const gchar *matrix_event_call_get_call_id (MatrixEventCall *event);
void matrix_event_call_set_call_id (MatrixEventCall *event, const gchar *call_id);
gint matrix_event_call_get_version (MatrixEventCall *event);
void matrix_event_call_set_version (MatrixEventCall *event, gint version);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_EVENT_CALL_BASE_H__ */

View File

@ -1,497 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-call-candidates.h"
#include "matrix-types.h"
#include "matrix-enumtypes.h"
/**
* SECTION:matrix-event-call-candidates
* @short_description: Event to represent call candidates
*
*/
struct _MatrixCallCandidate {
gchar *sdp_mid; /// The SDP media type this candidate is intended for.
gint *sdp_line_index; /// The index of the SDP 'm' line this candidate is intended for.
gchar *candidate; /// The SDP 'a' line of the candidate.
guint refcount;
};
/**
* MatrixCallCandidate:
*
* An opaque data structure to represent a call candidate.
*/
G_DEFINE_BOXED_TYPE(MatrixCallCandidate, matrix_call_candidate, (GBoxedCopyFunc)matrix_call_candidate_unref, (GBoxedFreeFunc)matrix_call_candidate_unref);
/**
* matrix_call_candidate_new:
*
* Create a new #MatrixCallCandidate object with a reference count of 1.
*
* Returns: (transfer full): a new #MatrixCallCandidate object
*/
MatrixCallCandidate *
matrix_call_candidate_new(void)
{
MatrixCallCandidate *ret;
ret = g_new0(MatrixCallCandidate, 1);
ret->refcount = 1;
return ret;
}
/**
* matrix_call_candidate_ref:
* @candidate: a #MatrixCallCandidate
*
* Increment reference count on @candidate.
*
* Returns: (transfer full): the same object
*/
MatrixCallCandidate *
matrix_call_candidate_ref(MatrixCallCandidate *matrix_call_candidate)
{
g_return_val_if_fail(matrix_call_candidate != NULL, NULL);
matrix_call_candidate->refcount++;
return matrix_call_candidate;
}
/**
* matrix_call_candidate_unref:
* @candidate: a #MatrixCallCandidate
*
* Decrement reference count on @candidate.
*
* If reference count reaches zero, @candidate gets freed.
*/
void
matrix_call_candidate_unref(MatrixCallCandidate *matrix_call_candidate)
{
g_return_if_fail(matrix_call_candidate != NULL);
g_free(matrix_call_candidate->sdp_mid);
g_free(matrix_call_candidate->candidate);
g_free(matrix_call_candidate);
}
/**
* matrix_call_candidate_get_sdp_mid:
* @candidate: a #MatrixCallCandidate
*
* Get the SDP mid of @candidate.
*
* Returns: (transfer none) (nullable): the SDP mid
*/
const gchar *
matrix_call_candidate_get_sdp_mid(MatrixCallCandidate *matrix_call_candidate)
{
g_return_val_if_fail(matrix_call_candidate != NULL, NULL);
return matrix_call_candidate->sdp_mid;
}
/**
* matrix_call_candidate_set_sdp_mid:
* @candidate: a #MatrixCallCandidate
* @sdp_mid: an SDP mid
*
* Set the SDP mid for @candidate.
*/
void
matrix_call_candidate_set_sdp_mid(MatrixCallCandidate *matrix_call_candidate, const gchar *sdp_mid)
{
g_return_if_fail(matrix_call_candidate);
g_free(matrix_call_candidate->sdp_mid);
matrix_call_candidate->sdp_mid = g_strdup(sdp_mid);
}
/**
* matrix_call_candidate_get_sdp_line_index:
* @candidate: a #MatrixCallCandidate
*
* Get the SDP line of @candidate.
*
* The value returned is owned by @candidate and should not be freed.
*
* Returns: (transfer none) (nullable): the SDP line
*/
gint *
matrix_call_candidate_get_sdp_line_index(MatrixCallCandidate *matrix_call_candidate)
{
g_return_val_if_fail(matrix_call_candidate != NULL, 0);
return matrix_call_candidate->sdp_line_index;
}
/**
* matrix_call_candidate_set_sdp_line_index:
* @candidate: a #MatrixCallCandidate
* @sdp_line_index: (nullable) (transfer none): an SDP line index
*
* Set the SDP line index of @candidate.
*/
void
matrix_call_candidate_set_sdp_line_index(MatrixCallCandidate *matrix_call_candidate, gint *sdp_line_index)
{
g_return_if_fail(matrix_call_candidate != NULL);
matrix_call_candidate->sdp_line_index = (g_free(matrix_call_candidate->sdp_line_index), NULL);
if (sdp_line_index != NULL) {
matrix_call_candidate->sdp_line_index = g_new0(gint, 1);
*(matrix_call_candidate->sdp_line_index) = *sdp_line_index;
}
}
/**
* matrix_call_candidate_get_candidate:
* @candidate: a #MatrixCallCandidate
*
* Get the call candidate from @candidate.
*
* The returned value is owned by @candidate and should not be freed.
*
* Returns: (transfer none) (nullable): the candidate name
*/
const gchar *
matrix_call_candidate_get_candidate(MatrixCallCandidate *matrix_call_candidate)
{
g_return_val_if_fail(matrix_call_candidate != NULL, NULL);
return matrix_call_candidate->candidate;
}
/**
* matrix_call_candidate_set_candidate:
* @candidate: a #MatrixCallCandidate
* @candidate_name: (transfer none) (nullable): the name of the candidate
*
* Set the name of the call candidate.
*/
void
matrix_call_candidate_set_candidate(MatrixCallCandidate *matrix_call_candidate, const gchar *candidate)
{
g_return_if_fail(matrix_call_candidate != NULL);
g_free(matrix_call_candidate->candidate);
matrix_call_candidate->candidate = g_strdup(candidate);
}
enum {
PROP_0,
PROP_CANDIDATES,
NUM_PROPS
};
static GParamSpec *matrix_event_call_candidates_properties[NUM_PROPS];
typedef struct {
MatrixCallCandidate** _candidates;
gint _candidates_len;
} MatrixEventCallCandidatesPrivate;
/**
* MatrixEventCallCandidates:
*
* This event is sent by callers after sending an invite and by the callee after answering.
* Its purpose is to give the other party additional ICE candidates to try using to communicate.
*/
G_DEFINE_TYPE_WITH_PRIVATE(MatrixEventCallCandidates, matrix_event_call_candidates, MATRIX_EVENT_TYPE_CALL);
static void
matrix_event_call_candidates_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventCallCandidatesPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
JsonNode *node;
g_return_if_fail(json_data != NULL);
priv = matrix_event_call_candidates_get_instance_private(MATRIX_EVENT_CALL_CANDIDATES(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
if ((node = json_object_get_member(content_root, "candidates")) != NULL) {
JsonArray *candidates = json_node_get_array(node);
gint len = json_array_get_length(candidates);
priv->_candidates = g_new(MatrixCallCandidate *, len);
for (gint i = 0; i < len; i++) {
JsonNode *cand_node = json_array_get_element(candidates, i);
JsonObject *cand_root = json_node_get_object(cand_node);
priv->_candidates[i] = matrix_call_candidate_new();
if ((node = json_object_get_member(cand_root, "sdpMid")) != NULL) {
priv->_candidates[i]->sdp_mid = g_strdup(json_node_get_string(node));
} else {
g_warning("sdpMid is missing from a candidate of a m.call.candidates event");
}
if ((node = json_object_get_member(cand_root, "sdpMLineIndex")) != NULL) {
gint line_index = json_node_get_int(node);
matrix_call_candidate_set_sdp_line_index(priv->_candidates[i], &line_index);
} else {
g_warning("sdpMLineIndex is missing from a candidate of a m.call.candidates event");
}
if ((node = json_object_get_member(cand_root, "candidate")) != NULL) {
priv->_candidates[i]->candidate = g_strdup(json_node_get_string(node));
} else {
g_warning("candidate is missing from a candidate of a m.call.candidates event");
}
};
} else {
g_warning("content.candidates is missing from a m.call.candidates event");
}
MATRIX_EVENT_BASE_CLASS(matrix_event_call_candidates_parent_class)->from_json(matrix_event_base, json_data, error);
}
static void
matrix_event_call_candidates_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventCallCandidatesPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonArray *cands;
JsonNode *content_node;
JsonNode *cands_node;
g_return_if_fail(json_data != NULL);
priv = matrix_event_call_candidates_get_instance_private(MATRIX_EVENT_CALL_CANDIDATES(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
if (priv->_candidates_len < 1) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.candidates event without candidates");
return;
}
cands = json_array_new();
cands_node = json_node_new(JSON_NODE_ARRAY);
json_node_set_array(cands_node, cands);
json_object_set_member(content_root, "candidates", cands_node);
for (gint i = 0; i < priv->_candidates_len; i++) {
MatrixCallCandidate *entry = priv->_candidates[i];
JsonObject *cand_root;
JsonNode *cand_node;
if (entry->sdp_mid == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.candidates event with a missing sdpMid for candidates");
return;
}
if (entry->candidate == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.candidates event with a missing candidate for candidates");
return;
}
cand_root = json_object_new();
cand_node = json_node_new(JSON_NODE_OBJECT);
json_node_set_object(cand_node, cand_root);
json_object_set_string_member(cand_root, "sdpMid", entry->sdp_mid);
json_object_set_string_member(cand_root, "candidate", entry->candidate);
if (entry->sdp_line_index != NULL) {
json_object_set_int_member(cand_root, "sdpMLineIndex", *(entry->sdp_line_index));
}
json_array_add_element(cands, cand_node);
}
if (json_array_get_length(cands) < 1) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.candidates event with empty candidates list");
return;
}
MATRIX_EVENT_BASE_CLASS(matrix_event_call_candidates_parent_class)->to_json(matrix_event_base, json_data, error);
}
/**
* matrix_event_call_candidates_new:
*
* Create a new #MatrixEventCallCandidates object.
*
* Returns: (transfer full): a new #MatrixEventCallCandidates object
*/
MatrixEventCallCandidates *
matrix_event_call_candidates_new(void)
{
return (MatrixEventCallCandidates *)matrix_event_call_construct(MATRIX_EVENT_TYPE_CALL_CANDIDATES);
}
/**
* matrix_event_call_candidates_get_candidates:
* @event: a #MatrixEventCallCandidates:
* @n_candidates: (nullable): placeholder for the length of the list, or %NULL to ignore
*
* Get the list of the candidates from @event.
*
* The returned value is owned by @event, and should not be freed.
*
* Returns: (transfer none) (nullable): the list of candidates
*/
MatrixCallCandidate **
matrix_event_call_candidates_get_candidates(MatrixEventCallCandidates *matrix_event_call_candidates, int *n_candidates)
{
MatrixEventCallCandidatesPrivate *priv;
g_return_val_if_fail(matrix_event_call_candidates != NULL, NULL);
priv = matrix_event_call_candidates_get_instance_private(matrix_event_call_candidates);
if (n_candidates != NULL) {
*n_candidates = priv->_candidates_len;
}
return priv->_candidates;
}
/**
* matrix_event_call_candidates_set_candidates:
* @event: a #MatrixEventCallCandidates
* @candidates: a list of #MatrixCallCandidate objects
* @n_candidates: the number of elements in @candidates
*
* Set the list of call candidates in @event.
*/
void
matrix_event_call_candidates_set_candidates(MatrixEventCallCandidates *matrix_event_call_candidates, MatrixCallCandidate **candidates, int n_candidates)
{
MatrixEventCallCandidatesPrivate *priv;
g_return_if_fail(matrix_event_call_candidates != NULL);
priv = matrix_event_call_candidates_get_instance_private(matrix_event_call_candidates);
for (gint i = 0; i < priv->_candidates_len; i++) {
matrix_call_candidate_unref(priv->_candidates[i]);
}
g_free(priv->_candidates);
priv->_candidates = (MatrixCallCandidate **)g_new(MatrixCallCandidate, n_candidates);
priv->_candidates_len = n_candidates;
for (gint i = 0; i < n_candidates; i++) {
priv->_candidates[i] = matrix_call_candidate_ref(candidates[i]);
}
}
static void
matrix_event_call_candidates_finalize(GObject *gobject)
{
MatrixEventCallCandidatesPrivate *priv = matrix_event_call_candidates_get_instance_private(MATRIX_EVENT_CALL_CANDIDATES(gobject));
for (gint i = 0; i < priv->_candidates_len; i++) {
matrix_call_candidate_unref(priv->_candidates[i]);
}
g_free(priv->_candidates);
G_OBJECT_CLASS(matrix_event_call_candidates_parent_class)->finalize(gobject);
}
static void
matrix_event_call_candidates_get_property(GObject *gobject, guint property_id, GValue *value, GParamSpec *pspec)
{
MatrixEventCallCandidates *matrix_event_call_candidates = MATRIX_EVENT_CALL_CANDIDATES(gobject);
switch (property_id) {
case PROP_CANDIDATES:
g_value_set_boxed(value, matrix_event_call_candidates_get_candidates(matrix_event_call_candidates, NULL));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_call_candidates_set_property(GObject *gobject, guint property_id, const GValue *value, GParamSpec *pspec)
{
MatrixEventCallCandidates *matrix_event_call_candidates = MATRIX_EVENT_CALL_CANDIDATES(gobject);
switch (property_id) {
case PROP_CANDIDATES:
{
gpointer boxed = g_value_get_boxed(value);
matrix_event_call_candidates_set_candidates(matrix_event_call_candidates, g_value_get_boxed(value), (boxed == NULL) ? 0 : g_strv_length(boxed));
}
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_call_candidates_class_init(MatrixEventCallCandidatesClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_call_candidates_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_call_candidates_real_to_json;
G_OBJECT_CLASS(klass)->get_property = matrix_event_call_candidates_get_property;
G_OBJECT_CLASS(klass)->set_property = matrix_event_call_candidates_set_property;
G_OBJECT_CLASS(klass)->finalize = matrix_event_call_candidates_finalize;
/**
* MatrixEventCallCandidates:candidates:
*
* The list of call candidates.
*/
matrix_event_call_candidates_properties[PROP_CANDIDATES] = g_param_spec_boxed(
"candidates", "candidates", "candidates",
MATRIX_TYPE_CALL_CANDIDATE,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_CANDIDATES, matrix_event_call_candidates_properties[PROP_CANDIDATES]);
}
static void
matrix_event_call_candidates_init(MatrixEventCallCandidates *matrix_event_call_candidates)
{
MatrixEventCallCandidatesPrivate *priv = matrix_event_call_candidates_get_instance_private(matrix_event_call_candidates);
priv->_candidates = NULL;
}

View File

@ -1,55 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_CALL_CANDIDATES_H__
# define __MATRIX_GLIB_SDK_EVENT_CALL_CANDIDATES_H__
# include <glib-object.h>
# include "matrix-event-call-base.h"
G_BEGIN_DECLS
# define MATRIX_TYPE_CALL_CANDIDATE matrix_call_candidate_get_type()
typedef struct _MatrixCallCandidate MatrixCallCandidate;
GType matrix_call_candidate_get_type(void) G_GNUC_CONST;
MatrixCallCandidate *matrix_call_candidate_new(void);
MatrixCallCandidate *matrix_call_candidate_ref(MatrixCallCandidate *candidate);
void matrix_call_candidate_unref(MatrixCallCandidate *candidate);
const gchar *matrix_call_candidate_get_sdp_mid(MatrixCallCandidate *candidate);
void matrix_call_candidate_set_sdp_mid(MatrixCallCandidate *candidate, const gchar *sdp_mid);
gint *matrix_call_candidate_get_sdp_line_index(MatrixCallCandidate *candidate);
void matrix_call_candidate_set_sdp_line_index(MatrixCallCandidate *candidate, gint *sdp_line_index);
const gchar *matrix_call_candidate_get_candidate(MatrixCallCandidate *candidate);
void matrix_call_candidate_set_candidate(MatrixCallCandidate *candidate, const gchar *candidate_name);
#define MATRIX_EVENT_TYPE_CALL_CANDIDATES (matrix_event_call_candidates_get_type ())
G_DECLARE_DERIVABLE_TYPE(MatrixEventCallCandidates, matrix_event_call_candidates, MATRIX_EVENT, CALL_CANDIDATES, MatrixEventCall)
struct _MatrixEventCallCandidatesClass {
MatrixEventCallClass parent_class;
};
MatrixEventCallCandidates* matrix_event_call_candidates_new (void);
MatrixCallCandidate* matrix_event_call_candidates_candidate_dup (const MatrixCallCandidate *event);
MatrixCallCandidate** matrix_event_call_candidates_get_candidates (MatrixEventCallCandidates *event, int *n_candidates);
void matrix_event_call_candidates_set_candidates (MatrixEventCallCandidates *event, MatrixCallCandidate **candidates, int n_candidates);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_EVENT_CALL_CANDIDATES_H__ */

View File

@ -1,73 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-call-hangup.h"
/**
* SECTION:matrix-event-call-hangup
* @short_description: event to signal that a calling party has hung up the line
*
* This event is sent by either party to signal their termination of the call. This can be
* sent either once the call has has been established or before to abort the call.
*/
/**
* MatrixEventCallHangup:
*
*/
G_DEFINE_TYPE(MatrixEventCallHangup, matrix_event_call_hangup, MATRIX_EVENT_TYPE_CALL);
static void
matrix_event_call_hangup_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
g_return_if_fail(json_data != NULL);
MATRIX_EVENT_BASE_CLASS(matrix_event_call_hangup_parent_class)->from_json(matrix_event_base, json_data, error);
}
static void
matrix_event_call_hangup_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
g_return_if_fail(json_data != NULL);
MATRIX_EVENT_BASE_CLASS(matrix_event_call_hangup_parent_class)->to_json(matrix_event_base, json_data, error);
}
/**
* matrix_event_call_hangup_new:
*
* Create a new #MatrixEventCallHangup object.
*
* Returns: (transfer full): a new #MatrixEventCallHangup object
*/
MatrixEventCallHangup *
matrix_event_call_hangup_new(void)
{
return (MatrixEventCallHangup *)matrix_event_call_construct(MATRIX_EVENT_TYPE_CALL_HANGUP);
}
static void
matrix_event_call_hangup_class_init(MatrixEventCallHangupClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_call_hangup_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_call_hangup_real_to_json;
}
static void
matrix_event_call_hangup_init(MatrixEventCallHangup *matrix_event_call_hangup)
{}

View File

@ -1,38 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_CALL_HANGUP_H__
# define __MATRIX_GLIB_SDK_EVENT_CALL_HANGUP_H__
# include <glib-object.h>
# include "matrix-event-call-base.h"
G_BEGIN_DECLS
# define MATRIX_EVENT_TYPE_CALL_HANGUP matrix_event_call_hangup_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixEventCallHangup, matrix_event_call_hangup, MATRIX_EVENT, CALL_HANGUP, MatrixEventCall)
struct _MatrixEventCallHangupClass {
MatrixEventCallClass parent_class;
};
MatrixEventCallHangup* matrix_event_call_hangup_new (void);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_EVENT_CALL_HANGUP_H__ */

View File

@ -1,420 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-call-invite.h"
#include "utils.h"
#include "config.h"
#include "matrix-enumtypes.h"
/**
* SECTION:matrix-event-call-invite
* @short_description: event to signal a call request
*
* This event is sent by the caller when they wish to establish a call.
*/
enum {
PROP_0,
PROP_OFFER_TYPE,
PROP_SDP,
PROP_LIFETIME,
NUM_PROPERTIES
};
static GParamSpec *matrix_event_call_invite_properties[NUM_PROPERTIES];
typedef struct {
MatrixCallOfferType _offer_type;
gchar* _sdp;
gint _lifetime;
} MatrixEventCallInvitePrivate;
/**
* MatrixEventCallInvite:
*/
G_DEFINE_TYPE_WITH_PRIVATE(MatrixEventCallInvite, matrix_event_call_invite, MATRIX_EVENT_TYPE_CALL);
static void
matrix_event_call_invite_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventCallInvitePrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
JsonNode *node;
g_return_if_fail (json_data != NULL);
priv = matrix_event_call_invite_get_instance_private(MATRIX_EVENT_CALL_INVITE(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
if ((node = json_object_get_member(content_root, "offer")) != NULL) {
JsonObject *offer_root = json_node_get_object(node);
if ((node = json_object_get_member(offer_root, "type")) != NULL) {
GError *inner_error = NULL;
MatrixCallOfferType offer_type = _matrix_g_enum_nick_to_value(MATRIX_TYPE_CALL_OFFER_TYPE, json_node_get_string(node), &inner_error);
if (inner_error != NULL) {
priv->_offer_type = MATRIX_CALL_OFFER_TYPE_UNKNOWN;
#ifdef DEBUG
g_warning("Unknown value %s in content.offer.type of a m.call.invite event", json_node_get_string(node));
#endif
} else {
priv->_offer_type = offer_type;
}
} else {
g_warning("content.offer.type is missing from a m.call.invite event");
}
if ((node = json_object_get_member(offer_root, "sdp")) != NULL) {
g_free(priv->_sdp);
priv->_sdp = g_strdup(json_node_get_string(node));
} else {
g_warning("content.offer.sdp is missing from a m.call.invite event");
}
}
if ((node = json_object_get_member(content_root, "lifetime")) != NULL) {
priv->_lifetime = json_node_get_int(node);
} else {
g_warning("content.lifetime is missing from a m.call.invite event");
}
MATRIX_EVENT_BASE_CLASS(matrix_event_call_invite_parent_class)->from_json(matrix_event_base, json_data, error);
}
static void
matrix_event_call_invite_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventCallInvitePrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonObject *offer_root;
JsonNode *content_node;
JsonNode *offer_node;
gchar *offer_type;
g_return_if_fail(json_data != NULL);
priv = matrix_event_call_invite_get_instance_private(MATRIX_EVENT_CALL_INVITE(matrix_event_base));
if (priv->_offer_type == MATRIX_CALL_OFFER_TYPE_UNKNOWN) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.invite without a valid offer.type");
return;
}
if (priv->_sdp == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.invite without offer.sdp");
return;
}
if (priv->_lifetime < 0) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.call.invite without lifetime");
return;
}
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
json_object_set_int_member(content_root, "lifetime", priv->_lifetime);
offer_root = json_object_new();
offer_node = json_node_new(JSON_NODE_OBJECT);
json_node_set_object(offer_node, offer_root);
offer_type = _matrix_g_enum_to_string(MATRIX_TYPE_CALL_OFFER_TYPE, priv->_offer_type, '_');
json_object_set_string_member(offer_root, "type", offer_type);
g_free(offer_type);
json_object_set_string_member(offer_root, "sdp", priv->_sdp);
json_object_set_member(content_root, "offer", offer_node);
MATRIX_EVENT_BASE_CLASS(matrix_event_call_invite_parent_class)->to_json(matrix_event_base, json_data, error);
}
/**
* matrix_event_call_invite_new:
*
* Create a new #MatrixEventCallInvite object.
*
* Returns: (transfer full): a new #MatrixEventCallInvite object
*/
MatrixEventCallInvite *
matrix_event_call_invite_new(void) {
return (MatrixEventCallInvite *)matrix_event_call_construct(MATRIX_EVENT_TYPE_CALL_INVITE);
}
/**
* matrix_event_call_invite_get_offer_type:
* @event: a #MatrixEventCallInvite
*
* Get the offer type of @event.
*
* Returns: the call offer type
*/
MatrixCallOfferType
matrix_event_call_invite_get_offer_type(MatrixEventCallInvite *matrix_event_call_invite)
{
MatrixEventCallInvitePrivate *priv;
g_return_val_if_fail(matrix_event_call_invite != NULL, 0);
priv = matrix_event_call_invite_get_instance_private(matrix_event_call_invite);
return priv->_offer_type;
}
/**
* matrix_event_call_invite_set_offer_type:
* @event: a #MatrixEventCallInvite
* @offer_type: the type of the call offer
*
* Set the offer type of the call in @event.
*/
void
matrix_event_call_invite_set_offer_type(MatrixEventCallInvite *matrix_event_call_invite, MatrixCallOfferType offer_type)
{
MatrixEventCallInvitePrivate *priv;
g_return_if_fail(matrix_event_call_invite != NULL);
priv = matrix_event_call_invite_get_instance_private(matrix_event_call_invite);
if (priv->_offer_type != offer_type) {
priv->_offer_type = offer_type;
g_object_notify_by_pspec((GObject *)matrix_event_call_invite, matrix_event_call_invite_properties[PROP_OFFER_TYPE]);
}
}
/**
* matrix_event_call_invite_get_sdp:
* @event: a #MatrixEventCallInvite
*
* Get the SDP line of the call.
*
* The returned value is owned by @event and should not by freed.
*.
* Returns: (transfer none): the SDP line of the call
*/
const gchar *
matrix_event_call_invite_get_sdp(MatrixEventCallInvite *matrix_event_call_invite)
{
MatrixEventCallInvitePrivate *priv;
g_return_val_if_fail(matrix_event_call_invite != NULL, NULL);
priv = matrix_event_call_invite_get_instance_private(matrix_event_call_invite);
return priv->_sdp;
}
/**
* matrix_event_call_invite_set_sdp:
* @event: a #MatrixEventCallInvite
* @sdp: an SDP line
*
* Set the SDP line ID of the call.
*/
void
matrix_event_call_invite_set_sdp(MatrixEventCallInvite *matrix_event_call_invite, const gchar *sdp)
{
MatrixEventCallInvitePrivate *priv;
g_return_if_fail(matrix_event_call_invite != NULL);
priv = matrix_event_call_invite_get_instance_private(matrix_event_call_invite);
if (g_strcmp0(sdp, priv->_sdp) != 0) {
g_free(priv->_sdp);
priv->_sdp = g_strdup(sdp);
g_object_notify_by_pspec((GObject *)matrix_event_call_invite, matrix_event_call_invite_properties[PROP_SDP]);
}
}
/**
* matrix_event_call_invite_get_lifetime:
* @event: a #MatrixEventCallInvite
*
* Get the lifetime of the call in @event.
*
* Returns: the lifetime, in milliseconds.
*/
gint
matrix_event_call_invite_get_lifetime(MatrixEventCallInvite *matrix_event_call_invite)
{
MatrixEventCallInvitePrivate *priv;
g_return_val_if_fail(matrix_event_call_invite != NULL, 0);
priv = matrix_event_call_invite_get_instance_private(matrix_event_call_invite);
return priv->_lifetime;
}
/**
* matrix_event_call_invite_set_lifetime:
* @event: a #MatrixEventCallInvite
* @lifetime: the lifetime of @event
*
* Set the lifetime of @event, in milliseconds.
*/
void
matrix_event_call_invite_set_lifetime(MatrixEventCallInvite *matrix_event_call_invite, gint lifetime)
{
MatrixEventCallInvitePrivate *priv;
g_return_if_fail(matrix_event_call_invite != NULL);
priv = matrix_event_call_invite_get_instance_private(matrix_event_call_invite);
if (priv->_lifetime != lifetime) {
priv->_lifetime = lifetime;
g_object_notify_by_pspec((GObject *)matrix_event_call_invite, matrix_event_call_invite_properties[PROP_LIFETIME]);
}
}
static void
matrix_event_call_invite_finalize(GObject *gobject)
{
MatrixEventCallInvitePrivate *priv = matrix_event_call_invite_get_instance_private(MATRIX_EVENT_CALL_INVITE(gobject));
g_free(priv->_sdp);
G_OBJECT_CLASS(matrix_event_call_invite_parent_class)->finalize(gobject);
}
static void
matrix_event_call_invite_get_property(GObject *gobject, guint property_id, GValue *value, GParamSpec *pspec)
{
MatrixEventCallInvite *matrix_event_call_invite = MATRIX_EVENT_CALL_INVITE(gobject);
switch (property_id) {
case PROP_OFFER_TYPE:
g_value_set_enum(value, matrix_event_call_invite_get_offer_type(matrix_event_call_invite));
break;
case PROP_SDP:
g_value_set_string(value, matrix_event_call_invite_get_sdp(matrix_event_call_invite));
break;
case PROP_LIFETIME:
g_value_set_int(value, matrix_event_call_invite_get_lifetime(matrix_event_call_invite));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_call_invite_set_property(GObject *gobject, guint property_id, const GValue *value, GParamSpec *pspec)
{
MatrixEventCallInvite *matrix_event_call_invite = MATRIX_EVENT_CALL_INVITE(gobject);
switch (property_id) {
case PROP_OFFER_TYPE:
matrix_event_call_invite_set_offer_type(matrix_event_call_invite, g_value_get_enum(value));
break;
case PROP_SDP:
matrix_event_call_invite_set_sdp(matrix_event_call_invite, g_value_get_string(value));
break;
case PROP_LIFETIME:
matrix_event_call_invite_set_lifetime(matrix_event_call_invite, g_value_get_int(value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_call_invite_class_init(MatrixEventCallInviteClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_call_invite_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_call_invite_real_to_json;
G_OBJECT_CLASS (klass)->get_property = matrix_event_call_invite_get_property;
G_OBJECT_CLASS (klass)->set_property = matrix_event_call_invite_set_property;
G_OBJECT_CLASS (klass)->finalize = matrix_event_call_invite_finalize;
/**
* MatrixEventCallInvite:offer-type:
*
* The type of session description.
*/
matrix_event_call_invite_properties[PROP_OFFER_TYPE] = g_param_spec_enum(
"offer-type", "offer-type", "offer-type",
MATRIX_TYPE_CALL_OFFER_TYPE, MATRIX_CALL_OFFER_TYPE_UNKNOWN,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_OFFER_TYPE, matrix_event_call_invite_properties[PROP_OFFER_TYPE]);
/**
* MatrixEventCallInvite:sdp:
*
* The SDP text of the session description.
*/
matrix_event_call_invite_properties[PROP_SDP] = g_param_spec_string(
"sdp", "sdp", "sdp",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_SDP, matrix_event_call_invite_properties[PROP_SDP]);
/**
* MatrixEventCallInvite:lifetime:
*
* The time in milliseconds that the invite is valid for. Once the invite age exceeds this
* value, clients should discard it. They should also no longer show the call as awaiting
* an answer in the UI.
*/
matrix_event_call_invite_properties[PROP_LIFETIME] = g_param_spec_int(
"lifetime", "lifetime", "lifetime",
G_MININT, G_MAXINT, -1,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_LIFETIME, matrix_event_call_invite_properties[PROP_LIFETIME]);
}
static void
matrix_event_call_invite_init(MatrixEventCallInvite *matrix_event_call_invite)
{
MatrixEventCallInvitePrivate *priv = matrix_event_call_invite_get_instance_private(matrix_event_call_invite);
priv->_offer_type = MATRIX_CALL_OFFER_TYPE_UNKNOWN;
priv->_sdp = NULL;
priv->_lifetime = -1;
}

View File

@ -1,45 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_CALL_INVITE_H__
# define __MATRIX_GLIB_SDK_EVENT_CALL_INVITE_H__
# include <glib-object.h>
# include "matrix-event-call-base.h"
# include "matrix-types.h"
G_BEGIN_DECLS
#define MATRIX_EVENT_TYPE_CALL_INVITE (matrix_event_call_invite_get_type ())
G_DECLARE_DERIVABLE_TYPE(MatrixEventCallInvite, matrix_event_call_invite, MATRIX_EVENT, CALL_INVITE, MatrixEventCall)
struct _MatrixEventCallInviteClass {
MatrixEventCallClass parent_class;
};
MatrixEventCallInvite* matrix_event_call_invite_new (void);
MatrixCallOfferType matrix_event_call_invite_get_offer_type (MatrixEventCallInvite *event);
void matrix_event_call_invite_set_offer_type (MatrixEventCallInvite *event, MatrixCallOfferType offer_type);
const gchar* matrix_event_call_invite_get_sdp (MatrixEventCallInvite *event);
void matrix_event_call_invite_set_sdp (MatrixEventCallInvite *event, const gchar* sdp);
gint matrix_event_call_invite_get_lifetime (MatrixEventCallInvite *event);
void matrix_event_call_invite_set_lifetime (MatrixEventCallInvite *event, gint lifetime);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_EVENT_CALL_INVITE_H__ */

View File

@ -1,574 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-presence.h"
#include "matrix-event-room-base.h"
#include "matrix-enumtypes.h"
#include "config.h"
#include "utils.h"
/**
* SECTION:matrix-event-presence
* @short_description: event to inform the client of a userss presence change
*
* Informs the client of a user's presence state change.
*/
enum {
PROP_0,
PROP_AVATAR_URL,
PROP_DISPLAY_NAME,
PROP_LAST_ACTIVE_AGO,
PROP_USER_ID,
PROP_PRESENCE,
NUM_PROPS
};
static GParamSpec *matrix_event_presence_properties[NUM_PROPS];
typedef struct {
gchar *_avatar_url;
gchar *_display_name;
glong _last_active_ago;
gchar *_user_id;
gchar *_event_id;
MatrixPresence _presence;
} MatrixEventPresencePrivate;
/**
* MatrixEventPresence:
*/
G_DEFINE_TYPE_WITH_PRIVATE(MatrixEventPresence, matrix_event_presence, MATRIX_EVENT_TYPE_BASE);
static void
matrix_event_presence_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventPresencePrivate *priv;
JsonNode *content_node;
JsonNode *node;
JsonObject *root;
JsonObject *content_root;
GError *inner_error = NULL;
g_return_if_fail(json_data != NULL);
priv = matrix_event_presence_get_instance_private(MATRIX_EVENT_PRESENCE(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
if ((node = json_object_get_member(root, "event_id")) != NULL) {
g_free(priv->_event_id);
priv->_event_id = g_strdup(json_node_get_string(node));
} else if (DEBUG) {
g_warning("event_id is missing from a m.presence event");
}
if ((node = json_object_get_member(content_root, "user_id")) != NULL) {
g_free(priv->_user_id);
priv->_user_id = g_strdup(json_node_get_string(node));
} else if (DEBUG) {
g_warning("content.user_id is missing from the m.presence event");
// Workaround for having sender instead of content.user_id
// in most (room-dependent) presence events
if ((node = json_object_get_member(root, "sender")) != NULL) {
g_free(priv->_user_id);
priv->_user_id = g_strdup(json_node_get_string(node));
}
}
if ((node = json_object_get_member(content_root, "last_active_ago")) != NULL) {
priv->_last_active_ago = json_node_get_int(node);
}
if ((node = json_object_get_member(content_root, "avatar_url")) != NULL) {
g_free(priv->_avatar_url);
priv->_avatar_url = g_strdup(json_node_get_string(node));
}
if ((node = json_object_get_member(content_root, "displayname")) != NULL) {
g_free(priv->_display_name);
priv->_display_name = g_strdup(json_node_get_string(node));
}
if ((node = json_object_get_member(content_root, "presence")) != NULL) {
MatrixPresence presence;
presence = _matrix_g_enum_nick_to_value(MATRIX_TYPE_PRESENCE, json_node_get_string(node), &inner_error);
if (inner_error != NULL) {
g_clear_error(&inner_error);
priv->_presence = MATRIX_PRESENCE_UNKNOWN;
if (DEBUG) {
g_warning("Unknown value %s for content.presence in a m.presence event", json_node_get_string(node));
}
} else {
priv->_presence = presence;
}
} else if (DEBUG) {
g_warning("content.presence is missing from the m.presence event");
}
MATRIX_EVENT_BASE_CLASS(matrix_event_presence_parent_class)->from_json(matrix_event_base, json_data, &inner_error);
if ((inner_error != NULL)) {
g_propagate_error(error, inner_error);
}
}
static void
matrix_event_presence_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventPresencePrivate *priv;
JsonNode *content_node;
JsonObject *root;
JsonObject *content_root;
GError *inner_error = NULL;
g_return_if_fail(json_data != NULL);
priv = matrix_event_presence_get_instance_private(MATRIX_EVENT_PRESENCE(matrix_event_base));
if (priv->_presence == MATRIX_PRESENCE_UNKNOWN) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_UNKNOWN_VALUE,
"Won't generate a m.presence event with an unkwnown presence");
return;
}
if (priv->_user_id == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.presence event without sender");
return;
}
if (priv->_event_id == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.presence event without event_id");
return;
}
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
json_object_set_string_member(root, "event_id", priv->_event_id);
json_object_set_string_member(content_root, "user_id", priv->_user_id);
json_object_set_string_member(content_root, "presence", _matrix_g_enum_to_string(MATRIX_TYPE_PRESENCE, priv->_presence, '_'));
if (priv->_last_active_ago >= 0) {
json_object_set_int_member(content_root, "last_active_ago", priv->_last_active_ago);
}
if (priv->_avatar_url != NULL) {
json_object_set_string_member(content_root, "avatar_url", priv->_avatar_url);
}
if (priv->_display_name != NULL) {
json_object_set_string_member(content_root, "displayname", priv->_display_name);
}
MATRIX_EVENT_BASE_CLASS(matrix_event_presence_parent_class)->to_json(matrix_event_base, json_data, &inner_error);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
}
}
/**
* matrix_event_presence_new:
*
* Create a new #MatrixEventPresence object.
*
* Returns: (transfer full): a new #MatrixEventPresence object
*/
MatrixEventPresence *
matrix_event_presence_new(void)
{
return (MatrixEventPresence *)matrix_event_base_construct(MATRIX_EVENT_TYPE_PRESENCE);
}
/**
* matrix_event_presence_get_avatar_url:
* @event: a #MatrixEventPresence
*
* Get the URL of the users avatar in @event.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none): the avatar URL
*/
const gchar *
matrix_event_presence_get_avatar_url(MatrixEventPresence *matrix_event_presence)
{
MatrixEventPresencePrivate *priv;
g_return_val_if_fail(matrix_event_presence != NULL, NULL);
priv = matrix_event_presence_get_instance_private(matrix_event_presence);
return priv->_avatar_url;
}
/**
* matrix_event_presence_set_avatar_url:
* @event: a #MatrixEventPresence
* @avatar_url: (transfer none): an URL to the media of the users avatar
*
* Set the URL af the users avatar in @event.
*/
void
matrix_event_presence_set_avatar_url(MatrixEventPresence *matrix_event_presence, const gchar *avatar_url)
{
MatrixEventPresencePrivate *priv;
g_return_if_fail(matrix_event_presence != NULL);
priv = matrix_event_presence_get_instance_private(matrix_event_presence);
if (g_strcmp0(avatar_url, priv->_avatar_url) != 0) {
g_free(priv->_avatar_url);
priv->_avatar_url = g_strdup (avatar_url);
g_object_notify_by_pspec((GObject *)matrix_event_presence, matrix_event_presence_properties[PROP_AVATAR_URL]);
}
}
/**
* matrix_event_presence_get_display_name:
* @event: a #MatrixEventPresence
*
* Get the display name of the user in @event.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none): a display name
*/
const gchar *
matrix_event_presence_get_display_name(MatrixEventPresence *matrix_event_presence)
{
MatrixEventPresencePrivate *priv;
g_return_val_if_fail(matrix_event_presence != NULL, NULL);
priv = matrix_event_presence_get_instance_private(matrix_event_presence);
return priv->_display_name;
}
/**
* matrix_event_presence_set_display_name:
* @event: a #MatrixEventPresence
* @display_name: (transfer none): a display name
*
* Set the display name of the user in @event.
*/
void
matrix_event_presence_set_display_name (MatrixEventPresence *matrix_event_presence, const gchar *display_name)
{
MatrixEventPresencePrivate *priv;
g_return_if_fail(matrix_event_presence != NULL);
priv = matrix_event_presence_get_instance_private(matrix_event_presence);
if (g_strcmp0(display_name, priv->_display_name) != 0) {
g_free(priv->_display_name);
priv->_display_name = g_strdup(display_name);
g_object_notify_by_pspec((GObject *)matrix_event_presence, matrix_event_presence_properties[PROP_DISPLAY_NAME]);
}
}
/**
* matrix_event_presence_get_last_active_ago:
* @event: a #MatrixEventPresence
*
* Get the number of milliseconds since this user was last active.
*
* Returns: the number of milliseconds
*/
glong
matrix_event_presence_get_last_active_ago(MatrixEventPresence *matrix_event_presence)
{
MatrixEventPresencePrivate *priv;
g_return_val_if_fail(matrix_event_presence != NULL, -1);
priv = matrix_event_presence_get_instance_private(matrix_event_presence);
return priv->_last_active_ago;
}
/**
* matrix_event_presence_set_last_active_ago:
* @event: a #MatrixEventPresence
* @last_active_ago: the number of milliseconds since the user is inactive
*
* Set the number of milliseconds since the user in @event is inactive.
*/
void
matrix_event_presence_set_last_active_ago(MatrixEventPresence *matrix_event_presence, glong last_active_ago)
{
MatrixEventPresencePrivate *priv;
g_return_if_fail(matrix_event_presence != NULL);
priv = matrix_event_presence_get_instance_private(matrix_event_presence);
if (priv->_last_active_ago != last_active_ago) {
priv->_last_active_ago = last_active_ago;
g_object_notify_by_pspec((GObject *)matrix_event_presence, matrix_event_presence_properties[PROP_LAST_ACTIVE_AGO]);
}
}
/**
* matrix_event_presence_get_user_id:
* @event: a #MatrixEventPresence
*
* Get the user ID @event belongs to.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none): a user ID
*/
const gchar *
matrix_event_presence_get_user_id(MatrixEventPresence *event)
{
return matrix_event_room_get_sender(MATRIX_EVENT_ROOM(event));
}
/**
* matrix_event_presence_set_user_id:
* @event: a #MatrixEventPresence
* @user_id: (transfer none): the user ID @event should belong to
*
* Set the user ID in @event.
*/
void
matrix_event_presence_set_user_id(MatrixEventPresence *event, const gchar *user_id)
{
matrix_event_room_set_sender(MATRIX_EVENT_ROOM(event), user_id);
// TODO: Send this only if the property actually changed
g_object_notify_by_pspec((GObject *)event, matrix_event_presence_properties[PROP_USER_ID]);
}
/**
* matrix_event_presence_get_presence:
* @event: a #MatrixEventPresence
*
* Get the presence state of the user in @event.
*
* Returns: the presence state in @event
*/
MatrixPresence
matrix_event_presence_get_presence (MatrixEventPresence *matrix_event_presence) {
MatrixEventPresencePrivate *priv;
g_return_val_if_fail(matrix_event_presence != NULL, MATRIX_PRESENCE_UNKNOWN);
priv = matrix_event_presence_get_instance_private(matrix_event_presence);
return priv->_presence;
}
/**
* matrix_event_presence_set_presence:
* @event: a #MatrixEventPresence
* @presence: a #MatrixPresence value
*
* Set the presence state in @event.
*/
void
matrix_event_presence_set_presence(MatrixEventPresence *matrix_event_presence, MatrixPresence presence)
{
MatrixEventPresencePrivate *priv;
g_return_if_fail(matrix_event_presence != NULL);
priv = matrix_event_presence_get_instance_private(matrix_event_presence);
if (priv->_presence != presence) {
priv->_presence = presence;
g_object_notify_by_pspec((GObject *)matrix_event_presence, matrix_event_presence_properties[PROP_PRESENCE]);
}
}
static void
matrix_event_presence_get_property(GObject *gobject, guint property_id, GValue* value, GParamSpec* pspec)
{
MatrixEventPresencePrivate *priv = matrix_event_presence_get_instance_private(MATRIX_EVENT_PRESENCE(gobject));
switch (property_id) {
case PROP_AVATAR_URL:
g_value_set_string(value, priv->_avatar_url);
break;
case PROP_DISPLAY_NAME:
g_value_set_string(value, priv->_display_name);
break;
case PROP_LAST_ACTIVE_AGO:
g_value_set_long(value, priv->_last_active_ago);
break;
case PROP_USER_ID:
g_value_set_string(value, priv->_user_id);
break;
case PROP_PRESENCE:
g_value_set_enum(value, priv->_presence);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_presence_set_property(GObject *gobject, guint property_id, const GValue* value, GParamSpec* pspec)
{
MatrixEventPresence *matrix_event_presence = MATRIX_EVENT_PRESENCE(gobject);
switch (property_id) {
case PROP_AVATAR_URL:
matrix_event_presence_set_avatar_url(matrix_event_presence, g_value_get_string(value));
break;
case PROP_DISPLAY_NAME:
matrix_event_presence_set_display_name(matrix_event_presence, g_value_get_string(value));
break;
case PROP_LAST_ACTIVE_AGO:
matrix_event_presence_set_last_active_ago(matrix_event_presence, g_value_get_long(value));
break;
case PROP_USER_ID:
matrix_event_presence_set_user_id(matrix_event_presence, g_value_get_string(value));
break;
case PROP_PRESENCE:
matrix_event_presence_set_presence(matrix_event_presence, g_value_get_enum(value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_presence_finalize(GObject *gobject)
{
MatrixEventPresencePrivate *priv = matrix_event_presence_get_instance_private(MATRIX_EVENT_PRESENCE(gobject));
g_free(priv->_avatar_url);
g_free(priv->_display_name);
g_free(priv->_user_id);
g_free(priv->_event_id);
G_OBJECT_CLASS(matrix_event_presence_parent_class)->finalize(gobject);
}
static void
matrix_event_presence_class_init(MatrixEventPresenceClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_presence_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_presence_real_to_json;
G_OBJECT_CLASS (klass)->get_property = matrix_event_presence_get_property;
G_OBJECT_CLASS (klass)->set_property = matrix_event_presence_set_property;
G_OBJECT_CLASS (klass)->finalize = matrix_event_presence_finalize;
/**
* MatrixEventPresence:avatar-url:
*
* The current avatar URL for this user, if any.
*/
matrix_event_presence_properties[PROP_AVATAR_URL] = g_param_spec_string(
"avatar-url", "avatar-url", "avatar-url",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_AVATAR_URL, matrix_event_presence_properties[PROP_AVATAR_URL]);
/**
* MatrixEventPresence:display-name:
*
* The current display name for this user, if any.
*/
matrix_event_presence_properties[PROP_DISPLAY_NAME] = g_param_spec_string(
"display-name", "display-name", "display-name",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_DISPLAY_NAME, matrix_event_presence_properties[PROP_DISPLAY_NAME]);
/**
* MatrixEventPresence:last-active-ago:
*
* The last time since this used performed some action, in milliseconds.
*
* This wont get into the generated event JSON if negative.
*/
matrix_event_presence_properties[PROP_LAST_ACTIVE_AGO] = g_param_spec_long(
"last-active-ago", "last-active-ago", "last-active-ago",
G_MINLONG, G_MAXLONG, -1,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_LAST_ACTIVE_AGO, matrix_event_presence_properties[PROP_LAST_ACTIVE_AGO]);
/**
* MatrixEventPresence:user-id:
*
* The user's ID.
*/
matrix_event_presence_properties[PROP_USER_ID] = g_param_spec_string(
"user-id", "user-id", "user-id",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_USER_ID, matrix_event_presence_properties[PROP_USER_ID]);
/**
* MatrixEventPresence:presence:
*
* The presence state for this user.
*/
matrix_event_presence_properties[PROP_PRESENCE] = g_param_spec_enum(
"presence", "presence", "presence",
MATRIX_TYPE_PRESENCE, MATRIX_PRESENCE_UNKNOWN,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_PRESENCE, matrix_event_presence_properties[PROP_PRESENCE]);
}
static void
matrix_event_presence_init(MatrixEventPresence *matrix_event_presence) {
MatrixEventPresencePrivate *priv = matrix_event_presence_get_instance_private(matrix_event_presence);
priv->_last_active_ago = -1;
priv->_user_id = NULL;
priv->_event_id = NULL;
priv->_presence = MATRIX_PRESENCE_UNKNOWN;
}

View File

@ -1,49 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_PRESENCE_H__
# define __MATRIX_GLIB_SDK_EVENT_PRESENCE_H__
# include <glib-object.h>
# include "matrix-event-base.h"
# include "matrix-types.h"
G_BEGIN_DECLS
# define MATRIX_EVENT_TYPE_PRESENCE matrix_event_presence_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixEventPresence, matrix_event_presence, MATRIX_EVENT, PRESENCE, MatrixEventBase)
struct _MatrixEventPresenceClass {
MatrixEventBaseClass parent_class;
};
MatrixEventPresence* matrix_event_presence_new (void);
const gchar* matrix_event_presence_get_avatar_url (MatrixEventPresence *event);
void matrix_event_presence_set_avatar_url (MatrixEventPresence *event, const gchar *avatar_url);
const gchar* matrix_event_presence_get_display_name (MatrixEventPresence *event);
void matrix_event_presence_set_display_name (MatrixEventPresence *event, const gchar *display_name);
glong matrix_event_presence_get_last_active_ago (MatrixEventPresence *event);
void matrix_event_presence_set_last_active_ago (MatrixEventPresence *event, glong last_active_ago);
const gchar* matrix_event_presence_get_user_id (MatrixEventPresence *event);
void matrix_event_presence_set_user_id (MatrixEventPresence *event, const gchar *user_id);
MatrixPresence matrix_event_presence_get_presence (MatrixEventPresence *event);
void matrix_event_presence_set_presence (MatrixEventPresence *event, MatrixPresence presence);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_EVENT_PRESENCE_H__ */

View File

@ -1,396 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-receipt.h"
#include "matrix-types.h"
#include "matrix-enumtypes.h"
#include "config.h"
/**
* SECTION:matrix-event-receipt
* @short_description: event to inform clients of new receipts
*
* This is the default event handler for `m.receipt` events.
*/
enum {
PROP_0,
PROP_ROOM_ID,
NUM_PROPS
};
static GParamSpec* matrix_event_receipt_properties[NUM_PROPS];
typedef struct {
gchar *_room_id;
GHashTable *_receipt_data;
} MatrixEventReceiptPrivate;
/**
* MatrixEventReceipt:
*/
G_DEFINE_TYPE_WITH_PRIVATE(MatrixEventReceipt, matrix_event_receipt, MATRIX_EVENT_TYPE_BASE);
typedef struct {
gchar *event_id;
gchar *typ;
gchar *user;
guint refcount;
} ReceiptData;
static gboolean
_rd_equal(ReceiptData *k1, ReceiptData *k2) {
if ((k1 == NULL) && (k2 == NULL)) {
return TRUE;
}
if ((k1 == NULL) || (k2 == NULL)) {
return FALSE;
}
return ((g_strcmp0(k1->event_id, k2->event_id) == 0) &&
(g_strcmp0(k1->typ, k2->typ) == 0) &&
(g_strcmp0(k1->user, k2->user) == 0));
}
static void
_rd_free(ReceiptData *receipt_data) {
g_return_if_fail(receipt_data != NULL);
if ( --receipt_data->refcount == 0) {
g_free(receipt_data->event_id);
g_free(receipt_data->typ);
g_free(receipt_data->user);
g_free(receipt_data);
}
}
static void
process_event(JsonObject *obj, const gchar *key, JsonNode *member_node, gpointer user_data)
{
JsonNode *node;
MatrixEventReceiptPrivate *priv = user_data;
if ((node = json_object_get_member(json_node_get_object(member_node), "m.read")) != NULL) {
JsonObject *read_obj = json_node_get_object(node);
JsonObjectIter inner_iter;
JsonNode *inner_node;
const gchar *inner_key;
json_object_iter_init(&inner_iter, read_obj);
while (json_object_iter_next(&inner_iter, &inner_key, &inner_node)) {
gulong *value;
ReceiptData *rd_key;
if (priv->_receipt_data == NULL) {
priv->_receipt_data = g_hash_table_new_full(g_direct_hash, (GEqualFunc)_rd_equal, (GDestroyNotify)_rd_free, g_free);
}
rd_key = g_new(ReceiptData, 1);
rd_key->event_id = g_strdup(key);
rd_key->typ = g_strdup("m.read");
rd_key->user = g_strdup(inner_key);
value = g_new(gulong, 1);
*value = json_node_get_int(json_object_get_member(json_node_get_object(inner_node), "ts"));
g_hash_table_replace(priv->_receipt_data, rd_key, value);
}
} else {
g_warning("content.$event-id.m.read is missing from a m.presence event");
}
}
static void
matrix_event_receipt_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventReceiptPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
JsonNode *node;
GError *inner_error = NULL;
g_return_if_fail(json_data != NULL);
priv = matrix_event_receipt_get_instance_private(MATRIX_EVENT_RECEIPT(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
if ((node = json_object_get_member(root, "room_id")) != NULL) {
g_free(priv->_room_id);
priv->_room_id = g_strdup(json_node_get_string(node));
} else if (DEBUG) {
g_warning("room_id is missing from a m.receipt event");
}
json_object_foreach_member(content_root, process_event, priv);
MATRIX_EVENT_BASE_CLASS(matrix_event_receipt_parent_class)->from_json(matrix_event_base, json_data, &inner_error);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
}
}
static void
matrix_event_receipt_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventReceiptPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
GHashTableIter iter;
gpointer gh_key;
gpointer gh_value;
gint i = 0;
GError *inner_error = NULL;
g_return_if_fail(json_data != NULL);
priv = matrix_event_receipt_get_instance_private(MATRIX_EVENT_RECEIPT(matrix_event_base));
if (priv->_room_id == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.receipt without room_id");
return;
}
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
g_hash_table_iter_init(&iter, priv->_receipt_data);
while (g_hash_table_iter_next(&iter, &gh_key, &gh_value)) {
ReceiptData *key = gh_key;
gulong value = *(gulong *)gh_value;
JsonObject *event_object;
JsonObject *type_object;
JsonObject *user_object;
JsonNode *node;
if (key->event_id == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.receipt event with an empty event ID");
return;
}
if (key->typ == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.receipt event with an empty receipt type");
return;
}
if (key->user == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.receipt event with an empty user ID");
return;
}
i++;
if ((node = json_object_get_member(content_root, key->event_id)) == NULL) {
event_object = json_object_new();
node = json_node_new(JSON_TYPE_OBJECT);
json_node_set_object(node, event_object);
json_object_set_member(content_root, key->event_id, node);
} else {
event_object = json_node_get_object(node);
}
if ((node = json_object_get_member(event_object, key->typ)) == NULL) {
type_object = json_object_new();
node = json_node_new(JSON_TYPE_OBJECT);
json_node_set_object(node, type_object);
json_object_set_member(event_object, key->typ, node);
} else {
type_object = json_node_get_object(node);
}
if ((node = json_object_get_member(type_object, key->user)) == NULL) {
user_object = json_object_new();
node = json_node_new(JSON_TYPE_OBJECT);
json_node_set_object(node, user_object);
json_object_set_member(type_object, key->user, node);
} else {
user_object = json_node_get_object(node);
}
json_object_set_int_member(user_object, "ts", value);
}
if (i == 0) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.receipt event with no receipts");
return;
}
json_object_set_string_member(root, "room_id", priv->_room_id);
MATRIX_EVENT_BASE_CLASS(matrix_event_receipt_parent_class)->to_json(matrix_event_base, json_data, &inner_error);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
}
}
/**
* matrix_event_receipt_new:
*
* Create a new #MatrixEventReceipt object.
*
* Returns: (transfer full): a new #MatrixEventReceipt object
*/
MatrixEventReceipt *
matrix_event_receipt_new(void)
{
return (MatrixEventReceipt *)matrix_event_base_construct(MATRIX_EVENT_TYPE_RECEIPT);
}
/**
* matrix_event_receipt_get_room_id:
* @event: a #MatrixEventReceipt
*
* Get the room ID @event belongs to.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): a room ID
*/
const gchar *
matrix_event_receipt_get_room_id(MatrixEventReceipt *matrix_event_receipt)
{
MatrixEventReceiptPrivate *priv;
g_return_val_if_fail(matrix_event_receipt != NULL, NULL);
priv = matrix_event_receipt_get_instance_private(matrix_event_receipt);
return priv->_room_id;
}
/**
* matrix_event_receipt_set_room_id:
* @event: a #MatrixEventReceipt
* @room_id: (transfer none) (nullable): a room ID
*
* Set the room ID for @event.
*/
void
matrix_event_receipt_set_room_id(MatrixEventReceipt *matrix_event_receipt, const gchar *room_id)
{
MatrixEventReceiptPrivate *priv;
g_return_if_fail(matrix_event_receipt != NULL);
priv = matrix_event_receipt_get_instance_private(matrix_event_receipt);
if (g_strcmp0(room_id, priv->_room_id) != 0) {
g_free(priv->_room_id);
priv->_room_id = g_strdup(room_id);
g_object_notify_by_pspec((GObject *)matrix_event_receipt, matrix_event_receipt_properties[PROP_ROOM_ID]);
}
}
static void
matrix_event_receipt_finalize(GObject *gobject)
{
MatrixEventReceiptPrivate *priv = matrix_event_receipt_get_instance_private(MATRIX_EVENT_RECEIPT(gobject));
g_free(priv->_room_id);
g_hash_table_unref(priv->_receipt_data);
G_OBJECT_CLASS(matrix_event_receipt_parent_class)->finalize(gobject);
}
static void
matrix_event_receipt_get_property(GObject *gobject, guint property_id, GValue *value, GParamSpec *pspec)
{
MatrixEventReceipt *matrix_event_receipt = MATRIX_EVENT_RECEIPT(gobject);
switch (property_id) {
case PROP_ROOM_ID:
g_value_set_string(value, matrix_event_receipt_get_room_id(matrix_event_receipt));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_receipt_set_property(GObject *gobject, guint property_id, const GValue *value, GParamSpec *pspec)
{
MatrixEventReceipt *matrix_event_receipt = MATRIX_EVENT_RECEIPT(gobject);
switch (property_id) {
case PROP_ROOM_ID:
matrix_event_receipt_set_room_id(matrix_event_receipt, g_value_get_string(value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_receipt_class_init(MatrixEventReceiptClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_receipt_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_receipt_real_to_json;
G_OBJECT_CLASS(klass)->get_property = matrix_event_receipt_get_property;
G_OBJECT_CLASS(klass)->set_property = matrix_event_receipt_set_property;
G_OBJECT_CLASS(klass)->finalize = matrix_event_receipt_finalize;
/**
* MatrixEventReceipt:room-id:
*
* The room ID.
*/
matrix_event_receipt_properties[PROP_ROOM_ID] = g_param_spec_string(
"room-id", "room-id", "room-id",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_ROOM_ID, matrix_event_receipt_properties[PROP_ROOM_ID]);
}
static void
matrix_event_receipt_init(MatrixEventReceipt *matrix_event_receipt)
{
MatrixEventReceiptPrivate *priv;
priv = matrix_event_receipt_get_instance_private(matrix_event_receipt);
priv->_room_id = NULL;
priv->_receipt_data = NULL;
}

View File

@ -1,40 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_RECEIPT_H__
# define __MATRIX_GLIB_SDK_EVENT_RECEIPT_H__
# include <glib-object.h>
# include "matrix-event-base.h"
G_BEGIN_DECLS
# define MATRIX_EVENT_TYPE_RECEIPT matrix_event_receipt_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixEventReceipt, matrix_event_receipt, MATRIX_EVENT, RECEIPT, MatrixEventBase)
struct _MatrixEventReceiptClass {
MatrixEventBaseClass parent_class;
};
MatrixEventReceipt* matrix_event_receipt_new (void);
const gchar* matrix_event_receipt_get_room_id (MatrixEventReceipt *event);
void matrix_event_receipt_set_room_id (MatrixEventReceipt *event, const gchar *room_id);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_EVENT_RECEIPT_H__ */

View File

@ -1,292 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-room-aliases.h"
#include "matrix-types.h"
#include "config.h"
/**
* SECTION:matrix-event-room-aliases
* @short_description: event to list the aliases of a room
*
* This is the default event handler for `m.room.aliases` events.
*
* This event is sent by a homeserver directly to inform of changes to the list of aliases it
* knows about for that room.
*
* The state_key for this event is set to the homeserver which owns the room alias.
*
* The entire set of known aliases for the room is the union of all the `m.room.aliases`
* events, one for each homeserver. Clients should check the validity of any room alias given
* in this list before presenting it to the user as trusted fact. The lists given by this
* event should be considered simply as advice on which aliases might exist, for which the
* client can perform the lookup to confirm whether it receives the correct room ID.
*/
enum {
PROP_0,
PROP_ALIASES,
NUM_PROPS
};
static GParamSpec* matrix_event_room_aliases_properties[NUM_PROPS];
typedef struct {
gchar** _aliases;
gint _aliases_len;
gint __aliases_size_;
} MatrixEventRoomAliasesPrivate;
/**
* MatrixEventRoomAliases:
*/
G_DEFINE_TYPE_WITH_PRIVATE(MatrixEventRoomAliases, matrix_event_room_aliases, MATRIX_EVENT_TYPE_STATE);
static void
matrix_event_room_aliases_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventRoomAliasesPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
JsonNode *node;
GError *inner_error = NULL;
g_return_if_fail (json_data != NULL);
priv = matrix_event_room_aliases_get_instance_private(MATRIX_EVENT_ROOM_ALIASES(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
if ((node = json_object_get_member(content_root, "aliases")) != NULL) {
JsonArray *aliases;
gint n_aliases;
aliases = json_node_get_array(node);
n_aliases = json_array_get_length(aliases);
for (gint i = 0; i < priv->_aliases_len; i++) {
g_free(priv->_aliases[i]);
}
g_free(priv->_aliases);
priv->_aliases = g_new(gchar *, n_aliases);
for (gint i = 0; i < n_aliases; i++) {
JsonNode *element = json_array_get_element(aliases, i);
priv->_aliases[i] = g_strdup(json_node_get_string(element));
}
} else if (DEBUG) {
g_warning("content.aliases is missing from a m.room.aliases event");
}
MATRIX_EVENT_BASE_CLASS(matrix_event_room_aliases_parent_class)->from_json(matrix_event_base, json_data, &inner_error);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
}
}
static void
matrix_event_room_aliases_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventRoomAliasesPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonArray *aliases_ary;
JsonNode *content_node;
JsonNode *aliases_node;
GError *inner_error = NULL;
priv = matrix_event_room_aliases_get_instance_private(MATRIX_EVENT_ROOM_ALIASES(matrix_event_base));
if (priv->_aliases_len == 0) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.room.aliases event without aliases");
return;
}
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
aliases_ary = json_array_new();
for (gint i = 0; i < priv->_aliases_len; i++) {
json_array_add_string_element(aliases_ary, priv->_aliases[i]);
}
aliases_node = json_node_new(JSON_TYPE_ARRAY);
json_node_set_array(aliases_node, aliases_ary);
json_object_set_member(content_root, "aliases", aliases_node);
MATRIX_EVENT_BASE_CLASS(matrix_event_room_aliases_parent_class)->to_json(matrix_event_base, json_data, &inner_error);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
}
}
/**
* matrix_event_room_aliases_new:
*
* Create a new #MatrixEventRoomAliases object.
*
* Returns: (transfer full): a new #MatrixEventRoomAliases object
*/
MatrixEventRoomAliases *
matrix_event_room_aliases_new(void)
{
return (MatrixEventRoomAliases *)matrix_event_state_construct(MATRIX_EVENT_TYPE_ROOM_ALIASES);
}
/**
* matrix_event_room_aliases_get_aliases:
* @event: a MatrixEventRoomAliases
* @n_aliases: placeholder for the length of the list, or %NULL to ignore
*
* Get the list of aliases from @event.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): the list of aliases
*/
const gchar **
matrix_event_room_aliases_get_aliases(MatrixEventRoomAliases *matrix_event_room_aliases, int *n_aliases)
{
MatrixEventRoomAliasesPrivate *priv;
g_return_val_if_fail(matrix_event_room_aliases != NULL, NULL);
priv = matrix_event_room_aliases_get_instance_private(matrix_event_room_aliases);
if (n_aliases != NULL) {
*n_aliases = priv->_aliases_len;
}
return (const gchar **)priv->_aliases;
}
/**
* matrix_event_room_aliases_set_aliases:
* @event: a #MatrixEventRoomAliases
* @aliases: a list of aliases
* @n_aliases: the length of @aliases
*
* Set the list of aliases in @event.
*/
void
matrix_event_room_aliases_set_aliases(MatrixEventRoomAliases *matrix_event_room_aliases, const gchar **aliases, int n_aliases)
{
MatrixEventRoomAliasesPrivate *priv;
g_return_if_fail(matrix_event_room_aliases != NULL);
priv = matrix_event_room_aliases_get_instance_private(matrix_event_room_aliases);
for (gint i = 0; i < priv->_aliases_len; i++) {
g_free(priv->_aliases[i]);
}
g_free(priv->_aliases);
priv->_aliases = g_new(gchar *, n_aliases);
for (gint i = 0; i < n_aliases; i++) {
priv->_aliases[i] = g_strdup(aliases[i]);
}
}
static void
matrix_event_room_aliases_finalize(GObject *gobject)
{
MatrixEventRoomAliasesPrivate *priv = matrix_event_room_aliases_get_instance_private(MATRIX_EVENT_ROOM_ALIASES(gobject));
for (gint i = 0; i < priv->_aliases_len; i++) {
g_free(priv->_aliases[i]);
}
g_free(priv->_aliases);
G_OBJECT_CLASS(matrix_event_room_aliases_parent_class)->finalize(gobject);
}
static void
matrix_event_room_aliases_get_property(GObject *gobject, guint property_id, GValue *value, GParamSpec *pspec)
{
MatrixEventRoomAliases *self = MATRIX_EVENT_ROOM_ALIASES(gobject);
switch (property_id) {
case PROP_ALIASES:
g_value_set_boxed(value, matrix_event_room_aliases_get_aliases(self, NULL));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_room_aliases_set_property(GObject *gobject, guint property_id, const GValue *value, GParamSpec *pspec)
{
MatrixEventRoomAliases *self = MATRIX_EVENT_ROOM_ALIASES(gobject);
switch (property_id) {
case PROP_ALIASES:
{
gpointer boxed;
boxed = g_value_get_boxed(value);
matrix_event_room_aliases_set_aliases(self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
break;
}
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_room_aliases_class_init(MatrixEventRoomAliasesClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_room_aliases_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_room_aliases_real_to_json;
G_OBJECT_CLASS (klass)->get_property = matrix_event_room_aliases_get_property;
G_OBJECT_CLASS (klass)->set_property = matrix_event_room_aliases_set_property;
G_OBJECT_CLASS (klass)->finalize = matrix_event_room_aliases_finalize;
/**
* MatrixEventRoomAliases:aliases:
*
* A list of room aliases.
*/
matrix_event_room_aliases_properties[PROP_ALIASES] = g_param_spec_boxed(
"aliases", "aliases", "aliases",
G_TYPE_STRV,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_ALIASES, matrix_event_room_aliases_properties[PROP_ALIASES]);
}
static void
matrix_event_room_aliases_init(MatrixEventRoomAliases *matrix_event_room_aliases)
{}

View File

@ -1,40 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_ROOM_ALIASES_H__
# define __MATRIX_GLIB_SDK_EVENT_ROOM_ALIASES_H__
# include <glib-object.h>
# include "matrix-event-state-base.h"
G_BEGIN_DECLS
# define MATRIX_EVENT_TYPE_ROOM_ALIASES matrix_event_room_aliases_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixEventRoomAliases, matrix_event_room_aliases, MATRIX_EVENT, ROOM_ALIASES, MatrixEventState)
struct _MatrixEventRoomAliasesClass {
MatrixEventStateClass parent_class;
};
MatrixEventRoomAliases* matrix_event_room_aliases_new (void);
const gchar** matrix_event_room_aliases_get_aliases (MatrixEventRoomAliases *event, int *n_aliases);
void matrix_event_room_aliases_set_aliases (MatrixEventRoomAliases *event, const gchar **aliases, int n_aliases);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_EVENT_ROOM_ALIASES_H__ */

View File

@ -1,506 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-room-avatar.h"
#include "config.h"
/**
* SECTION:matrix-event-room-avatar
* @short_description: event holding the room avatar
*
* This is the default handler for `m.room.avatar` events.
*
* A picture that is associated with the room. This can be displayed alongside the room
* information.
*/
enum {
PROP_0,
PROP_URL,
PROP_THUMBNAIL_URL,
PROP_INFO,
PROP_THUMBNAIL_INFO,
NUM_PROPERTIES
};
static GParamSpec *matrix_event_room_avatar_properties[NUM_PROPERTIES];
typedef struct {
gchar* _url;
gchar* _thumbnail_url;
MatrixImageInfo* _info;
MatrixImageInfo* _thumbnail_info;
} MatrixEventRoomAvatarPrivate;
/**
* MatrixEventRoomAvatar:
*/
G_DEFINE_TYPE_WITH_PRIVATE(MatrixEventRoomAvatar, matrix_event_room_avatar, MATRIX_EVENT_TYPE_STATE);
static void
matrix_event_room_avatar_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventRoomAvatarPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
JsonNode *node;
g_return_if_fail(json_data != NULL);
priv = matrix_event_room_avatar_get_instance_private(MATRIX_EVENT_ROOM_AVATAR(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
if (DEBUG) {
if ((node = json_object_get_member(root, "state_key")) != NULL) {
const char *sk = json_node_get_string(node);
if ((sk != NULL) && (*sk != 0)) {
g_warning("state_key of a m.room.avatar event is non-empty");
}
}
}
if ((node = json_object_get_member(content_root, "url")) != NULL) {
g_free(priv->_url);
priv->_url = g_strdup(json_node_get_string(node));
} else {
g_warning("content.url is missing from a m.room.avatar event");
}
if ((node = json_object_get_member(content_root, "thumbnail_url")) != NULL) {
g_free(priv->_thumbnail_url);
priv->_thumbnail_url = g_strdup(json_node_get_string(node));
}
if ((node = json_object_get_member(content_root, "info")) != NULL) {
matrix_image_info_unref(priv->_info);
priv->_info = matrix_image_info_new();
matrix_image_info_set_from_json(priv->_info, node);
}
if ((node = json_object_get_member(content_root, "thumbnail_info")) != NULL) {
matrix_image_info_unref(priv->_thumbnail_info);
priv->_thumbnail_info = matrix_image_info_new();
matrix_image_info_set_from_json(priv->_thumbnail_info, node);
}
MATRIX_EVENT_BASE_CLASS(matrix_event_room_avatar_parent_class)->from_json(matrix_event_base, json_data, error);
}
static void
matrix_event_room_avatar_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventRoomAvatarPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
JsonNode *node;
const gchar *state_key;
GError *inner_error = NULL;
g_return_if_fail (json_data != NULL);
priv = matrix_event_room_avatar_get_instance_private(MATRIX_EVENT_ROOM_AVATAR(matrix_event_base));
if (priv->_url == NULL) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.room.avatar event without url");
return;
}
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
state_key = matrix_event_state_get_state_key(MATRIX_EVENT_STATE(matrix_event_base));
if ((state_key == NULL) || (*state_key == 0)) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.room.avatar event with a non-empty state_key");
return;
}
json_object_set_string_member(content_root, "url", priv->_url);
if (priv->_thumbnail_url != NULL) {
json_object_set_string_member(content_root, "thumbnail_url", priv->_thumbnail_url);
}
if (priv->_info != NULL) {
node = matrix_image_info_get_json_node(priv->_info, &inner_error);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
return;
}
json_object_set_member(content_root, "info", node);
}
if (priv->_thumbnail_info != NULL) {
node = matrix_image_info_get_json_node(priv->_thumbnail_info, &inner_error);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
return;
}
json_object_set_member(content_root, "thumbnail_info", node);
}
MATRIX_EVENT_BASE_CLASS(matrix_event_room_avatar_parent_class)->to_json(matrix_event_base, json_data, error);
}
/**
* matrix_event_room_avatar_new:
*
* Create a new #MatrixEventRoomAvatar object.
*
* Returns: (transfer full): a new #MatrixEventRoomAvatar object
*/
MatrixEventRoomAvatar *
matrix_event_room_avatar_new(void)
{
return (MatrixEventRoomAvatar *)matrix_event_state_construct(MATRIX_EVENT_TYPE_ROOM_AVATAR);
}
/**
* matrix_event_room_avatar_get_url:
* @event: a #MatrixEventRoomAvatar
*
* Get the URL of the room avatar from @event.
*
* The returned value is owned by @event and should no be freed.
*
* Returns: (transfer none) (nullable): an avatar URL
*/
const gchar *
matrix_event_room_avatar_get_url(MatrixEventRoomAvatar *matrix_event_room_avatar)
{
MatrixEventRoomAvatarPrivate *priv;
g_return_val_if_fail(matrix_event_room_avatar != NULL, NULL);
priv = matrix_event_room_avatar_get_instance_private(matrix_event_room_avatar);
return priv->_url;
}
/**
* matrix_event_room_avatar_set_url:
* @event: a #MatrixEventRoomAvatar
* @url: (transfer none) (nullable): an URL to set as the room avatar
*
* Set the room avatar URL.
*/
void
matrix_event_room_avatar_set_url(MatrixEventRoomAvatar *matrix_event_room_avatar, const gchar *url)
{
MatrixEventRoomAvatarPrivate *priv;
g_return_if_fail(matrix_event_room_avatar != NULL);
priv = matrix_event_room_avatar_get_instance_private(matrix_event_room_avatar);
if (g_strcmp0(url, priv->_url) != 0) {
g_free(priv->_url);
priv->_url = g_strdup(url);
g_object_notify_by_pspec((GObject *)matrix_event_room_avatar, matrix_event_room_avatar_properties[PROP_URL]);
}
}
/**
* matrix_event_room_avatar_get_thumbnail_url:
* @event: a #MatrixEventRoomAvatar
*
* Get the URL of the avatars thumbnail.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): the URL of the avatar thumbnail
*/
const gchar *
matrix_event_room_avatar_get_thumbnail_url(MatrixEventRoomAvatar *matrix_event_room_avatar)
{
MatrixEventRoomAvatarPrivate *priv;
g_return_val_if_fail(matrix_event_room_avatar != NULL, NULL);
priv = matrix_event_room_avatar_get_instance_private(matrix_event_room_avatar);
return priv->_thumbnail_url;
}
/**
* matrix_event_room_avatar_set_thumbnail_url:
* @event: a #MatrixEventRoomAvatar
* @thumbnail_url: (transfer none) (nullable): the URL of the room avatars thumbnail
*
* Set the URL of the room avatars thumbnail.
*/
void
matrix_event_room_avatar_set_thumbnail_url(MatrixEventRoomAvatar *matrix_event_room_avatar, const gchar *thumbnail_url)
{
MatrixEventRoomAvatarPrivate *priv;
g_return_if_fail(matrix_event_room_avatar != NULL);
priv = matrix_event_room_avatar_get_instance_private(matrix_event_room_avatar);
if (g_strcmp0(thumbnail_url, priv->_thumbnail_url) != 0) {
g_free(priv->_thumbnail_url);
priv->_thumbnail_url = g_strdup(thumbnail_url);
g_object_notify_by_pspec((GObject *)matrix_event_room_avatar, matrix_event_room_avatar_properties[PROP_THUMBNAIL_URL]);
}
}
/**
* matrix_event_room_avatar_get_info:
* @event: a #MatrixEventRoomAvatar
*
* Get the image info for the room avatar.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): the image info for the room avatar image.
*/
MatrixImageInfo *
matrix_event_room_avatar_get_info(MatrixEventRoomAvatar *matrix_event_room_avatar)
{
MatrixEventRoomAvatarPrivate *priv;
g_return_val_if_fail(matrix_event_room_avatar != NULL, NULL);
priv = matrix_event_room_avatar_get_instance_private(matrix_event_room_avatar);
return priv->_info;
}
/**
* matrix_event_room_avatar_set_info:
* @event: a #MatrixEventRoomAvatar
* @info: a #MatrixImageInfo
*
* Set the image information for the avatar image.
*/
void
matrix_event_room_avatar_set_info(MatrixEventRoomAvatar *matrix_event_room_avatar, MatrixImageInfo *info)
{
MatrixEventRoomAvatarPrivate *priv;
g_return_if_fail(matrix_event_room_avatar != NULL);
priv = matrix_event_room_avatar_get_instance_private(matrix_event_room_avatar);
if (priv->_info != info) {
matrix_image_info_unref(priv->_info);
priv->_info = matrix_image_info_ref(info);
g_object_notify_by_pspec((GObject *)matrix_event_room_avatar, matrix_event_room_avatar_properties[PROP_INFO]);
}
}
/**
* matrix_event_room_avatar_get_thumbnail_info:
* @event: a #MatrixEventRoomAvatar
*
* Get the image info for the room avatars thumbnail.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): the image info for the avatars thumbnail
*/
MatrixImageInfo *
matrix_event_room_avatar_get_thumbnail_info(MatrixEventRoomAvatar *matrix_event_room_avatar)
{
MatrixEventRoomAvatarPrivate *priv;
g_return_val_if_fail(matrix_event_room_avatar != NULL, NULL);
priv = matrix_event_room_avatar_get_instance_private(matrix_event_room_avatar);
return priv->_thumbnail_info;
}
/**
* matrix_event_room_avatar_set_thumbnail_info:
* @event: a #MatrixEventRoomAvatar
* @thumbnail_info: (transfer none) (nullable): a #MatrixImageInfo
*
* Set the image info for the room avatars thumbnail.
*/
void
matrix_event_room_avatar_set_thumbnail_info(MatrixEventRoomAvatar *matrix_event_room_avatar, MatrixImageInfo *thumbnail_info)
{
MatrixEventRoomAvatarPrivate *priv;
g_return_if_fail(matrix_event_room_avatar != NULL);
priv = matrix_event_room_avatar_get_instance_private(matrix_event_room_avatar);
if (priv->_thumbnail_info != thumbnail_info) {
matrix_image_info_unref(priv->_thumbnail_info);
priv->_thumbnail_info = matrix_image_info_ref(thumbnail_info);
g_object_notify_by_pspec((GObject *)matrix_event_room_avatar, matrix_event_room_avatar_properties[PROP_THUMBNAIL_INFO]);
}
}
static void
matrix_event_room_avatar_finalize(GObject *gobject)
{
MatrixEventRoomAvatarPrivate *priv = matrix_event_room_avatar_get_instance_private(MATRIX_EVENT_ROOM_AVATAR(gobject));
g_free(priv->_url);
g_free(priv->_thumbnail_url);
matrix_image_info_unref(priv->_info);
matrix_image_info_unref(priv->_thumbnail_info);
G_OBJECT_CLASS(matrix_event_room_avatar_parent_class)->finalize(gobject);
}
static void
matrix_event_room_avatar_get_property(GObject *gobject, guint property_id, GValue *value, GParamSpec *pspec)
{
MatrixEventRoomAvatar *matrix_event_room_avatar = MATRIX_EVENT_ROOM_AVATAR(gobject);
switch (property_id) {
case PROP_URL:
g_value_set_string(value, matrix_event_room_avatar_get_url(matrix_event_room_avatar));
break;
case PROP_THUMBNAIL_URL:
g_value_set_string(value, matrix_event_room_avatar_get_thumbnail_url(matrix_event_room_avatar));
break;
case PROP_INFO:
g_value_set_boxed(value, matrix_event_room_avatar_get_info(matrix_event_room_avatar));
break;
case PROP_THUMBNAIL_INFO:
g_value_set_boxed(value, matrix_event_room_avatar_get_thumbnail_info(matrix_event_room_avatar));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_room_avatar_set_property(GObject *gobject, guint property_id, const GValue *value, GParamSpec *pspec)
{
MatrixEventRoomAvatar *matrix_event_room_avatar = MATRIX_EVENT_ROOM_AVATAR(gobject);
switch (property_id) {
case PROP_URL:
matrix_event_room_avatar_set_url(matrix_event_room_avatar, g_value_get_string(value));
break;
case PROP_THUMBNAIL_URL:
matrix_event_room_avatar_set_thumbnail_url(matrix_event_room_avatar, g_value_get_string(value));
break;
case PROP_INFO:
matrix_event_room_avatar_set_info(matrix_event_room_avatar, g_value_get_boxed(value));
break;
case PROP_THUMBNAIL_INFO:
matrix_event_room_avatar_set_thumbnail_info(matrix_event_room_avatar, g_value_get_boxed(value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_room_avatar_class_init(MatrixEventRoomAvatarClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_room_avatar_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_room_avatar_real_to_json;
G_OBJECT_CLASS(klass)->get_property = matrix_event_room_avatar_get_property;
G_OBJECT_CLASS(klass)->set_property = matrix_event_room_avatar_set_property;
G_OBJECT_CLASS(klass)->finalize = matrix_event_room_avatar_finalize;
/**
* MatrixEventRoomAvatar:url:
*
* The URL to the image.
*/
matrix_event_room_avatar_properties[PROP_URL] = g_param_spec_string(
"url", "url", "url",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_URL, matrix_event_room_avatar_properties[PROP_URL]);
/**
* MatrixEventRoomAvatar:thumbnail-url:
*
* The URL to the thumbnail of the image.
*/
matrix_event_room_avatar_properties[PROP_THUMBNAIL_URL] = g_param_spec_string(
"thumbnail-url", "thumbnail-url", "thumbnail-url",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_THUMBNAIL_URL, matrix_event_room_avatar_properties[PROP_THUMBNAIL_URL]);
/**
* MatrixEventRoomAvatar:info:
*
* The image info for the room avatar.
*/
matrix_event_room_avatar_properties[PROP_INFO] = g_param_spec_boxed(
"info", "info", "info",
MATRIX_TYPE_IMAGE_INFO,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_INFO, matrix_event_room_avatar_properties[PROP_INFO]);
/**
* MatrixEventRoomAvatar:thumbnail-info:
*
* The image info for the room avatars thumbnail.
*/
matrix_event_room_avatar_properties[PROP_INFO] = g_param_spec_boxed(
"thumbnail-info", "thumbnail-info", "thumbnail-info",
MATRIX_TYPE_IMAGE_INFO,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_INFO, matrix_event_room_avatar_properties[PROP_INFO]);
}
static void
matrix_event_room_avatar_init(MatrixEventRoomAvatar *matrix_event_room_avatar)
{
MatrixEventRoomAvatarPrivate *priv = matrix_event_room_avatar_get_instance_private(matrix_event_room_avatar);
priv->_url = NULL;
priv->_thumbnail_url = NULL;
priv->_info = NULL;
priv->_thumbnail_info = NULL;
}

View File

@ -1,47 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_ROOM_AVATAR_H__
# define __MATRIX_GLIB_SDK_EVENT_ROOM_AVATAR_H__
# include <glib-object.h>
# include "matrix-event-state-base.h"
# include "matrix-types.h"
G_BEGIN_DECLS
# define MATRIX_EVENT_TYPE_ROOM_AVATAR matrix_event_room_avatar_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixEventRoomAvatar, matrix_event_room_avatar, MATRIX_EVENT, ROOM_AVATAR, MatrixEventState)
struct _MatrixEventRoomAvatarClass {
MatrixEventStateClass parent_class;
};
MatrixEventRoomAvatar* matrix_event_room_avatar_new (void);
const gchar *matrix_event_room_avatar_get_url (MatrixEventRoomAvatar *event);
void matrix_event_room_avatar_set_url (MatrixEventRoomAvatar *event, const gchar *url);
const gchar *matrix_event_room_avatar_get_thumbnail_url (MatrixEventRoomAvatar *event);
void matrix_event_room_avatar_set_thumbnail_url (MatrixEventRoomAvatar *event, const gchar *thumbnail_url);
MatrixImageInfo *matrix_event_room_avatar_get_info (MatrixEventRoomAvatar *event);
void matrix_event_room_avatar_set_info (MatrixEventRoomAvatar *event, MatrixImageInfo *info);
MatrixImageInfo *matrix_event_room_avatar_get_thumbnail_info (MatrixEventRoomAvatar *event);
void matrix_event_room_avatar_set_thumbnail_info (MatrixEventRoomAvatar *event, MatrixImageInfo *thumbnail_info);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_EVENT_ROOM_AVATAR_H__ */

View File

@ -1,678 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-room-base.h"
#include "config.h"
/**
* SECTION:matrix-event-room-base
* @short_description: abstract base class for room events
* @title: room event base class
*
* #MatrixEventRoom is the abstract base class for room events. It handles the `event_id`,
* `room_id`, `sender`, `age`, `redacted_because`, and `transaction_id` field of an events
* JSON representation, so subclasses dont have to care about them.
*/
enum {
PROP_0,
PROP_EVENT_ID,
PROP_ROOM_ID,
PROP_SENDER,
PROP_AGE,
PROP_REDACTED_BECAUSE,
PROP_TRANSACTION_ID,
NUM_PROPS
};
static GParamSpec* matrix_event_room_properties[NUM_PROPS];
typedef struct {
gchar* _event_id;
gchar* _room_id;
gchar* _sender;
glong _age;
gchar* _redacted_because;
gchar* _transaction_id;
} MatrixEventRoomPrivate;
/**
* MatrixEventRoom:
*
* Abstract base class for room events.
*/
G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE(MatrixEventRoom, matrix_event_room, MATRIX_EVENT_TYPE_BASE);
static void
matrix_event_room_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventRoom *matrix_event_room;
MatrixEventRoomPrivate *priv;
JsonObject *root;
JsonNode *node;
GError *inner_error = NULL;
g_return_if_fail(json_data != NULL);
matrix_event_room = MATRIX_EVENT_ROOM(matrix_event_base);
priv = matrix_event_room_get_instance_private(matrix_event_room);
root = json_node_get_object(json_data);
if ((node = json_object_get_member (root, "event_id")) != NULL) {
g_free(priv->_event_id);
priv->_event_id = g_strdup(json_node_get_string(node));
} else if (DEBUG) {
g_warning ("matrix-event-room-base.vala:71: event_id is missing from a Room event");
}
if ((node = json_object_get_member(root, "room_id")) != NULL) {
g_free(priv->_room_id);
priv->_room_id = g_strdup(json_node_get_string(node));
} else if (DEBUG) {
g_warning ("matrix-event-room-base.vala:77: room_id is missing from a Room event");
}
if ((node = json_object_get_member(root, "sender")) != NULL) {
g_free(priv->_sender);
priv->_sender = g_strdup(json_node_get_string(node));
} else if (DEBUG) {
g_warning ("matrix-event-room-base.vala:83: sender is missing from a Room event");
}
if ((node = json_object_get_member(root, "unsigned")) != NULL) {
JsonObject* unsigned_root = NULL;
unsigned_root = json_node_get_object(node);
if ((node = json_object_get_member (unsigned_root, "age")) != NULL) {
priv->_age = json_node_get_int(node);
}
if ((node = json_object_get_member(unsigned_root, "redacted_because")) != NULL) {
g_free(priv->_redacted_because);
priv->_redacted_because = g_strdup(json_node_get_string(node));
}
if ((node = json_object_get_member(unsigned_root, "transaction_id")) != NULL) {
g_free(priv->_transaction_id);
priv->_transaction_id = g_strdup(json_node_get_string(node));
}
}
MATRIX_EVENT_BASE_CLASS(matrix_event_room_parent_class)->from_json(matrix_event_base, json_data, &inner_error);
json_object_unref(root);
json_node_unref(node);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
return;
}
}
static void
matrix_event_room_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventRoom *matrix_event_room;
MatrixEventRoomPrivate *priv;
JsonObject *root_obj;
JsonObject *unsigned_obj;
GError *inner_error = NULL;
g_return_if_fail(json_data != NULL);
matrix_event_room = MATRIX_EVENT_ROOM(matrix_event_base);
priv = matrix_event_room_get_instance_private(matrix_event_room);
root_obj = json_node_get_object (json_data);
if (priv->_event_id != NULL) {
json_object_set_string_member (root_obj, "event_id", priv->_event_id);
}
if (priv->_room_id!= NULL) {
json_object_set_string_member(root_obj, "room_id", priv->_room_id);
}
if (priv->_sender != NULL) {
json_object_set_string_member (root_obj, "sender", priv->_sender);
}
unsigned_obj = json_object_new();
if (priv->_age >= 0) {
json_object_set_int_member (unsigned_obj, "age", priv->_age);
}
if (priv->_redacted_because != NULL) {
json_object_set_string_member (unsigned_obj, "redacted_because", priv->_redacted_because);
}
if (priv->_transaction_id != NULL) {
json_object_set_string_member (unsigned_obj, "transaction_id", priv->_transaction_id);
}
if (json_object_get_size(unsigned_obj) > 0) {
JsonNode* unsigned_node = NULL;
unsigned_node = json_node_new (JSON_NODE_OBJECT);
json_node_set_object (unsigned_node, unsigned_obj);
json_object_set_member (root_obj, "unsigned", unsigned_node);
}
MATRIX_EVENT_BASE_CLASS(matrix_event_room_parent_class)->to_json(MATRIX_EVENT_BASE(matrix_event_base), json_data, &inner_error);
json_object_unref(unsigned_obj);
json_object_unref(root_obj);
if (inner_error != NULL) {
g_propagate_error(error, inner_error);
return;
}
}
/**
* matrix_event_room_construct:
* @object_type: the #GType of the object to be created
*
* Returns: (transfer full): a new instance of @object_type
*/
MatrixEventRoom *
matrix_event_room_construct(GType object_type)
{
return (MatrixEventRoom *)matrix_event_base_construct(object_type);
}
/**
* matrix_event_room_get_event_id:
* @event: a #MatrixEventRoom derived object
*
* Get the event ID.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): the event ID
*/
const gchar *
matrix_event_room_get_event_id(MatrixEventRoom *matrix_event_room)
{
MatrixEventRoomPrivate *priv;
g_return_val_if_fail(matrix_event_room != NULL, NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
return priv->_event_id;
}
/**
* matrix_event_room_set_event_id:
* @event: a #MatrixEventRoom derived object
* @event_id: (transfer none) (nullable): an event ID
*
* Set the event ID in @event.
*
* As the event sending process will strip away this field, setting the event ID is usually
* useless.
*/
void
matrix_event_room_set_event_id(MatrixEventRoom *matrix_event_room, const gchar *event_id)
{
MatrixEventRoomPrivate *priv;
g_return_if_fail(matrix_event_room != NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
if (g_strcmp0(event_id, priv->_event_id) != 0) {
g_free(priv->_event_id);
priv->_event_id = g_strdup(event_id);
g_object_notify_by_pspec((GObject *)matrix_event_room, matrix_event_room_properties[PROP_EVENT_ID]);
}
}
/**
* matrix_event_room_get_room_id:
* @event: a #MatrixEventRoom derived object
*
* Get the room ID from @event.
*
* The returned value is owned by @event, and should not be freed.
*
* Returns: (transfer none) (nullable): the room ID
*/
const gchar *
matrix_event_room_get_room_id(MatrixEventRoom *matrix_event_room)
{
MatrixEventRoomPrivate *priv;
g_return_val_if_fail(matrix_event_room != NULL, NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
return priv->_room_id;
}
/**
* matrix_event_room_set_room_id:
* @event: a #MatrixEventRoom derived object
* @room_id: (transfer none) (nullable): a room ID
*
* Set the room ID for @event.
*
* This field is actually the target of any message, so it is really important to set
* correctly. Room IDs, as per the Matrix specification, look like
* `!random-string:homeserver`. This function doesnt check for validity, though.
*/
void
matrix_event_room_set_room_id(MatrixEventRoom *matrix_event_room, const gchar *room_id)
{
MatrixEventRoomPrivate *priv;
g_return_if_fail(matrix_event_room != NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
if (g_strcmp0(room_id, priv->_room_id) != 0) {
g_free(priv->_room_id);
priv->_room_id = g_strdup(room_id);
g_object_notify_by_pspec((GObject *)matrix_event_room, matrix_event_room_properties[PROP_ROOM_ID]);
}
}
/**
* matrix_event_room_get_sender:
* @event: a #MatrixEventRoom derived object
*
* Get the user ID of @events sender.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): a user ID in MXID format
*/
const gchar *
matrix_event_room_get_sender(MatrixEventRoom *matrix_event_room)
{
MatrixEventRoomPrivate *priv;
g_return_val_if_fail(matrix_event_room != NULL, NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
return priv->_sender;
}
/**
* matrix_event_room_set_sender:
* @event: a #MatrixEventRoom derived object
* @sender: (transfer none) (nullable): a user ID in MXID format
*
* Set the sender of @event.
*
* @sender must be in MXID format (`\@user_id:homeserver`). This function doesnt check for
* user ID validity.
*/
void
matrix_event_room_set_sender(MatrixEventRoom *matrix_event_room, const gchar *sender)
{
MatrixEventRoomPrivate *priv;
g_return_if_fail(matrix_event_room != NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
if (g_strcmp0(sender, priv->_sender) != 0) {
g_free(priv->_sender);
priv->_sender = g_strdup(sender);
g_object_notify_by_pspec((GObject *)matrix_event_room, matrix_event_room_properties[PROP_SENDER]);
}
}
/**
* matrix_event_room_get_age:
* @event: a #MatrixEventRoom derived object
*
* Get the age of the event.
*
* The age is reported by the homeserver, not calculated by this library.
*
* Returns: the age, in milliseconds
*/
glong
matrix_event_room_get_age (MatrixEventRoom *matrix_event_room) {
MatrixEventRoomPrivate *priv;
g_return_val_if_fail(matrix_event_room != NULL, -1);
priv = matrix_event_room_get_instance_private(matrix_event_room);
return priv->_age;
}
/**
* matrix_event_room_set_age:
* @event: a #MatrixEventRoom derived object
* @age: the age of the event, in milliseconds
*
* Set the age of @event.
*
* As age is calculated by the homeserver based on the timestamp it received the event,
* setting this property explicitly has no point.
*/
void
matrix_event_room_set_age(MatrixEventRoom *matrix_event_room, glong age)
{
MatrixEventRoomPrivate *priv;
g_return_if_fail(matrix_event_room != NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
if (priv->_age != age) {
priv->_age = age;
g_object_notify_by_pspec((GObject *)matrix_event_room, matrix_event_room_properties[PROP_AGE]);
}
}
/**
* matrix_event_room_get_redacted_because:
* @event: a #MatrixEventRoom derived object
*
* Get the redaction reason of @event.
*
* This will be %NULL if the event is not redacted, but may also be %NULL if the event is
* redacted without reason.
*
* The value returned is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): the redaction reason
*/
const gchar *
matrix_event_room_get_redacted_because(MatrixEventRoom *matrix_event_room) {
MatrixEventRoomPrivate *priv;
g_return_val_if_fail(matrix_event_room != NULL, NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
return priv->_redacted_because;
}
/**
* matrix_event_room_set_redacted_because:
* @event: a #MatrixEventRoom derived object
* @redacted_because: (transfer none) (nullable): the reason @event got redacted
*
* Set the redaction reason for @event.
*
* Redacting events must be done via the corresponding API (eg. matrix_api_redact_event()).
* Merely setting this field has no effect on the Matrix network.
*/
void
matrix_event_room_set_redacted_because(MatrixEventRoom *matrix_event_room, const gchar *redacted_because)
{
MatrixEventRoomPrivate *priv;
g_return_if_fail(matrix_event_room != NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
if (g_strcmp0(redacted_because, priv->_redacted_because) != 0) {
g_free(priv->_redacted_because);
priv->_redacted_because = g_strdup(redacted_because);
g_object_notify_by_pspec((GObject *)matrix_event_room, matrix_event_room_properties[PROP_REDACTED_BECAUSE]);
}
}
/**
* matrix_event_room_get_transaction_id:
* @event: a #MatrixEventRoom derived object
*
* Get the transaction ID of @event.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): the transaction ID
*/
const gchar *
matrix_event_room_get_transaction_id(MatrixEventRoom *matrix_event_room)
{
MatrixEventRoomPrivate *priv;
g_return_val_if_fail(matrix_event_room != NULL, NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
return priv->_transaction_id;
}
/**
* matrix_event_room_set_transaction_id:
* @event: a #MatrixEventRoom derived object
* @transaction_id: (transfer none) (nullable): a transction ID
*
* Set the transaction ID of the event.
*/
void
matrix_event_room_set_transaction_id(MatrixEventRoom *matrix_event_room, const gchar *transaction_id)
{
MatrixEventRoomPrivate *priv;
g_return_if_fail(matrix_event_room != NULL);
priv = matrix_event_room_get_instance_private(matrix_event_room);
if (g_strcmp0(transaction_id, priv->_transaction_id) != 0) {
g_free(priv->_transaction_id);
priv->_transaction_id = g_strdup(transaction_id);
g_object_notify_by_pspec((GObject *)matrix_event_room, matrix_event_room_properties[PROP_TRANSACTION_ID]);
}
}
static void
matrix_event_room_get_property(GObject *gobject, guint property_id, GValue* value, GParamSpec* pspec)
{
MatrixEventRoomPrivate *priv = matrix_event_room_get_instance_private(MATRIX_EVENT_ROOM(gobject));
switch (property_id) {
case PROP_EVENT_ID:
g_value_set_string(value, priv->_event_id);
break;
case PROP_ROOM_ID:
g_value_set_string(value, priv->_room_id);
break;
case PROP_SENDER:
g_value_set_string(value, priv->_sender);
break;
case PROP_AGE:
g_value_set_long(value, priv->_age);
break;
case PROP_REDACTED_BECAUSE:
g_value_set_string(value, priv->_redacted_because);
break;
case PROP_TRANSACTION_ID:
g_value_set_string(value, priv->_transaction_id);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_room_set_property(GObject *gobject, guint property_id, const GValue* value, GParamSpec* pspec)
{
MatrixEventRoom *matrix_event_room = MATRIX_EVENT_ROOM(gobject);
switch (property_id) {
case PROP_EVENT_ID:
matrix_event_room_set_event_id(matrix_event_room, g_value_get_string(value));
break;
case PROP_ROOM_ID:
matrix_event_room_set_room_id(matrix_event_room, g_value_get_string(value));
break;
case PROP_SENDER:
matrix_event_room_set_sender(matrix_event_room, g_value_get_string(value));
break;
case PROP_AGE:
matrix_event_room_set_age(matrix_event_room, g_value_get_long(value));
break;
case PROP_REDACTED_BECAUSE:
matrix_event_room_set_redacted_because(matrix_event_room, g_value_get_string(value));
break;
case PROP_TRANSACTION_ID:
matrix_event_room_set_transaction_id(matrix_event_room, g_value_get_string(value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_room_finalize(GObject *gobject)
{
MatrixEventRoomPrivate *priv = matrix_event_room_get_instance_private(MATRIX_EVENT_ROOM(gobject));
g_free(priv->_event_id);
g_free(priv->_room_id);
g_free(priv->_sender);
g_free(priv->_redacted_because);
g_free(priv->_transaction_id);
G_OBJECT_CLASS(matrix_event_room_parent_class)->finalize(gobject);
}
static void
matrix_event_room_class_init(MatrixEventRoomClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_room_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_room_real_to_json;
G_OBJECT_CLASS (klass)->get_property = matrix_event_room_get_property;
G_OBJECT_CLASS (klass)->set_property = matrix_event_room_set_property;
G_OBJECT_CLASS (klass)->finalize = matrix_event_room_finalize;
/**
* MatrixEventRoom:event-id:
*
* A globally unique event ID. Required.
*/
matrix_event_room_properties[PROP_EVENT_ID] = g_param_spec_string(
"event-id", "event-id", "event-id",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_EVENT_ID, matrix_event_room_properties[PROP_EVENT_ID]);
/**
* MatrixEventRoom:room-id:
*
* The ID of the room associated with this event. Required, but it
* may be stripped by HS implementations from some APIs if they
* reside under a key marked with the room ID.
*/
matrix_event_room_properties[PROP_ROOM_ID] = g_param_spec_string(
"room-id", "room-id", "room-id",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_ROOM_ID, matrix_event_room_properties[PROP_ROOM_ID]);
/**
* MatrixEventRoom:sender:
*
* The fully qualified Matrix ID of the user who sent the
* event. Required.
*/
matrix_event_room_properties[PROP_SENDER] = g_param_spec_string(
"sender", "sender", "sender",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_SENDER, matrix_event_room_properties[PROP_SENDER]);
/**
* MatrixEventRoom:age:
*
* The time, in milliseconds, that has elapsed since the event was sent. This is part of
* the unsigned event data.
*
* This value will be omitted from the generated event JSON if less than zero.
*/
matrix_event_room_properties[PROP_AGE] = g_param_spec_long(
"age", "age", "age",
G_MINLONG, G_MAXLONG, 0,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_AGE, matrix_event_room_properties[PROP_AGE]);
/**
* MatrixEventRoom:redacted-because:
*
* The reason this event was redacted, if it was redacted.
*/
matrix_event_room_properties[PROP_REDACTED_BECAUSE] = g_param_spec_string(
"redacted-because", "redacted-because", "redacted-because",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_REDACTED_BECAUSE, matrix_event_room_properties[PROP_REDACTED_BECAUSE]);
/**
* MatrixEventRoom:transaction-id:
*
* The client-supplied transaction ID. This should only be set if
* the client being given the event is the same one which sent it.
*/
matrix_event_room_properties[PROP_TRANSACTION_ID] = g_param_spec_string(
"transaction-id", "transaction-id", "transaction-id",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_TRANSACTION_ID, matrix_event_room_properties[PROP_TRANSACTION_ID]);
}
static void
matrix_event_room_init(MatrixEventRoom *matrix_event_room)
{
MatrixEventRoomPrivate *priv = matrix_event_room_get_instance_private(matrix_event_room);
priv->_event_id = NULL;
priv->_room_id = NULL;
priv->_sender = NULL;
priv->_age = 0;
priv->_redacted_because = NULL;
priv->_transaction_id = NULL;
}

View File

@ -1,46 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_ROOM_BASE_H__
# define __MATRIX_GLIB_SDK_EVENT_ROOM_BASE_H__
# include <glib-object.h>
# include "matrix-event-base.h"
# define MATRIX_EVENT_TYPE_ROOM matrix_event_room_get_type()
G_DECLARE_DERIVABLE_TYPE(MatrixEventRoom, matrix_event_room, MATRIX_EVENT, ROOM, MatrixEventBase)
struct _MatrixEventRoomClass {
MatrixEventBaseClass parent_class;
};
MatrixEventRoom *matrix_event_room_construct(GType object_type);
const gchar *matrix_event_room_get_event_id(MatrixEventRoom *event);
void matrix_event_room_set_event_id(MatrixEventRoom *event, const gchar *event_id);
const gchar *matrix_event_room_get_room_id(MatrixEventRoom *event);
void matrix_event_room_set_room_id(MatrixEventRoom *event, const gchar *room_id);
const gchar *matrix_event_room_get_sender(MatrixEventRoom *event);
void matrix_event_room_set_sender(MatrixEventRoom *event, const gchar *sender);
glong matrix_event_room_get_age(MatrixEventRoom *event);
void matrix_event_room_set_age(MatrixEventRoom *event, glong age);
const gchar *matrix_event_room_get_redacted_because(MatrixEventRoom *event);
void matrix_event_room_set_redacted_because(MatrixEventRoom *event, const gchar *redacted_because);
const gchar *matrix_event_room_get_transaction_id(MatrixEventRoom *event);
void matrix_event_room_set_transaction_id(MatrixEventRoom *event, const gchar *transaction_id);
#endif /* __MATRIX_GLIB_SDK_EVENT_ROOM_BASE_H__ */

View File

@ -1,245 +0,0 @@
/*
* This file is part of matrix-glib-sdk
*
* matrix-glib-sdk is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* matrix-glib-sdk is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with matrix-glib-sdk. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "matrix-event-room-canonical-alias.h"
#include "matrix-types.h"
#include "config.h"
/**
* SECTION:matrix-event-room-canonical-alias
* @short_description: event to set a rooms canonical alias
*
* This is the default handler for `m.room.canonical_alias` events.
*
* This event is used to inform the room about which alias should be considered the canonical
* one. This could be for display purposes or as suggestion to users which alias to use to
* advertise the room.
*/
enum {
PROP_0,
PROP_CANONICAL_ALIAS,
NUM_PROPERTIES
};
static GParamSpec *matrix_event_room_canonical_alias_properties[NUM_PROPERTIES];
typedef struct {
gchar* _canonical_alias;
} MatrixEventRoomCanonicalAliasPrivate;
/**
* MatrixEventRoomCanonicalAlias:
*/
G_DEFINE_TYPE_WITH_PRIVATE(MatrixEventRoomCanonicalAlias, matrix_event_room_canonical_alias, MATRIX_EVENT_TYPE_STATE);
static void
matrix_event_room_canonical_alias_real_from_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventRoomCanonicalAliasPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
JsonNode *node;
g_return_if_fail (json_data != NULL);
priv = matrix_event_room_canonical_alias_get_instance_private(MATRIX_EVENT_ROOM_CANONICAL_ALIAS(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
#if DEBUG
if ((node = json_object_get_member(root, "state_key")) != NULL) {
const gchar *state_key = json_node_get_string(node);
if ((state_key == NULL) || (*state_key == 0)) {
g_warning("state_key of a m.room.canonical_alias event is non-empty");
}
}
#endif
if ((node = json_object_get_member(content_root, "alias")) != NULL) {
g_free(priv->_canonical_alias);
priv->_canonical_alias = g_strdup(json_node_get_string(node));
}
MATRIX_EVENT_BASE_CLASS(matrix_event_room_canonical_alias_parent_class)->from_json(matrix_event_base, json_data, error);
}
static void
matrix_event_room_canonical_alias_real_to_json(MatrixEventBase *matrix_event_base, JsonNode *json_data, GError **error)
{
MatrixEventRoomCanonicalAliasPrivate *priv;
JsonObject *root;
JsonObject *content_root;
JsonNode *content_node;
const gchar *state_key;
g_return_if_fail(json_data != NULL);
priv = matrix_event_room_canonical_alias_get_instance_private(MATRIX_EVENT_ROOM_CANONICAL_ALIAS(matrix_event_base));
root = json_node_get_object(json_data);
content_node = json_object_get_member(root, "content");
content_root = json_node_get_object(content_node);
state_key = matrix_event_state_get_state_key(MATRIX_EVENT_STATE(matrix_event_base));
if ((state_key == NULL) || (*state_key == 0)) {
g_set_error(error, MATRIX_ERROR, MATRIX_ERROR_INCOMPLETE,
"Won't generate a m.room.canonical_alias event with a non-empty state_key");
return;
}
if (priv->_canonical_alias != NULL) {
json_object_set_string_member(content_root, "alias", priv->_canonical_alias);
}
MATRIX_EVENT_BASE_CLASS(matrix_event_room_canonical_alias_parent_class)->to_json(matrix_event_base, json_data, error);
}
/**
* matrix_event_room_canonical_alias_new:
*
* Create a new #MatrixEventRoomCanonicalAlias object
*
* Returns: (transfer full): a new #MatrixEventRoomCanonicalAlias
*/
MatrixEventRoomCanonicalAlias *
matrix_event_room_canonical_alias_new(void)
{
return (MatrixEventRoomCanonicalAlias *)matrix_event_state_construct(MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS);
}
/**
* matrix_event_room_canonical_alias_get_canonical_alias:
* @event: a #MatrixEventRoomCanonicalAlias
*
* Get the canonical alias from @event.
*
* The returned value is owned by @event and should not be freed.
*
* Returns: (transfer none) (nullable): the canonical alias
*/
const gchar *
matrix_event_room_canonical_alias_get_canonical_alias(MatrixEventRoomCanonicalAlias *matrix_event_room_canonical_alias)
{
MatrixEventRoomCanonicalAliasPrivate *priv;
g_return_val_if_fail(matrix_event_room_canonical_alias != NULL, NULL);
priv = matrix_event_room_canonical_alias_get_instance_private(matrix_event_room_canonical_alias);
return priv->_canonical_alias;
}
/**
* matrix_event_room_canonical_alias_set_canonical_alias:
* @event: a #MatrixEventRoomCanonicalAlias
* @canonical_alias: (transfer none) (nullable): a canonical alias
*
* Set the canonical alias in @event.
*/
void
matrix_event_room_canonical_alias_set_canonical_alias(MatrixEventRoomCanonicalAlias *matrix_event_room_canonical_alias, const gchar *canonical_alias)
{
MatrixEventRoomCanonicalAliasPrivate *priv;
g_return_if_fail(matrix_event_room_canonical_alias != NULL);
priv = matrix_event_room_canonical_alias_get_instance_private(matrix_event_room_canonical_alias);
if (g_strcmp0(canonical_alias, priv->_canonical_alias) != 0) {
g_free(priv->_canonical_alias);
priv->_canonical_alias = g_strdup(canonical_alias);
g_object_notify_by_pspec((GObject *)matrix_event_room_canonical_alias, matrix_event_room_canonical_alias_properties[PROP_CANONICAL_ALIAS]);
}
}
static void
matrix_event_room_canonical_alias_finalize(GObject *gobject)
{
MatrixEventRoomCanonicalAliasPrivate *priv = matrix_event_room_canonical_alias_get_instance_private(MATRIX_EVENT_ROOM_CANONICAL_ALIAS(gobject));
g_free(priv->_canonical_alias);
G_OBJECT_CLASS(matrix_event_room_canonical_alias_parent_class)->finalize(gobject);
}
static void
matrix_event_room_canonical_alias_get_property(GObject *gobject, guint property_id, GValue *value, GParamSpec *pspec)
{
MatrixEventRoomCanonicalAlias *matrix_event_room_canonical_alias = MATRIX_EVENT_ROOM_CANONICAL_ALIAS(gobject);
switch (property_id) {
case PROP_CANONICAL_ALIAS:
g_value_set_string(value, matrix_event_room_canonical_alias_get_canonical_alias(matrix_event_room_canonical_alias));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_room_canonical_alias_set_property(GObject *gobject, guint property_id, const GValue *value, GParamSpec *pspec)
{
MatrixEventRoomCanonicalAlias *matrix_event_room_canonical_alias = MATRIX_EVENT_ROOM_CANONICAL_ALIAS(gobject);
switch (property_id) {
case PROP_CANONICAL_ALIAS:
matrix_event_room_canonical_alias_set_canonical_alias(matrix_event_room_canonical_alias, g_value_get_string(value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, property_id, pspec);
break;
}
}
static void
matrix_event_room_canonical_alias_class_init(MatrixEventRoomCanonicalAliasClass *klass)
{
((MatrixEventBaseClass *)klass)->from_json = matrix_event_room_canonical_alias_real_from_json;
((MatrixEventBaseClass *)klass)->to_json = matrix_event_room_canonical_alias_real_to_json;
G_OBJECT_CLASS(klass)->get_property = matrix_event_room_canonical_alias_get_property;
G_OBJECT_CLASS(klass)->set_property = matrix_event_room_canonical_alias_set_property;
G_OBJECT_CLASS(klass)->finalize = matrix_event_room_canonical_alias_finalize;
/**
* MatrixEventRoomCanonicalAlias:canonical-alias:
*
* The canonical alias.
*/
matrix_event_room_canonical_alias_properties[PROP_CANONICAL_ALIAS] = g_param_spec_string(
"canonical-alias", "canonical-alias", "canonical-alias",
NULL,
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
g_object_class_install_property(G_OBJECT_CLASS(klass), PROP_CANONICAL_ALIAS, matrix_event_room_canonical_alias_properties[PROP_CANONICAL_ALIAS]);
}
static void
matrix_event_room_canonical_alias_init(MatrixEventRoomCanonicalAlias *matrix_event_room_canonical_alias)
{
MatrixEventRoomCanonicalAliasPrivate *priv = matrix_event_room_canonical_alias_get_instance_private(matrix_event_room_canonical_alias);
priv->_canonical_alias = NULL;
}

View File

@ -1,40 +0,0 @@
/*
*This file is part of matrix-glib-sdk
*
*matrix-glib-sdk is free software: you can redistribute it and/or
*modify it under the terms of the GNU Lesser General Public
*License as published by the Free Software Foundation, either
*version 3 of the License, or (at your option) any later version.
*
*matrix-glib-sdk is distributed in the hope that it will be
*useful, but WITHOUT ANY WARRANTY; without even the implied
*warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*See the GNU Lesser General Public License for more details.
*
*You should have received a copy of the GNU Lesser General Public
*License along with matrix-glib-sdk. If not, see
*<http://www.gnu.org/licenses/>.
*/
#ifndef __MATRIX_GLIB_SDK_EVENT_ROOM_CANONICAL_ALIAS_H__
# define __MATRIX_GLIB_SDK_EVENT_ROOM_CANONICAL_ALIAS_H__
# include <glib-object.h>
# include "matrix-event-state-base.h"
G_BEGIN_DECLS
#define MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS (matrix_event_room_canonical_alias_get_type ())
G_DECLARE_DERIVABLE_TYPE(MatrixEventRoomCanonicalAlias, matrix_event_room_canonical_alias, MATRIX_EVENT, ROOM_CANONICAL_ALIAS, MatrixEventState)
struct _MatrixEventRoomCanonicalAliasClass {
MatrixEventStateClass parent_class;
};
MatrixEventRoomCanonicalAlias *matrix_event_room_canonical_alias_new (void);
const gchar *matrix_event_room_canonical_alias_get_canonical_alias (MatrixEventRoomCanonicalAlias *event);
void matrix_event_room_canonical_alias_set_canonical_alias (MatrixEventRoomCanonicalAlias *event, const gchar *canonical_alias);
G_END_DECLS
#endif /* __MATRIX_GLIB_SDK_EVENT_ROOM_CANONICAL_ALIAS_H__ */

Some files were not shown because too many files have changed in this diff Show More