$attachment
Adds a attachment to the bot's response.
Usage
This function has two params.
Param | Description | Type | Required |
---|---|---|---|
URL | The URL of this attachment. | String | Yes |
name.extension | The name and extension of this attachment. | String | No |
The 'URL' must end with a extension, else it is sent as a unpreviewable file.
Example
Last updated