From: ced-b Date: Tue, 1 Nov 2022 21:47:43 +0000 (-0400) Subject: Add command to get an attachment (#1080) X-Git-Tag: v0.11.5~16 X-Git-Url: https://git.nmode.ca/signal-cli/commitdiff_plain/2e4d346bc826da5c35a17841772cf81ba4f98101?hp=2e4d346bc826da5c35a17841772cf81ba4f98101 Add command to get an attachment (#1080) * Add command to get an attachment * Refactor retrieving of attachments to use StreamDetails * Refactor AttachmentCommand to GetAttachmentCommand * Minor improvements to GetAttachmentCommand * Use JSON serializer to serialize binary data Serializing the stream is better for memory handling than loading the whole thing into the file. * Clean up unneeded class * Added command to doc Co-authored-by: cedb ---