TypingEvent

constructor(channelId: String, users: List<User>, typingUsers: List<TypingUser> = users.map(::TypingUser))

Parameters

channelId

The ID of the channel where the typing event occurred.

users

The users who are currently typing in the channel.

typingUsers

The users who are currently typing in the channel, with their channel membership. Defaults to users without membership, so both lists describe the same people however the event is constructed. The default is evaluated at construction, so copy(users = ...) keeps the receiver's typingUsers and the two can then disagree.