UserMessageUpdateParams

class UserMessageUpdateParams @JvmOverloads constructor(message: String?) : BaseMessageUpdateParams

Represents a user message update params.

Since

3.0.52

See also

Constructors

Link copied to clipboard
fun UserMessageUpdateParams(message: String? = null)

Functions

Link copied to clipboard
fun copy(message: String? = this.message, mentionedMessageTemplate: String? = this.mentionedMessageTemplate, data: String? = this.data, customType: String? = this.customType, mentionType: MentionType = this.mentionType, mentionedUserIds: List<String>? = this.mentionedUserIds, mentionedUsers: List<User>? = this.mentionedUsers): UserMessageUpdateParams
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
@SerializedName(value = "customType")
var customType: String? = null

The custom type of the message. Defaults to null.

Link copied to clipboard
@SerializedName(value = "data")
var data: String? = null

The data of the message. Defaults to null.

Link copied to clipboard
@SerializedName(value = "mentionedMessageTemplate")
var mentionedMessageTemplate: String? = null

The message's mentioned message template of the message. Defaults to null.

Link copied to clipboard
var mentionedUserIds: List<String>?

The mentioned user ids of the message. Defaults to null.

Link copied to clipboard
var mentionedUsers: List<User>? = null

The mentioned user of the message. Defaults to null.

Link copied to clipboard
@SerializedName(value = "mentionType")
var mentionType: MentionType

The mention type of the message. Defaults to MentionType.USERS.

Link copied to clipboard
@SerializedName(value = "message")
var message: String? = null

The message text of the message. Defaults to null.