package com.rocketchat.core.callback;

import com.rocketchat.common.data.model.User;
import com.rocketchat.common.listener.Callback;
import com.rocketchat.core.model.attachment.Attachment;

import java.util.List;

/**
 * Created by sachin on 20/7/17.
 */
public class RoomCallback {

    public interface GroupCreateCallback extends Callback {
        void onCreateGroup(String roomId);
    }

    public interface GetMembersCallback extends Callback {
        void onGetRoomMembers(Integer total, List<User> members);
    }

    public interface GetFilesCallback extends Callback {
        void onGetRoomFiles(int total, List<Attachment> files);
    }
}
@@ -126,16 +126,73 @@
 llback;%0A
+import com.rocketchat.common.listener.PaginatedCallback;%0A
 import c
@@ -578,134 +578,6 @@
    %7D
-%0A%0A    public interface GetFilesCallback extends Callback %7B%0A        void onGetRoomFiles(int total, List%3CAttachment%3E files);%0A    %7D
 %0A%7D

Update RoomCallback.java