interface InternalWebhookApi
| Modifier and Type | Method and Description |
|---|---|
WeComResponse |
send(String key,
WebhookBody body)
发送机器人信息
|
MediaResponse |
uploadMedia(String webhookKey,
String type,
okhttp3.MultipartBody media)
机器人上传素材
|
@POST(value="webhook/send") WeComResponse send(@Query(value="key") String key, @Body WebhookBody body)
key - the keybody - the body@POST(value="webhook/upload_media") MediaResponse uploadMedia(@Query(value="key") String webhookKey, @Query(value="type") String type, @Body okhttp3.MultipartBody media)
webhookKey - the webhook keytype - the typemedia - the mediaCopyright © 2023. All rights reserved.