Documentation
Parsers
File Parser

File Parser

File parser consists of 2 parts: file and attachment.

File

file converts the provided text into an attachable file.

Usage

{
    file: name: content;
}

Properties

PropertyTypeDescriptionRequired
namestringFile nameYes
contentstringFile contentYes

Example

{file:
    file.txt:
    This is a file.
}

Attachment

attachment converts the provided url into an attachable file.

Usage

{
    attachment: name: url;
}

Properties

PropertyTypeDescriptionRequired
namestringFile nameYes
urlstringUrlYes

Example

{attachment:
    file.png:
    https://cdn.vox-cdn.com/thumbor/WR9hE8wvdM4hfHysXitls9_bCZI=/0x0:1192x795/1400x1400/filters:focal(596x398:597x399)/cdn.vox-cdn.com/uploads/chorus_asset/file/22312759/rickroll_4k.jpg
}