@@ -2763,21 +2763,25 @@ declare namespace MessageActions {
27632763 */
27642764 type MESSAGE_CREATE = 'message.create' ;
27652765 /**
2766- * Message action for an updated message.
2766+ * Message action for an updated message. The `serial` field identifies the message of which this is
2767+ * an update. The update will have a newer `version` compared with the original message.create message.
27672768 */
27682769 type MESSAGE_UPDATE = 'message.update' ;
27692770 /**
2770- * Message action for a deleted message.
2771+ * Message action for a deleted message. The `serial` field identifies the message which is being deleted.
2772+ * The delete will have a newer `version` compared with the original message.create message.
27712773 */
27722774 type MESSAGE_DELETE = 'message.delete' ;
27732775 /**
2774- * Message action for a meta-message that contains channel occupancy information.
2776+ * Message action for a meta-message (a message originating from ably rather than being explicitly
2777+ * published on a channel), containing eg inband channel occupancy events or some other information
2778+ * requested by channel param.
27752779 */
2776- type META_OCCUPANCY = 'meta.occupancy ' ;
2780+ type META = 'meta' ;
27772781 /**
27782782 * Message action for a message containing the latest rolled-up summary of annotations
2779- * that have been made to this message. The message.refSerial is the serial of the
2780- * message for which this is a summary.
2783+ * that have been made to this message. Like an update, but only updates the summary, so
2784+ * the message.serial is the serial of the message for which this is a summary.
27812785 */
27822786 type MESSAGE_SUMMARY = 'message.summary' ;
27832787}
@@ -2789,7 +2793,7 @@ export type MessageAction =
27892793 | MessageActions . MESSAGE_CREATE
27902794 | MessageActions . MESSAGE_UPDATE
27912795 | MessageActions . MESSAGE_DELETE
2792- | MessageActions . META_OCCUPANCY
2796+ | MessageActions . META
27932797 | MessageActions . MESSAGE_SUMMARY ;
27942798
27952799/**
0 commit comments