slack_api_client/
command.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Serialize, Deserialize, Debug)]
4pub struct SlackCommandRequest {
5 pub token: String,
6 pub command: String,
7 pub text: String,
8 pub response_url: String,
9 pub trigger_id: String,
10 pub user_id: String,
11 pub user_name: String,
12 pub team_id: String,
13 pub enterprise_id: Option<String>,
14 pub is_enterprise_install: bool,
15 pub channel_id: String,
16 pub team_domain: String,
17 pub channel_name: String,
18 pub api_app_id: String,
19}