MultipleFilesMessageCreateParams

Constructors

Link copied to clipboard
constructor(uploadableFileInfoList: List<UploadableFileInfo>)

Properties

Link copied to clipboard
@SerializedName(value = "appleCriticalAlertOptions")
var appleCriticalAlertOptions: AppleCriticalAlertOptions?

The apple critical alert options of the message. Defaults to null.

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

The custom type of the message. Defaults to null.

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

The data of the message. Defaults to null.

Link copied to clipboard
@SerializedName(value = "isPinnedMessage")
var isPinnedMessage: Boolean

Whether the message should be pinned to the channel. Defaults to false.

Link copied to clipboard

The mentioned user ids of the message. If it hasn't set before, it returns null. Setting this will overwrite mentionedUsers.

Link copied to clipboard

The mentioned users of the message. If it hasn't set before, it returns null Setting this will overwrite mentionedUserIds.

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

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

Link copied to clipboard

The meta arrays of the message. Defaults to null.

Link copied to clipboard
@SerializedName(value = "parentMessageId")
var parentMessageId: Long

The parent message id of the message. Defaults to 0.

Link copied to clipboard
@SerializedName(value = "pollId")
var pollId: Long?

The poll id of the message. Defaults to null.

Link copied to clipboard
@SerializedName(value = "pushNotificationDeliveryOption")
var pushNotificationDeliveryOption: PushNotificationDeliveryOption?

The push notification delivery option user of the message. Defaults to null.

Link copied to clipboard
@SerializedName(value = "replyToChannel")
var replyToChannel: Boolean

Whether the message should also be sent to the channel. Defaults to false. Only works when the parentMessageId is set.

Link copied to clipboard
@SerializedName(value = "uploadableFileInfoList")
val uploadableFileInfoList: List<UploadableFileInfo>

Functions

Link copied to clipboard
open override fun toString(): String