Getting attachments of quoted messages #640
Unanswered
jamesoncollins
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The procedure for getting n attachment for a normal message is to get the attachment's ID and then retrieve that using v1/attachments/{id}
A normal message has an attachments field that looks like this:
"attachments":[{"contentType":"text/plain","filename":"asdf.txt","id":"NL8anAA0Ve4oIel0BTMW.txt","size":13,"width":null,"height":null,"caption":null,"uploadTimestamp":null}]
A quoted message will also show information about attachments, but it won't have an ID:
"attachments":[{"contentType":"text/plain","filename":"asdf.txt"}]
Is there anyway to download the attachment from the quote?
Beta Was this translation helpful? Give feedback.
All reactions