Changeset View
Changeset View
Standalone View
Standalone View
lib/types/message-types.js
Show First 20 Lines • Show All 567 Lines • ▼ Show 20 Lines | export type SendEditMessageRequest = { | ||||
+text: string, | +text: string, | ||||
}; | }; | ||||
export type SendEditMessageResponse = { | export type SendEditMessageResponse = { | ||||
+newMessageInfos: $ReadOnlyArray<RawMessageInfo>, | +newMessageInfos: $ReadOnlyArray<RawMessageInfo>, | ||||
}; | }; | ||||
export type EditMessagePayload = SendEditMessageResponse; | export type EditMessagePayload = SendEditMessageResponse; | ||||
export type SendEditMessageResult = SendEditMessageResponse; | |||||
// 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 13 Lines |