ESPHome  2024.11.0
Data Fields
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. More...
 
bool retain
 

Detailed Description

internal struct for MQTT messages.

Definition at line 24 of file mqtt_backend.h.

Field Documentation

◆ payload

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

Definition at line 26 of file mqtt_backend.h.

◆ qos

uint8_t esphome::mqtt::MQTTMessage::qos

QoS. Only for last will testaments.

Definition at line 27 of file mqtt_backend.h.

◆ retain

bool esphome::mqtt::MQTTMessage::retain

Definition at line 28 of file mqtt_backend.h.

◆ topic

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

Definition at line 25 of file mqtt_backend.h.


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