# Class: MqttSubscribeMessage

## vertx-mqtt-server-js/mqtt_subscribe_message~ MqttSubscribeMessage

#### new MqttSubscribeMessage()

Represents an MQTT SUBSCRIBE message

Source:
  - vertx-mqtt-server-js/mqtt_subscribe_message.js, line 31

### Methods

#### messageId() → {number}

Source:
  - vertx-mqtt-server-js/mqtt_subscribe_message.js, line 43

##### Returns:

Message identifier

Type
  number

#### topicSubscriptions() → {Array.<MqttTopicSubscription>}

Source:
  - vertx-mqtt-server-js/mqtt_subscribe_message.js, line 59

##### Returns:

List with topics and related quolity of service levels

Type
  Array.<MqttTopicSubscription>