View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#4
To open the conversation app for this contact you can use the
D-Bus interface com.nokia.Account.Interface.ChannelRequests.Ensure Channel

A small python script:
Code:
python -c 'import dbus; print dbus.Bus().call_blocking("org.freedesktop.Telepathy.AccountManager","/org/freedesktop/Telepathy/Account/ring/tel/ring", "com.nokia.Account.Interface.ChannelRequests","EnsureChannel","a{sv}ts", ({"org.freedesktop.Telepathy.Channel.TargetHandleType":dbus.UInt32(1),"org.freedesktop.Telepathy.Channel.TargetID":"000000000","org.freedesktop.Telepathy.Channel.ChannelType":"org.freedesktop.Telepathy.Channel.Type.Text"},0,""))'
Replace the "000000000" with the phone number of your contact.

Last edited by nicolai; 2011-02-03 at 10:35.
 

The Following 16 Users Say Thank You to nicolai For This Useful Post: