pub type MessageContent = Content;
Expand description
Message content type alias.
Aliased Type§
pub enum MessageContent {
Text {
text: String,
},
Image {
data: String,
mime_type: String,
},
Resource {
uri: String,
text: Option<String>,
mime_type: Option<String>,
},
}