Skip to main content

find_interactive

Function find_interactive 

Source
pub fn find_interactive<'a>(
    components: &'a [Component],
    custom_id: &str,
) -> Option<&'a Component>
Expand description

The enabled interactive component (button with a custom_id, or a select) with custom_id among a message’s components: what a MESSAGE_COMPONENT interaction may name.