File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -273,13 +273,13 @@ export type MessageBase = {
273273 * @namespace DevExpress.ui.dxChat
274274 * @inherits MessageBase
275275 */
276- export type TextMessage < TAttachment extends Attachment = Attachment > = MessageBase & {
276+ export type TextMessage = MessageBase & {
277277 /**
278278 * @docid
279279 * @public
280280 * @type Array<Attachment>
281281 */
282- attachments ?: TAttachment [ ] ;
282+ attachments ?: Attachment [ ] ;
283283 /**
284284 * @docid
285285 * @public
@@ -290,6 +290,8 @@ export type TextMessage<TAttachment extends Attachment = Attachment> = MessageBa
290290 * @public
291291 */
292292 isEdited ?: boolean ;
293+
294+ [ key : string ] : any ;
293295} ;
294296
295297/**
@@ -353,7 +355,7 @@ export interface dxChatOptions extends WidgetOptions<dxChat> {
353355 * @type dxFileUploaderOptions
354356 * @public
355357 */
356- fileUploaderOptions ?: Omit < FileUploaderOptions , 'dialogTrigger' | 'showFileList' | 'uploadMode ' > ;
358+ fileUploaderOptions ?: Omit < FileUploaderOptions , 'dialogTrigger' | 'showFileList' | 'uploadMode' > ;
357359 /**
358360 * @docid
359361 * @default true
@@ -494,7 +496,7 @@ export interface dxChatOptions extends WidgetOptions<dxChat> {
494496 * @action
495497 * @public
496498 */
497- onTypingStart ?: ( ( e : TypingEndEvent ) => void ) | undefined ;
499+ onTypingStart ?: ( ( e : TypingStartEvent ) => void ) | undefined ;
498500 /**
499501 * @docid
500502 * @default undefined
Original file line number Diff line number Diff line change @@ -11313,7 +11313,7 @@ declare module DevExpress.ui {
1131311313 */
1131411314 fileUploaderOptions?: Omit<
1131511315 DevExpress.ui.dxFileUploader.Properties,
11316- 'dialogTrigger' | 'showFileList' | 'uploadMode '
11316+ 'dialogTrigger' | 'showFileList' | 'uploadMode'
1131711317 >;
1131811318 /**
1131911319 * [descr:dxChatOptions.focusStateEnabled]
@@ -11430,7 +11430,7 @@ declare module DevExpress.ui {
1143011430 * [descr:dxChatOptions.onTypingStart]
1143111431 */
1143211432 onTypingStart?:
11433- | ((e: DevExpress.ui.dxChat.TypingEndEvent ) => void)
11433+ | ((e: DevExpress.ui.dxChat.TypingStartEvent ) => void)
1143411434 | undefined;
1143511435 /**
1143611436 * [descr:dxChatOptions.onTypingEnd]
@@ -34030,21 +34030,22 @@ declare module DevExpress.ui.dxChat {
3403034030 /**
3403134031 * [descr:TextMessage]
3403234032 */
34033- export type TextMessage<TAttachment extends Attachment = Attachment> =
34034- MessageBase & {
34035- /**
34036- * [descr:TextMessage.attachments]
34037- */
34038- attachments?: TAttachment[];
34039- /**
34040- * [descr:TextMessage.text]
34041- */
34042- text?: string;
34043- /**
34044- * [descr:TextMessage.isEdited]
34045- */
34046- isEdited?: boolean;
34047- };
34033+ export type TextMessage = MessageBase & {
34034+ /**
34035+ * [descr:TextMessage.attachments]
34036+ */
34037+ attachments?: Attachment[];
34038+ /**
34039+ * [descr:TextMessage.text]
34040+ */
34041+ text?: string;
34042+ /**
34043+ * [descr:TextMessage.isEdited]
34044+ */
34045+ isEdited?: boolean;
34046+
34047+ [key: string]: any;
34048+ };
3404834049 /**
3404934050 * [descr:User]
3405034051 */
You can’t perform that action at this time.
0 commit comments