withMessage

fun withMessage(messageObj: MessageBehavior): StorageUnit<T>

Copy this StorageUnit, applying the given message's ID to its context.


fun withMessage(messageId: Snowflake): StorageUnit<T>

Copy this StorageUnit, applying the given message ID to its context.