name


General

Returns the attached file's name.


Usage

Attachment:name()
Returns: <string> name


Example

local myAttachment = Attachment.new('https://0q0.eu/img/okwo.png', 'OkwoLogoSource.txt')
print(myAttachment:name())

Back to top