keepAttachment

inline fun MessageModifyBuilder.keepAttachment(id: Snowflake, builder: AttachmentBuilder.() -> Unit = {})(source)

Keeps the attachment with the given id, so it will be present after editing the message.

The attachment object can optionally be edited with builder.