Struct slack_chat_api::MessageResponse [−][src]
pub struct MessageResponse {
pub response_type: MessageResponseType,
pub text: String,
}Expand description
A message to be sent in Slack.
Docs: https://api.slack.com/interactivity/slash-commands#responding_to_commands
Fields
response_type: MessageResponseTypetext: StringTrait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more