CM.RoomEvent
Description: Reference for CM.RoomEvent

### Class

# CMRoomEvent

#### Description [src]

    class CM.RoomEvent : CM.Event
    {
      /* No available fields */
    }

An event that is associated with a matrix room like e.g. a topic change or member event. Basically Matrix message of type `m.room.*`.

This class somewhat confusingly represents different room event types and is also used as base class for more specific room events like `CmRoomMessageEvent`.

#### Ancestors

- CmEvent
- GObject

#### Descendants

- CmRoomMessageEvent

#### Instance methods

###### cm_room_event_get_room

Get the room this event belongs to.

###### cm_room_event_get_room_member

Get the room member of this room event.

##### Methods inherited from CmEvent (6)

###### cm_event_get_id

No description available.

###### cm_event_get_m_type

Get the Matrix type of an event.

###### cm_event_get_sender

Get the sender of the event.

###### cm_event_get_state

No description available.

###### cm_event_get_time_stamp

Get the event time stamp in milliseconds.

###### cm_event_is_encrypted

No description available.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Signals

##### Signals inherited from CmEvent (1)

###### CmEvent::updated

Emitted when the state of the event changed. See `CmEventState` and `cm_event_get_state()`.

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct CMRoomEventClass {
      CmEventClass parent_class;

    }

No description available.

###### Class members

`parent_class: CmEventClass`

  No description available.