summaryrefslogtreecommitdiff
path: root/spec/Channel_Interface_SMS.xml
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-04-20 18:25:18 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-04-20 19:10:39 +0100
commit9dc915cb9f1b0acb7666e9a563f8f0bd9d5c6ac6 (patch)
tree1cacee0cf3444ef1ace0702ad2adeea13166b9b4 /spec/Channel_Interface_SMS.xml
parent98646464068863f114a5c3d28e02743a10a5b40d (diff)
downloadtelepathy-glib-9dc915cb9f1b0acb7666e9a563f8f0bd9d5c6ac6.tar.gz
Fully update spec to 0.22.2
Diffstat (limited to 'spec/Channel_Interface_SMS.xml')
-rw-r--r--spec/Channel_Interface_SMS.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/spec/Channel_Interface_SMS.xml b/spec/Channel_Interface_SMS.xml
index 4cfe3f2f8..235046c36 100644
--- a/spec/Channel_Interface_SMS.xml
+++ b/spec/Channel_Interface_SMS.xml
@@ -59,6 +59,36 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
namespace='ofdT.Client.Handler'>BypassApproval</tp:dbus-ref> property
to <code>True</code>, so that it is invoked immediately for new
channels.</p>
+
+ <h4>Contact Capabilities</h4>
+
+ <p>Contacts to whom SMSes can be sent SHOULD indicate this via a
+ requestable channel class with
+ <tp:member-ref>SMSChannel</tp:member-ref> = True as a fixed
+ property.</p>
+
+ <p>For instance, a contact that can accept both text and SMS channels:</p>
+
+ <blockquote><code>
+[<br/>
+ ({ ...<tp:dbus-ref namespace='ofdT.Channel'>ChannelType</tp:dbus-ref>:
+ ...<tp:dbus-ref namespace='ofdT.Channel.Type'>Text</tp:dbus-ref>,<br/>
+    ...<tp:dbus-ref namespace='ofdT.Channel'>TargetHandleType</tp:dbus-ref>:
+ <tp:type>Handle_Type</tp:type>_Contact,<br/>
+  },<br/>
+  [ ...<tp:dbus-ref namespace='ofdT.Channel'>TargetHandle</tp:dbus-ref>,
+ ...<tp:dbus-ref namespace='ofdT.Channel'>TargetID</tp:dbus-ref> ]),<br/>
+<br/>
+ ({ ...<tp:dbus-ref namespace='ofdT.Channel'>ChannelType</tp:dbus-ref>:
+ ...<tp:dbus-ref namespace='ofdT.Channel.Type'>Text</tp:dbus-ref>,<br/>
+    ...<tp:dbus-ref namespace='ofdT.Channel'>TargetHandleType</tp:dbus-ref>:
+ <tp:type>Handle_Type</tp:type>_Contact,<br/>
+    ...<tp:member-ref>SMSChannel</tp:member-ref>: True,<br/>
+  },<br/>
+  [ ...<tp:dbus-ref namespace='ofdT.Channel'>TargetHandle</tp:dbus-ref>,
+ ...<tp:dbus-ref namespace='ofdT.Channel'>TargetID</tp:dbus-ref> ]),<br/>
+]
+ </code></blockquote>
</tp:docstring>
<property name="Flash" tp:name-for-bindings="Flash"