tock / ai.tock.bot.api.client / ClientBus / newAttachment

newAttachment

open fun newAttachment(url: String, type: AttachmentType? = null): Attachment (source)

Creates a new Attachment.