Conversation
wow, i'm impressed! 😄 |
src/forwardAttachment.js
Outdated
} | ||
|
||
defaultFuncs | ||
.post("https://www.messenger.com/mercury/attachments/forward/?dpr=1", ctx.jar, form) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would imagine you can remove that ?dpr=1
param. Could you double check if it works without?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed, It's works good without it
DOCS.md
Outdated
Takes a userID or an array of userIDs and forward the corresponding attachment. | ||
|
||
__Arguments__ | ||
* `attachmentID`: A attachment ID (usualy `attribute.ID` property) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you rephrase this to be:
The ID
field in the attachment object. Not all attachment have ID
s: recorded audio and arbitrary files don't for example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you a lot for this, I still have problems with describing arguments (Or anything other). My English vocabulary and grammar is still bad.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, you're doing great! It's a tricky thing to get perfect.
(Don't worry, @bsansouci's first language is French so he understands how you feel)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To add my few cents: my first language is Polish 😄
It seems that I cannot forward audio files or files from the UI. So it's ok to not cover it (we don't get I added some comments. I can merge once you've fixed them. |
Thank you a lot for comments! I solved all of them! |
DOCS.md
Outdated
<a name="forwardAttachment"></a> | ||
### api.forwardAttachment(attachmentID, userOrUsers[, callback]) | ||
|
||
Takes a userID or an array of userIDs and forward the corresponding attachment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rephrase it this way:
"Forwards corresponding attachment to given userID or to every user from an array of userIDs"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Awesommmmeee! Merging! |
Attachment forwarding
You can forward various attachments for multiple users.
Actually I tested videos and images. GIFs should work too.
Can anyone test forwading files and audio files?