Changeset View
Changeset View
Standalone View
Standalone View
lib/types/messages/text.js
Show All 23 Lines | |||||
export type TextMessageInfo = { | export type TextMessageInfo = { | ||||
+type: 0, | +type: 0, | ||||
+id?: string, // null if local copy without ID yet | +id?: string, // null if local copy without ID yet | ||||
+localID?: string, // for optimistic creations | +localID?: string, // for optimistic creations | ||||
+threadID: string, | +threadID: string, | ||||
+creator: RelativeUserInfo, | +creator: RelativeUserInfo, | ||||
+time: number, // millisecond timestamp | +time: number, // millisecond timestamp | ||||
text: string, | text: string, | ||||
hasBeenEdited?: boolean, | |||||
ashoatUnsubmitted Done Inline Actions
ashoat: 1. Please never add a new property that isn't read-only unless you have a good reason for it
2. | |||||
}; | }; |