CurrentChatUser
A type representing the currently logged-in user. _CurrentChatUser
is an immutable snapshot of a current user entity at
the given time.
public class CurrentChatUser: ChatUser
Inheritance
Properties
devices
A list of devices associated with the user.
public let devices: [Device]
currentDevice
The current device of the user. nil
if no current device is assigned.
public let currentDevice: Device?
mutedUsers
A set of users muted by the user.
public let mutedUsers: Set<ChatUser>
flaggedUsers
A set of users flagged by the user.
public let flaggedUsers: Set<ChatUser>
flaggedMessageIDs
A set of message ids flagged by the user.
public let flaggedMessageIDs: Set<MessageId>
mutedChannels
A set of channels muted by the current user.
public var mutedChannels: Set<ChatChannel>
unreadCount
The unread counts for the current user.
public let unreadCount: UnreadCount