Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features spec: update TM5 message action #263

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions textile/features.textile
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ h3(#types). Data types

h4. Message
* @(TM1)@ A @Message@ represents an individual message to be sent or received via the Ably Realtime service.
* @(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@
* @(TM5)@ @Message@ @Action@ enum has the following values in order from zero: @MESSAGE_CREATE@, @MESSAGE_UPDATE@, @MESSAGE_DELETE@, @META_OCCUPANCY@, @MESSAGE_SUMMARY@
* @(TM2)@ The attributes available in a @Message@ are:
** @(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@
** @(TM2b)@ @clientId@ string
Expand Down Expand Up @@ -2181,13 +2181,11 @@ enum PresenceAction: // TP2
UPDATE // TP2

enum MessageAction: // TM5
MESSAGE_UNSET // TM5
MESSAGE_CREATE // TM5
MESSAGE_UPDATE // TM5
MESSAGE_DELETE // TM5
ANNOTATION_CREATE // TM5
ANNOTATION_DELETE // TM5
META_OCCUPANCY // TM5
MESSAGE_SUMMARY // TM5

class ConnectionDetails: // CD*, internal
clientId: String? // RSA12a, CD2a
Expand Down
Loading