Function serenity::http::send_files[][src]

pub fn send_files<'a, T, It: IntoIterator<Item = T>>(
    channel_id: u64,
    files: It,
    map: Map<String, Value>
) -> Result<Message> where
    T: Into<AttachmentType<'a>>, 

Sends file(s) to a channel.

Errors

Returns an HttpError::InvalidRequest(PayloadTooLarge) if the file is too large to send.