addMembers

fun addMembers(memberIds: List<String>, systemMessage: Message? = null, hideHistory: Boolean? = null, hideHistoryBefore: Date? = null, skipPush: Boolean? = null): Call<Channel>

Adds members to a given channel.

Return

Executable async Call responsible for adding the members.

Parameters

memberIds

The list of the member ids to be added.

systemMessage

The system message object that will be shown in the channel.

hideHistory

Hides the history of the channel to the added member.

hideHistoryBefore

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

skipPush

Skip sending push notifications.

See also


Adds members with extra data to a given channel.

Return

Executable async Call responsible for adding the members.

Parameters

params

The AddMembersParams holding data about the members to be added.

See also