-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathBaseV2.java
More file actions
16 lines (12 loc) · 608 Bytes
/
Copy pathBaseV2.java
File metadata and controls
16 lines (12 loc) · 608 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package io.github.kloping.qqbot.http;
import io.github.kloping.qqbot.http.data.V2Result;
import io.github.kloping.spt.annotations.http.Headers;
import io.github.kloping.spt.annotations.http.RequestBody;
import java.util.Map;
/**
* base v2
*/
public interface BaseV2 {
V2Result send(String gid, @RequestBody(type = io.github.kloping.spt.annotations.http.RequestBody.type.json) String body, @Headers Map<String, String> headers);
V2Result sendFile(String gid, @RequestBody(type = io.github.kloping.spt.annotations.http.RequestBody.type.json) String body, @Headers Map<String, String> headers);
}