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.
pub async fn attach_bytes(
client: &Client,
account: &str,
file: &InlineFile,
) -> Result<Attachment>Uploads a file held in memory, to attach it to a message that does not go end-to-end encrypted.