Skip to content

Commit d4d177e

Browse files
authored
Merge pull request #348 from ably/no-refserial-reftype
Message: remove refSerial and refType
2 parents daa99f5 + 70dfb06 commit d4d177e

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

textile/api-docstrings.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,8 +783,6 @@ Contains an individual message that is sent to, or received from, Ably.
783783
| timestamp: Time ||| TM2f | Timestamp of when the message was received by Ably, as milliseconds since the Unix epoch. (This is the timestamp of the current version of the message) |
784784
| serial: String? ||| TM2k | This message's unique serial (an identifier that — unlike the id — will remain the same in all future updates of this message, and can be used to update or delete that message). Lexicographically-comparable with other serials and with the `version` field. |
785785
| version: String? ||| TM2p | The version of the message, lexicographically-comparable with other versions (that share the same serial) Will differ from the serial only if the message has been updated or deleted. |
786-
| refSerial: String? ||| TM2l | If this message references another, the serial of that referenced message. |
787-
| refType: String? ||| TM2m | If this message references another, the type of reference that is. |
788786
| createdAt: Time? ||| TM2o | The timestamp of the very first version of a given message (will differ from `timestamp` only if the message has been updated or deleted). |
789787
| operation: Operation? ||| TM2n | In the case of an updated or deleted message, this will contain metadata about the update or delete operation. |
790788
| connectionKey: String? ||| TM2h | Allows a REST client to publish a message on behalf of a Realtime client. If you set this to the [private connection key]{@link Connection.key} of a Realtime connection when publishing a message using a [`RestClient`]{@link RestClient}, the message will be published on behalf of that Realtime client. This property is only populated by a client performing a publish, and will never be populated on an inbound message. |

textile/features.textile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,8 +1446,6 @@ h4. Message
14461446
** @(TM2p)@ @version@ string - an opaque string that uniquely identifies the message, and is different for different versions. (May not be populated).
14471447
** @(TM2k)@ @serial@ string - an opaque string that uniquely identifies the message. If a message received from Ably (whether over realtime or REST, eg history) with an @action@ of @MESSAGE_CREATE@ does not contain a @serial@ but does contain a @version@, the SDK must set it equal to the @TM2p@ @version@. (May not be populated).
14481448
** @(TM2o)@ @createdAt@ time in milliseconds since epoch. If a message received from Ably (whether over realtime or REST, eg history) with an @action@ of @MESSAGE_CREATE@ does not contain a @createdAt@, the SDK must set it equal to the @TM2f@ @timestamp@.
1449-
** @(TM2l)@ @refSerial@ string - an opaque string that uniquely identifies some referenced message.
1450-
** @(TM2m)@ @refType@ string - an opaque string that identifies the type of this reference.
14511449
** @(TM2n)@ @operation@ - object that may contain the following `optional` attributes;
14521450
*** @(TM2n1)@ @clientId@ string
14531451
*** @(TM2n2)@ @description@ string
@@ -2563,8 +2561,6 @@ class Message: // TM*
25632561
action: MessageAction // TM2j
25642562
serial: string? // TM2k
25652563
version: string? // TM2p
2566-
refSerial: string? // TM2l
2567-
refType: string? // TM2m
25682564
operation: Object? // TM2n
25692565
createdAt: Time? // TM2o
25702566
summary: Dict<string, JsonObject>? // TM2q

0 commit comments

Comments
 (0)