diff --git a/schemas/Interaction.json b/schemas/Interaction.json index 969d81a..15544c2 100644 --- a/schemas/Interaction.json +++ b/schemas/Interaction.json @@ -23,6 +23,8 @@ {"const": "WebRoomHeaderContextMenuSettingsItem", "description": "User accessed room settings using the context menu on the header of a room in Element Web/Desktop." }, {"const": "WebRightPanelRoomInfoSettingsButton", "description": "User accessed room settings using the 'Settings' button in the right panel room summary card of Element Web/Desktop." }, {"const": "WebRoomListRoomTileContextMenuInviteItem", "description": "User accessed the room invite flow using the context menu on a room tile in the room list in Element Web/Desktop." }, + {"const": "WebRoomListRoomTileContextMenuMarkRead", "description": "User marked a message as read using the context menu on a room tile in the room list in Element Web/Desktop." }, + {"const": "WebRoomListRoomTileContextMenuMarkUnread", "description": "User marked a room as unread using the context menu on a room tile in the room list in Element Web/Desktop." }, {"const": "WebRoomHeaderContextMenuInviteItem", "description": "User accessed the room invite flow using the context menu on the header of a room in Element Web/Desktop." }, {"const": "WebRightPanelMemberListInviteButton", "description": "User accessed the room invite flow using the button at the top of the room member list in the right panel of Element Web/Desktop." }, {"const": "WebRightPanelRoomUserInfoInviteButton", "description": "User invited someone to room by clicking invite on the right panel user info card in Element Web/Desktop." }, diff --git a/types/kotlin2/Interaction.kt b/types/kotlin2/Interaction.kt index c744800..4aa8435 100644 --- a/types/kotlin2/Interaction.kt +++ b/types/kotlin2/Interaction.kt @@ -323,6 +323,18 @@ data class Interaction( */ WebRoomListRoomTileContextMenuLeaveItem, + /** + * User marked a message as read using the context menu on a room tile + * in the room list in Element Web/Desktop. + */ + WebRoomListRoomTileContextMenuMarkRead, + + /** + * User marked a room as unread using the context menu on a room tile in + * the room list in Element Web/Desktop. + */ + WebRoomListRoomTileContextMenuMarkUnread, + /** * User accessed room settings using the context menu on a room tile in * the room list in Element Web/Desktop. diff --git a/types/swift/Interaction.swift b/types/swift/Interaction.swift index 66e1590..f3e2bb1 100644 --- a/types/swift/Interaction.swift +++ b/types/swift/Interaction.swift @@ -138,6 +138,10 @@ extension AnalyticsEvent { case WebRoomListRoomTileContextMenuInviteItem /// User interacted with leave action in the context menu on a room tile in the room list in Element Web/Desktop. case WebRoomListRoomTileContextMenuLeaveItem + /// User marked a message as read using the context menu on a room tile in the room list in Element Web/Desktop. + case WebRoomListRoomTileContextMenuMarkRead + /// User marked a room as unread using the context menu on a room tile in the room list in Element Web/Desktop. + case WebRoomListRoomTileContextMenuMarkUnread /// User accessed room settings using the context menu on a room tile in the room list in Element Web/Desktop. case WebRoomListRoomTileContextMenuSettingsItem /// User accessed their room notification settings via the context menu on a room tile in the room list in Element Web/Desktop.