pub type Interaction = Interaction;Aliased Type§
pub struct Interaction {
pub interaction_id: String,
pub bot_id: String,
pub channel_id: String,
pub member: Member,
pub app_permissions: u64,
pub locale: Option<String>,
pub message: Option<Message>,
pub data: InteractionData,
pub created_at: u64,
}Fields§
§interaction_id: String§bot_id: String§channel_id: String§member: MemberThe invoker.
app_permissions: u64The bot’s effective permissions in the channel.
locale: Option<String>§message: Option<Message>For component interactions: the message holding the component.
data: InteractionData§created_at: u64