Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getRooms :: (MonadHttp m, Client c) => c -> m (ChatWorkResponse Rooms)
- createRoom :: (MonadHttp m, Client c) => c -> CreateRoomParams -> m (ChatWorkResponse RoomIdWrap)
- getRoom :: (MonadHttp m, Client c) => c -> Int -> m (ChatWorkResponse RoomDetail)
- updateRoom :: (MonadHttp m, Client c) => c -> Int -> UpdateRoomParams -> m (ChatWorkResponse RoomIdWrap)
- deleteRoom :: (MonadHttp m, Client c) => c -> Int -> m (ChatWorkResponse ())
- leaveRoom :: (MonadHttp m, Client c) => c -> Int -> m (ChatWorkResponse ())
- deleteRoom' :: (MonadHttp m, Client c) => c -> Int -> DeleteRoomActionType -> m (ChatWorkResponse ())
- getMembers :: (MonadHttp m, Client c) => c -> Int -> m (ChatWorkResponse Members)
- updateMembersPermission :: (MonadHttp m, Client c) => c -> Int -> RoomMembersParams -> m (ChatWorkResponse MembersPermission)
- getMessages :: (MonadHttp m, Client c) => c -> Int -> Maybe Force -> m (ChatWorkResponse Messages)
- postMessage :: (MonadHttp m, Client c) => c -> Int -> MessageBody -> m (ChatWorkResponse MessageIdWrap)
- getMessage :: (MonadHttp m, Client c) => c -> Int -> Text -> m (ChatWorkResponse Message)
- getRoomTasks :: (MonadHttp m, Client c) => c -> Int -> GetTasksParams -> m (ChatWorkResponse RoomTasks)
- createTask :: (MonadHttp m, Client c) => c -> Int -> CreateTaskParams -> m (ChatWorkResponse TaskIdsWrap)
- getRoomTask :: (MonadHttp m, Client c) => c -> Int -> Int -> m (ChatWorkResponse RoomTask)
- getFiles :: (MonadHttp m, Client c) => c -> Int -> Maybe AccountId -> m (ChatWorkResponse Files)
- getFile :: (MonadHttp m, Client c) => c -> Int -> Int -> Maybe CreateUrlFlag -> m (ChatWorkResponse File)
Room
createRoom :: (MonadHttp m, Client c) => c -> CreateRoomParams -> m (ChatWorkResponse RoomIdWrap) Source #
getRoom :: (MonadHttp m, Client c) => c -> Int -> m (ChatWorkResponse RoomDetail) Source #
argumrnt Int
is room_id
.
updateRoom :: (MonadHttp m, Client c) => c -> Int -> UpdateRoomParams -> m (ChatWorkResponse RoomIdWrap) Source #
argumrnt Int
is room_id
.
deleteRoom :: (MonadHttp m, Client c) => c -> Int -> m (ChatWorkResponse ()) Source #
wrap deleteRoom'
function, using DeleteRoom
.
argumrnt Int
is room_id
.
leaveRoom :: (MonadHttp m, Client c) => c -> Int -> m (ChatWorkResponse ()) Source #
wrap deleteRoom'
function, using LeaveRoom
.
argumrnt Int
is room_id
.
deleteRoom' :: (MonadHttp m, Client c) => c -> Int -> DeleteRoomActionType -> m (ChatWorkResponse ()) Source #
argumrnt Int
is room_id
.
Room Member
getMembers :: (MonadHttp m, Client c) => c -> Int -> m (ChatWorkResponse Members) Source #
argumrnt Int
is room_id
.
updateMembersPermission :: (MonadHttp m, Client c) => c -> Int -> RoomMembersParams -> m (ChatWorkResponse MembersPermission) Source #
argumrnt Int
is room_id
.
Room Message
getMessages :: (MonadHttp m, Client c) => c -> Int -> Maybe Force -> m (ChatWorkResponse Messages) Source #
argumrnt Int
is room_id
.
postMessage :: (MonadHttp m, Client c) => c -> Int -> MessageBody -> m (ChatWorkResponse MessageIdWrap) Source #
argumrnt Int
is room_id
.
getMessage :: (MonadHttp m, Client c) => c -> Int -> Text -> m (ChatWorkResponse Message) Source #
Room Task
getRoomTasks :: (MonadHttp m, Client c) => c -> Int -> GetTasksParams -> m (ChatWorkResponse RoomTasks) Source #
argumrnt Int
is room_id
.
createTask :: (MonadHttp m, Client c) => c -> Int -> CreateTaskParams -> m (ChatWorkResponse TaskIdsWrap) Source #
argumrnt Int
is room_id
.
getRoomTask :: (MonadHttp m, Client c) => c -> Int -> Int -> m (ChatWorkResponse RoomTask) Source #