Skip to content

Commit 949c89c

Browse files
committed
work in progress
1 parent e1863d6 commit 949c89c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

MangoAPI.Client/src/app/types/models/Message.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export class Message {
1616
inReplyToText: string | null | undefined;
1717

1818
constructor(
19+
messageId: string,
1920
userId: string,
2021
chatId: string,
2122
userDisplayName: string,
@@ -27,6 +28,7 @@ export class Message {
2728
inReplyToUser: string | null,
2829
inReplyToText: string | null
2930
) {
31+
this.messageId = messageId;
3032
this.userId = userId;
3133
this.chatId = chatId;
3234
this.userDisplayName = userDisplayName;
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { BaseResponse } from './BaseResponse';
2-
import { Message } from '../models/Message';
32

43
export interface SendMessageResponse extends BaseResponse {
5-
messageModel: Message;
4+
newMessageId: string;
5+
attachmentUrl: string;
6+
createdAt: string;
67
}

0 commit comments

Comments
 (0)