mirror of
https://github.com/multipleof4/sune.git
synced 2026-01-13 16:17:55 +00:00
Update FunctionCalling.md
This commit is contained in:
@@ -2,7 +2,7 @@ Sune function call (have Sunes attach files to their latest bubble)
|
||||
|
||||
In your Sune script, call:
|
||||
```js
|
||||
await window.suneAttach(files, { toAPI: true, tree: true })
|
||||
await window.suneAttach(files, { toAPI: false, tree: true })
|
||||
```
|
||||
files can be File objects or simple objects like:
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user