Skip to main content

component_attachments

Function component_attachments 

Source
pub fn component_attachments(
    components: &[Component],
) -> Vec<(&'static str, AttachmentId)>
Expand description

Every attachment the components show (thumbnails, gallery pictures, files), with the field naming it; each must be an attachment of the same message.