receive message

This commit is contained in:
Peter Maquiran
2024-08-08 15:53:00 +01:00
parent 32181caefe
commit 45e829bec3
7 changed files with 120 additions and 30 deletions
@@ -25,6 +25,7 @@ export class MessageRemoteDataSourceService {
return await this.httpService.post<any>(`${this.baseUrl}/Messages/${id}/React`, reaction);
}
@APIReturn(MessageOutPutDTOSchema, 'get/Messages')
async getMessagesFromRoom(id: string): DataSourceReturn<MessageOutPutDTO> {
return await this.httpService.get(`${this.baseUrl}/Room/${id}/Messages`);