lil update
This commit is contained in:
@@ -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>
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user