Goa.Object.get_chat

### Method

# Goa Object get_chat

#### Declaration [src]

    GoaChat*
    goa_object_get_chat (
      GoaObject* object
    )

#### Description [src]

Gets the `GoaChat` instance for the D-Bus interface org.gnome.OnlineAccounts.Chat on `object`, if any.

Gets property | `Goa.Object:chat`

#### Return value

Type: `GoaChat`

A `GoaChat` that must be freed with `g_object_unref()` or `NULL` if `object` does not implement the interface.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.