Commit 93a0e9ca authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update RoomListContract.kt

parent 4dabab2d
...@@ -53,12 +53,14 @@ interface RoomListContract { ...@@ -53,12 +53,14 @@ interface RoomListContract {
* @param hostname The server hostname to process the request. * @param hostname The server hostname to process the request.
* @param token The token to process the request. * @param token The token to process the request.
* @param userId The user ID to process the request. * @param userId The user ID to process the request.
* @param offset The offset to start to process the request.
*/ */
fun requestPinnedMessages(roomId: String, fun requestPinnedMessages(roomId: String,
roomType: String, roomType: String,
hostname: String, hostname: String,
token: String, token: String,
userId: String) userId: String,
offset: String)
/** /**
* Requests the favorite messages of a room. * Requests the favorite messages of a room.
...@@ -68,12 +70,14 @@ interface RoomListContract { ...@@ -68,12 +70,14 @@ interface RoomListContract {
* @param hostname The server hostname to process the request. * @param hostname The server hostname to process the request.
* @param token The token to process the request. * @param token The token to process the request.
* @param userId The user ID to process the request. * @param userId The user ID to process the request.
* @param offset The offset to start to process the request.
*/ */
fun requestFavoriteMessages(roomId: String, fun requestFavoriteMessages(roomId: String,
roomType: String, roomType: String,
hostname: String, hostname: String,
token: String, token: String,
userId: String) userId: String,
offset: String)
/** /**
* Requests the file list of a room. * Requests the file list of a room.
...@@ -83,12 +87,14 @@ interface RoomListContract { ...@@ -83,12 +87,14 @@ interface RoomListContract {
* @param hostname The server hostname to process the request. * @param hostname The server hostname to process the request.
* @param token The token to process the request. * @param token The token to process the request.
* @param userId The user ID to process the request. * @param userId The user ID to process the request.
* @param offset The offset to start to process the request.
*/ */
fun requestFileList(roomId: String, fun requestFileList(roomId: String,
roomType: String, roomType: String,
hostname: String, hostname: String,
token: String, token: String,
userId: String) userId: String,
offset: String)
/** /**
* Requests the member list of a room. * Requests the member list of a room.
...@@ -98,11 +104,13 @@ interface RoomListContract { ...@@ -98,11 +104,13 @@ interface RoomListContract {
* @param hostname The server hostname to process the request. * @param hostname The server hostname to process the request.
* @param token The token to process the request. * @param token The token to process the request.
* @param userId The user ID to process the request. * @param userId The user ID to process the request.
* @param offset The offset to start to process the request.
*/ */
fun requestMemberList(roomId: String, fun requestMemberList(roomId: String,
roomType: String, roomType: String,
hostname: String, hostname: String,
token: String, token: String,
userId: String) userId: String,
offset: String)
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment