ConvoView

data class ConvoView(val id: String, val kind: ConvoViewKindUnion? = null, val lastMessage: ConvoViewLastMessageUnion? = null, val lastReaction: ConvoViewLastReactionUnion? = null, val members: List<ProfileViewBasic>, val muted: Boolean, val rev: String, val status: ConvoStatus? = null, val unreadCount: Long)

Constructors

Link copied to clipboard
constructor(id: String, kind: ConvoViewKindUnion? = null, lastMessage: ConvoViewLastMessageUnion? = null, lastReaction: ConvoViewLastReactionUnion? = null, members: List<ProfileViewBasic>, muted: Boolean, rev: String, status: ConvoStatus? = null, unreadCount: Long)

Properties

Link copied to clipboard
val id: String
Link copied to clipboard

Union field that has data specific to different kinds of convos.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who invited the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. NOTE: TBD an endpoint to list all members.

Link copied to clipboard
Link copied to clipboard
val rev: String
Link copied to clipboard
val status: ConvoStatus? = null

Convo status for the viewer member (not the convo itself).

Link copied to clipboard