package com.app.simplitend.chats.mvvm;

import com.app.simplitend.welcome.welcomepatient.mvvm.models.CallResponse;

import java.util.ArrayList;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Query;

public interface ChatsApiService {
    @GET("api/get-chats")
    Call<CallResponse<ArrayList<RemoteMessage>>> getRemoteChatsList(
            @Header("Authorization") String token,
            @Query("c_id") String channel_id,
            @Query("per_page") int per_page,
            @Query("page") int page_no
    );
}
