SubscribeModEventsEventGroupChatUpdated

data class SubscribeModEventsEventGroupChatUpdated(val actorDid: Did, val convoCreatedAt: Timestamp, val convoId: String, val createdAt: Timestamp, val groupMemberCount: Long, val groupName: String, val joinLinkCode: String? = null, val joinLinkFollowersOnly: Boolean? = null, val joinLinkRequiresApproval: Boolean? = null, val lockReason: SubscribeModEventsEventGroupChatUpdatedLockReason? = null, val newName: String? = null, val oldName: String? = null, val ownerDid: Did, val rev: String, val updateType: SubscribeModEventsEventGroupChatUpdatedUpdateType)

Fired when a group chat's metadata or status changes.

Parameters

actorDid

The DID of the actor performing the action (the owner).

convoCreatedAt

When the group was originally created.

groupMemberCount

Current member count at the time of the event.

groupName

Current group name.

joinLinkCode

The code of the join link. Only present when updateType is join-link-related.

joinLinkFollowersOnly

Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related.

joinLinkRequiresApproval

Whether the join link requires owner approval to join. Only present when updateType is join-link-related.

lockReason

Why the group was locked. Only present when updateType is 'locked'.

newName

The new group name. Only present when updateType is 'name_changed'.

oldName

The previous group name. Only present when updateType is 'name_changed'.

ownerDid

The DID of the group chat owner.

updateType

What changed.

Constructors

Link copied to clipboard
constructor(actorDid: Did, convoCreatedAt: Timestamp, convoId: String, createdAt: Timestamp, groupMemberCount: Long, groupName: String, joinLinkCode: String? = null, joinLinkFollowersOnly: Boolean? = null, joinLinkRequiresApproval: Boolean? = null, lockReason: SubscribeModEventsEventGroupChatUpdatedLockReason? = null, newName: String? = null, oldName: String? = null, ownerDid: Did, rev: String, updateType: SubscribeModEventsEventGroupChatUpdatedUpdateType)

Properties

Link copied to clipboard

The DID of the actor performing the action (the owner).

Link copied to clipboard

When the group was originally created.

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

Current member count at the time of the event.

Link copied to clipboard

Current group name.

Link copied to clipboard

The code of the join link. Only present when updateType is join-link-related.

Link copied to clipboard

Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related.

Link copied to clipboard

Whether the join link requires owner approval to join. Only present when updateType is join-link-related.

Link copied to clipboard

Why the group was locked. Only present when updateType is 'locked'.

Link copied to clipboard

The new group name. Only present when updateType is 'name_changed'.

Link copied to clipboard

The previous group name. Only present when updateType is 'name_changed'.

Link copied to clipboard

The DID of the group chat owner.

Link copied to clipboard
val rev: String
Link copied to clipboard