Skip to main content

attach_bytes

Function attach_bytes 

Source
pub async fn attach_bytes(
    client: &Client,
    account: &str,
    file: &InlineFile,
) -> Result<Attachment>
Expand description

Uploads a file held in memory, to attach it to a message that does not go end-to-end encrypted.