edit

fun <T : Data> T.edit(edits: T.() -> Unit)

Apply an edit to a Data and save to file.


suspend fun Message.edit(menu: Menu): Message

Replace an existing message with a Menu.