2
<node name="/Channel_Dispatcher_Interface_Messages_Draft"
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,
25
name="org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages.DRAFT"
26
tp:causes-havoc="not yet final">
28
<tp:requires interface="org.freedesktop.Telepathy.ChannelDispatcher"/>
30
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
32
This interface allows DBus clients to use the ChannelDispatcher to
33
send one-off text messages to a contact, identified by account and
34
target ID, without requiring the caller to handle channels or be
35
the primary message UI.
40
This enables entities other than the main UI to send messages
46
<method name="SendMessage" tp:name-for-bindings="Send_Message">
47
<arg direction="in" name="Account" type="o"/>
48
<arg direction="in" name="TargetID" type="s"/>
49
<arg direction="in" name="Message" type="aa{sv}"
50
tp:type="Message_Part[]"/>
51
<arg direction="in" name="Flags" type="u"/>
52
<arg direction="out" name="Token" type="s"/>