# Struct command::message::Send

> `message.send`.

`zaun_community_protocol::command::message::Send` · Struct

```rust
pub struct Send { … }
```

`message.send`.

## Fields

### `content: String`

≤ 4 000 scalars; at least 1 unless the message has an attachment or an embed.

### `embeds: Vec<Embed>`

Up to 10 rich embeds (`EMBED_LINKS`). Every picture an embed shows is one of
`attachments`.

### `reply_to: Option<MessageId>`

A message in the same channel.

### `mentions: Option<Mentions>`

Who to notify.

### `attachments: Vec<AttachmentId>`

Up to 10 distinct attachments this member uploaded to this channel and the host
stored (`attachment.upload`), not yet on a message.

SPEC: written without `?` in the protocol but absent from the the protocol example body; it defaults
to empty.

### `components: Vec<Component>`

Components; bot members only.

### `flags: Option<u32>`

Message flags; `EPHEMERAL` only in interaction replies.

## Trait implementations

`Body`, `Clone`, `Debug`, `Deserialize<'de>`, `Eq`, `PartialEq`, `Serialize`, `StructuralPartialEq`, `Validate`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/message/struct.Send.html)
