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