Skip to content

Commit

Permalink
Improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigokamada committed Jan 23, 2020
1 parent b4a46c8 commit caafda3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/facebook-send-file-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const client = new Client(process.env.ZENVIA_API_TOKEN);

const facebook = client.getChannel('facebook');

const content = new FileContent('https://github.com/zenvia/zenvia-openapi-spec/raw/master/assets/zenvia-logo-developers.png', 'image/png', 'Zenvia Developers');
const content = new FileContent('https://github.com/zenvia/zenvia-openapi-spec/raw/master/assets/zenvia-logo-developers.png', 'image/png');

facebook.sendMessage(process.env.FROM, process.env.TO, content)
.then(response => {
Expand Down

0 comments on commit caafda3

Please sign in to comment.