public class WebhookEventFactory extends Object
| 构造器和说明 |
|---|
WebhookEventFactory() |
public static WebhookEvent newWebhookEvent(Object source, String title, Throwable throwable, java.util.function.Consumer<BaseWebhookRequestBody> consumer)
public static WebhookEvent newWebhookEventWithUserId(Object source, String title, Throwable throwable, java.util.function.Consumer<BaseWebhookRequestBody> consumer, List<String> userIdList)
public static WebhookEvent newWebhookEventWithUserMobile(Object source, String title, Throwable throwable, java.util.function.Consumer<BaseWebhookRequestBody> consumer, List<String> userMobileList)
public static WebhookEvent newWebhookEvent(Object source, String title, Throwable throwable, java.util.function.Consumer<BaseWebhookRequestBody> consumer, List<String> userIdList, List<String> userMobileList)
public static WebhookEvent feiShu(Object source, String title, Throwable throwable, java.util.function.Consumer<BaseWebhookRequestBody> consumer)
public static WebhookEvent weCom(Object source, String title, Throwable throwable, java.util.function.Consumer<BaseWebhookRequestBody> consumer)
public static WebhookEvent dingTalk(Object source, String title, Throwable throwable, java.util.function.Consumer<BaseWebhookRequestBody> consumer)
Copyright © 2021. All rights reserved.