Skip to content

Commit dcec5a7

Browse files
authored
Merge pull request #263 from ably/message-action-updates
Features spec: update TM5 message action
2 parents 268fbc4 + 15800b0 commit dcec5a7

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

textile/features.textile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ h3(#types). Data types
13321332

13331333
h4. Message
13341334
* @(TM1)@ A @Message@ represents an individual message to be sent or received via the Ably Realtime service.
1335-
* @(TM5)@ @Message@ @Action@ enum has the following values in order from zero: @MESSAGE_UNSET@, @MESSAGE_CREATE@, @MESSAGE_UPDATE@, @MESSAGE_DELETE@, @ANNOTATION_CREATE@, @ANNOTATION_DELETE@, @META_OCCUPANCY@
1335+
* @(TM5)@ @Message@ @Action@ enum has the following values in order from zero: @MESSAGE_CREATE@, @MESSAGE_UPDATE@, @MESSAGE_DELETE@, @META_OCCUPANCY@, @MESSAGE_SUMMARY@
13361336
* @(TM2)@ The attributes available in a @Message@ are:
13371337
** @(TM2a)@ @id@ string - unique ID for this message. This attribute is always populated for messages received over REST. For messages received over Realtime, if the message does not contain an @id@, it should be set to @protocolMsgId:index@, where @protocolMsgId@ is the id of the @ProtocolMessage@ encapsulating it, and @index@ is the index of the message inside the @messages@ array of the @ProtocolMessage@
13381338
** @(TM2b)@ @clientId@ string
@@ -2181,13 +2181,11 @@ enum PresenceAction: // TP2
21812181
UPDATE // TP2
21822182

21832183
enum MessageAction: // TM5
2184-
MESSAGE_UNSET // TM5
21852184
MESSAGE_CREATE // TM5
21862185
MESSAGE_UPDATE // TM5
21872186
MESSAGE_DELETE // TM5
2188-
ANNOTATION_CREATE // TM5
2189-
ANNOTATION_DELETE // TM5
21902187
META_OCCUPANCY // TM5
2188+
MESSAGE_SUMMARY // TM5
21912189

21922190
class ConnectionDetails: // CD*, internal
21932191
clientId: String? // RSA12a, CD2a

0 commit comments

Comments
 (0)