feat(chat-room) 채팅방 API
- 생성, 입장, 이전 메시지 로딩, 메시지 전송 API 추가
This commit is contained in:
@@ -16,4 +16,8 @@ class CharacterDetailRepository {
|
||||
func getCharacterDetail(characterId: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return characterApi.requestPublisher(.getCharacterDetail(characterId: characterId))
|
||||
}
|
||||
|
||||
func createChatRoom(characterId: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return talkApi.requestPublisher(.createChatRoom(request: CreateChatRoomRequest(characterId: characterId)))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user