CustomModerationOption

data class CustomModerationOption(val text: Int, val extraData: Map<String, Any> = emptyMap()) : ModeratedMessageOption

Custom actions that you can define for moderated messages.

Constructors

Link copied to clipboard
constructor(text: Int, extraData: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
open override val text: Int

The text to be shown for the action.