ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::mqtt::MQTTMessage Struct Reference

internal struct for MQTT messages. More...

#include <mqtt_backend.h>

Data Fields

std::string topic
 
std::string payload
 
uint8_t qos
 QoS. Only for last will testaments.
 
bool retain
 

Detailed Description

internal struct for MQTT messages.

Definition at line 31 of file mqtt_backend.h.

Field Documentation

◆ payload

std::string esphome::mqtt::MQTTMessage::payload

Definition at line 33 of file mqtt_backend.h.

◆ qos

uint8_t esphome::mqtt::MQTTMessage::qos

QoS. Only for last will testaments.

Definition at line 34 of file mqtt_backend.h.

◆ retain

bool esphome::mqtt::MQTTMessage::retain

Definition at line 35 of file mqtt_backend.h.

◆ topic

std::string esphome::mqtt::MQTTMessage::topic

Definition at line 32 of file mqtt_backend.h.


The documentation for this struct was generated from the following file: