## TpAddDispatchOperationContext TpAddDispatchOperationContext — context of a Approver.AddDispatchOperation() call |

## Synopsis

    #include <telepathy-glib/telepathy-glib.h>

                        TpAddDispatchOperationContext;
    void                tp_add_dispatch_operation_context_accept
                                                            (TpAddDispatchOperationContext *self);
    void                tp_add_dispatch_operation_context_delay
                                                            (TpAddDispatchOperationContext *self);
    void                tp_add_dispatch_operation_context_fail
                                                            (TpAddDispatchOperationContext *self,
                                                             const GError *error);

## Object Hierarchy

      GObject
       +----TpAddDispatchOperationContext

## Properties

      "account"                  TpAccount*            : Read / Write / Construct Only
      "channels"                 GPtrArray*            : Read / Write / Construct Only
      "connection"               TpConnection*         : Read / Write / Construct Only
      "dbus-context"             gpointer              : Write / Construct Only
      "dispatch-operation"       TpChannelDispatchOperation*  : Read / Write / Construct Only

## Description

Object used to represent the context of a Approver.AddDispatchOperation() D-Bus call on a TpBaseClient.

## Details

### TpAddDispatchOperationContext

    typedef struct _TpAddDispatchOperationContext TpAddDispatchOperationContext;

Data structure representing the context of a Approver.AddDispatchOperation() call.

Since 0.11.5

### tp_add_dispatch_operation_context_accept ()

    void                tp_add_dispatch_operation_context_accept
                                                            (TpAddDispatchOperationContext *self);

Called by TpBaseClientClassAddDispatchOperationImpl when it's done so the D-Bus method can return.

`self` : | a TpAddDispatchOperationContext

Since 0.11.5

### tp_add_dispatch_operation_context_delay ()

    void                tp_add_dispatch_operation_context_delay
                                                            (TpAddDispatchOperationContext *self);

Called by TpBaseClientClassAddDispatchOperationImpl to indicate that it implements the method in an async way. The caller must take a reference to the TpAddDispatchOperationContext before calling this function, and is responsible for calling either `tp_add_dispatch_operation_context_accept()` or `tp_add_dispatch_operation_context_fail()` later.

`self` : | a TpAddDispatchOperationContext

Since 0.11.5

### tp_add_dispatch_operation_context_fail ()

    void                tp_add_dispatch_operation_context_fail
                                                            (TpAddDispatchOperationContext *self,
                                                             const GError *error);

Called by TpBaseClientClassAddDispatchOperationImpl to raise a D-Bus error.

`self` : | a TpAddDispatchOperationContext
`error` : | the error to return from the method

Since 0.11.5

## Property Details

### The `"account"` property

      "account"                  TpAccount*            : Read / Write / Construct Only

A TpAccount object representing the Account of the DispatchOperation that has been passed to AddDispatchOperation. Read-only except during construction.

This property can't be `NULL`.

Since 0.11.5

### The `"channels"` property

      "channels"                 GPtrArray*            : Read / Write / Construct Only

A GPtrArray containing TpChannel objects representing the channels that have been passed to AddDispatchOperation. Read-only except during construction.

This property can't be `NULL`.

Since 0.11.5

### The `"connection"` property

      "connection"               TpConnection*         : Read / Write / Construct Only

A TpConnection object representing the Connection of the DispatchOperation that has been passed to AddDispatchOperation. Read-only except during construction.

This property can't be `NULL`.

Since 0.11.5

### The `"dbus-context"` property

      "dbus-context"             gpointer              : Write / Construct Only

The DBusGMethodInvocation representing the D-Bus context of the AddDispatchOperation call. Can only be written during construction.

Since 0.11.5

### The `"dispatch-operation"` property

      "dispatch-operation"       TpChannelDispatchOperation*  : Read / Write / Construct Only

A TpChannelDispatchOperation object representing the ChannelDispatchOperation that has been passed to AddDispatchOperation. Read-only except during construction.

This property can't be `NULL`.

Since 0.11.5