Asynchronously calls CreateChannel on the ChannelDispatcher to create a channel with the properties defined in
TpAccountChannelRequest:request
that you are going to handle yourself.
When the operation is finished, callback
will be called. You can then call
create_and_handle_channel_async.end to get the result of the operation.
(Behind the scenes, this works by creating a temporary BaseClient,
then acting like create_channel_async with the
temporary BaseClient as the preferred_handler
.)
The caller is responsible for closing the channel with tp_cli_channel_call_close
when it has finished handling it.
this | |
cancellable |
optional Cancellable object, |
callback |
a callback to call when the request is satisfied |
user_data |
data to pass to |