lil update

This commit is contained in:
2021-08-04 23:01:22 +03:00
parent dabf2f86fd
commit c77ebae57a
33 changed files with 548 additions and 223 deletions
@@ -1,7 +1,17 @@
package com.meloda.fast.api
import com.meloda.fast.api.model.response.GetConversationsResponse
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST
interface VKRepo {
@FormUrlEncoded
@POST(VKUrls.getConversations)
suspend fun getAllChats(
@Field("user_id") chatId: Int,
@Field("token") token: String
): Answer<GetConversationsResponse>
}