SendPrivateMessageRequest

@Serializable
data class SendPrivateMessageRequest(val userId: Long, val message: JsonElement, val autoEscape: Boolean? = null)

Message payload for send_private_msg and send_group_msg. message supports segment array and string.

Constructors

Link copied to clipboard
constructor(userId: Long, message: JsonElement, autoEscape: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "auto_escape")
val autoEscape: Boolean? = null
Link copied to clipboard
val message: JsonElement
Link copied to clipboard
@SerialName(value = "user_id")
val userId: Long