Skip to main content

new


General

Creates an attachment.


Usage

Attachment.new(<string> file, (string) name)
Returns: <Attachment> attachment


Example

local Attachment = Okwo.class.Attachment

Attachment.new('https://0q0.eu/img/okwo.png', 'OkwoLogoSource.txt')