Skip to content

Function command::object::component_attachments

zaun_community_protocol::command::object::component_attachments · Function

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

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

Full rustdoc page