AllowedMentions

@Serializable
data class AllowedMentions(val allowedMentionTypes: List<MentionTypes> = emptyList(), val allowedMentionRoles: List<String> = emptyList(), val allowedMentionUsers: List<String> = emptyList(), val mentionRepliedUsers: Boolean = false)(source)

Constructors

Link copied to clipboard
constructor(allowedMentionTypes: List<MentionTypes> = emptyList(), allowedMentionRoles: List<String> = emptyList(), allowedMentionUsers: List<String> = emptyList(), mentionRepliedUsers: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "roles")
val allowedMentionRoles: List<String>
Link copied to clipboard
@SerialName(value = "parse")
val allowedMentionTypes: List<MentionTypes>
Link copied to clipboard
@SerialName(value = "users")
val allowedMentionUsers: List<String>
Link copied to clipboard
@SerialName(value = "replied_user")
val mentionRepliedUsers: Boolean = false