AddMembersParams

data class AddMembersParams(val members: List<MemberData>, val systemMessage: Message? = null, val hideHistory: Boolean? = null, val hideHistoryBefore: Date? = null, val skipPush: Boolean? = null)

Model holding data required for adding members to a channel.

Parameters

members

The list of the members with extra data to be added.

systemMessage

The system message that will be shown in the channel.

hideHistory

Hides the history of the channel from the added members.

hideHistoryBefore

Hides the channel history before the provided date from the added members. If hideHistory and hideHistoryBefore are both specified, hideHistoryBefore takes precedence.

skipPush

If true, skips sending push notifications.

Constructors

Link copied to clipboard
constructor(members: List<MemberData>, systemMessage: Message? = null, hideHistory: Boolean? = null, hideHistoryBefore: Date? = null, skipPush: Boolean? = null)

Properties

Link copied to clipboard
val hideHistory: Boolean? = null
Link copied to clipboard
val hideHistoryBefore: Date? = null
Link copied to clipboard
Link copied to clipboard
val skipPush: Boolean? = null
Link copied to clipboard
val systemMessage: Message? = null