Skip to content

Conversation

@baudev
Copy link
Contributor

@baudev baudev commented Jun 5, 2018

Add the method getAttachmentUploadId() which allows sending files with external urls. It uses the Facebook Attachment Upload API.

You can use it as below:

bot.getAttachmentUploadId("https://images.pexels.com/photos/63324/california-road-highway-mountains-63324.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", true, "image", (err, body) => {
    // ...
});

baudev added 3 commits June 5, 2018 16:18
Add the method `getAttachmentUploadId()` which allows sending files with external urls. It uses the Facebook Attachment Upload API.
@eXeDK eXeDK merged commit 9cb5543 into remixz:master Jun 9, 2018
@baudev baudev deleted the baudev-upload_files_api branch June 11, 2018 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants