twilight-model 0.17.1

Discord API models for the Twilight ecosystem.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::application::interaction::modal::ModalInteractionComponent;

/// User filled in [`ActionRow`].
///
/// [`ActionRow`]: crate::channel::message::component::ActionRow
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct ModalInteractionActionRow {
    /// Unique identifier for the component.
    pub id: i32,
    /// List of components.
    pub components: Vec<ModalInteractionComponent>,
}