Represents a generic message structure. This type is used for defining a message format with a specific type and payload. It is generic and can accommodate different payload types.
The type of the payload.
The payload of the message, which can be of any type.
The type of the event or message.
Represents a generic message structure. This type is used for defining a message format with a specific type and payload. It is generic and can accommodate different payload types.