pub fn upload(
channel_id: &str,
name: &str,
mime: &str,
bytes: &[u8],
) -> Result<Id, HostError>Expand description
Uploads a file for the bot’s next message (capability attachments). Returns the
attachment id to put in message-body.attachments.