Changeset View
Changeset View
Standalone View
Standalone View
lib/types/message-types.js
Show First 20 Lines • Show All 569 Lines • ▼ Show 20 Lines | |||||
export type SendEditMessageResponse = { | export type SendEditMessageResponse = { | ||||
+newMessageInfos: $ReadOnlyArray<RawMessageInfo>, | +newMessageInfos: $ReadOnlyArray<RawMessageInfo>, | ||||
}; | }; | ||||
export type EditMessagePayload = SendEditMessageResponse; | export type EditMessagePayload = SendEditMessageResponse; | ||||
export type SendEditMessageResult = SendEditMessageResponse; | export type SendEditMessageResult = SendEditMessageResponse; | ||||
export type EditMessageContent = { | |||||
+text: string, | |||||
}; | |||||
// Used for the message info included in log-in type actions | // Used for the message info included in log-in type actions | ||||
export type GenericMessagesResult = { | export type GenericMessagesResult = { | ||||
+messageInfos: RawMessageInfo[], | +messageInfos: RawMessageInfo[], | ||||
+truncationStatus: MessageTruncationStatuses, | +truncationStatus: MessageTruncationStatuses, | ||||
+watchedIDsAtRequestTime: $ReadOnlyArray<string>, | +watchedIDsAtRequestTime: $ReadOnlyArray<string>, | ||||
+currentAsOf: number, | +currentAsOf: number, | ||||
}; | }; | ||||
Show All 12 Lines |