2
<node name="/Channel_Dispatcher_Interface_Messages"
3
xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
5
<tp:copyright>Copyright (C) 2011 Collabora Ltd.</tp:copyright>
6
<tp:copyright>Copyright (C) 2011 Nokia Corporation</tp:copyright>
7
<tp:license xmlns="http://www.w3.org/1999/xhtml">
8
<p>This library is free software; you can redistribute it and/or
9
modify it under the terms of the GNU Lesser General Public
10
License as published by the Free Software Foundation; either
11
version 2.1 of the License, or (at your option) any later version.</p>
13
<p>This library is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
Lesser General Public License for more details.</p>
18
<p>You should have received a copy of the GNU Lesser General Public
19
License along with this library; if not, write to the Free Software
20
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
24
<interface name="org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages.DRAFT"
25
tp:causes-havoc="not yet final">
27
<tp:requires interface="org.freedesktop.Telepathy.ChannelDispatcher"/>
29
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
30
<p>This interface allows users of the ChannelDispatcher to send one-off
31
text messages to a contact, identified by account and target ID.</p>
34
<p>This enables entities other than the main UI to send one-off messages
39
<method name="SendMessage" tp:name-for-bindings="Send_Message">
40
<arg direction="in" name="Account" type="o"/>
41
<arg direction="in" name="TargetID" type="s"/>
42
<arg direction="in" name="Message" type="aa{sv}" tp:type="Message_Part[]"/>
43
<arg direction="in" name="Flags" type="u"/>
44
<arg direction="out" name="Token" type="s"/>