Skip to content

Commit

Permalink
Idem
Browse files Browse the repository at this point in the history
  • Loading branch information
realcoloride authored Jan 15, 2024
1 parent 2d1cd94 commit 23a72fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ await chat.uploadImage("https://www.example.com/image.jpg");
await chat.uploadImage("./photos/image.jpg");

// Other supported types are Buffers, Readable Streams, File Paths, and URLs
await chat.uploadImage(imageBuffer, "image/png");
await chat.uploadImage(imageBuffer);

// Including the image relative path is necessary to upload an image
await chat.sendAndAwaitResponse({
Expand Down

0 comments on commit 23a72fd

Please sign in to comment.