SendMessageResponse

@Serializable
data class SendMessageResponse(val messageId: String, val isSent: Boolean, val dropReason: DropReason? = null)

Twitch API: Send Chat Message

Constructors

Link copied to clipboard
constructor(messageId: String, isSent: Boolean, dropReason: DropReason? = null)

Properties

Link copied to clipboard
@SerialName(value = "drop_reason")
val dropReason: DropReason?

the reason the message was dropped; null if the message was sent.

Link copied to clipboard
@SerialName(value = "is_sent")
val isSent: Boolean

whether the message was sent successfully.

Link copied to clipboard
@SerialName(value = "message_id")
val messageId: String

an ID that uniquely identifies the message that was sent.