import CodeBlock from "@theme/CodeBlock";
import simple_message from "!!raw-loader!../../../../../bindings/python/examples/06_simple_message.py";
You can use the
[`Client.message()`](./../libraries/python/api_reference#messageseed-optional-account_index-optional-initial_address_index-optional-inputs-optional-input_range_begin-optional-input_range_end-optional-outputs-optional-dust_allowance_outputs-optional-index-optional-index_raw-optional-data-optional-data_str-optional-parents-optional-message)
function to prepare a message instance and send it over a network. It accepts wide range of input parameters and can
help with any kind of message type you want to broadcast.
<CodeBlock className="language-python">{simple_message}</CodeBlock>
**Output example**:
```string
{
"message_id":"e2daa4c6b012b615becd6c12189b2c9e701ba0d53b31a15425b21af5105fc086",
"network_id":7712883261355838377,
"parents":[
"0e2705ce50fec88f896663d4b7d562e74cbcfdd951ac482b1f03cfa5f27396d7",
"0f5a0b2041766127c3f3bff2dd653b450b72e364765fcc805a40423c59ed01f9",
"20635b30aee437575d7e6abdf6629eec80543bee30848b0abdda2200fc11a977",
"da97cd6cfcbb854b8fd3f064c8459c5c9eae80dbd5ef594a3e1a26dcb8fc078c"
],
"payload":"None",
"nonce":2305843009213869242
}
```
- `message_id` is a unique id that refers to the given message in the network.
- Every message in the Tangle should refer to up to 8 other messages. These are indicated in the `parents` section.
- No actual `payload` was given in this example message (`payload=None`).
- `nonce` refer to a result of proof-of-work.