--- url: "https://asyncapi.com/docs/concepts/message" titulek: "Message | AsyncAPI Initiative for event-driven APIs" h1: "Message" popis: "What is a message? A message is a communication asset that transmits or exchanges information from a sender to the receiver through channels. One message can also be defined as an event or command a" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 02:44:49" znaku: 1793 slov: 231 kodovani: "utf-8" sha256: "f8d7659f73ec3bf98e495dcb966807b0f0851bef636090b1e69cb1b05dd84ae5" --- ##### On this page What is a message? Messages vs Events # Message Found an error? Have a suggestion?[Edit this page on GitHub](https://github.com/asyncapi/website/blob/master/markdown/docs/concepts/message.md) ## What is a message? A *message* is a communication asset that transmits or exchanges information from a sender to the receiver through channels. One message can also be defined as an event or command and can be consumed by multiple independent receivers. The sender encodes a payload of data (serialized into a suitable format, such as JSON, XML, binary, or others) that requires processing by the receiver. Additionally, the message may include *metadata*, which is information that describes the message itself. This metadata is commonly referred to as *headers* or *properties*. The diagram above illustrates how a sender application transmits a message through a channel to a receiver application, demonstrating the basic flow of message-based communication. ## Messages vs Events A **message** conveys information between applications, while an **event** is a message that provides details of something that has already occurred. A crucial aspect to note is that depending on the type of information a message carries, it can either be an event, query, or command. Check the diagram below. Summing up, events are messages, but not all messages are events. [Go BackProtocol](/docs/concepts/protocol) [Up NextAsyncAPI Document - Introduction](/docs/concepts/asyncapi-document) Was this helpful? Help us improve the docs by sharing your feedback. [Submit Feedback](https://github.com/asyncapi/website/issues/new?template=docs-feedback.yml&title=Docs%20Feedback%3A%20%2Fdocs%2Fconcepts%2Fmessage&labels=%F0%9F%93%91%20docs) OR [Create Issue on GitHub](https://github.com/asyncapi/website/issues/new/choose)