Gio.DBusMessage.prototype.set_message_type

function set_message_type(type: Gio.DBusMessageType): void {
    // Gjs wrapper for g_dbus_message_set_message_type()
}
  

Sets message to be of type.

Since 2.26

type

A 8-bit unsigned integer (typically a value from the Gio.DBusMessageType enumeration).