def handle_presence(dictionary): print type(dictionary) print dictionary.keys() for x in dictionary.keys(): print x print type(dictionary[x]) print dictionary[x] print "status changed"
bus = dbus.SessionBus()
account = bus.get_object('org.freedesktop.Telepathy.AccountManager', '/org/freedesktop/Telepathy/Connection/theonering/gv/username_40gmail_2ecom/channel6')
account.Set('org.freedesktop.Telepathy.Channel.Interface.Messages', 'Send', dbus.Struct(( dbus.UInt32(0) , presence_text, ""), signature='uss'), dbus_interface='org.freedesktop.DBus.Properties')