org.http4k.connect.mattermost.mattermostExtensions.kt Maven / Gradle / Ivy
The newest version!
package org.http4k.connect.mattermost
import dev.forkhandles.result4k.Result
import kotlin.String
import org.http4k.connect.RemoteFailure
import org.http4k.connect.mattermost.action.TriggerWebhook
import org.http4k.connect.mattermost.action.TriggerWebhookPayload
/**
* @see org.http4k.connect.mattermost.action.TriggerWebhook
*/
public fun Mattermost.triggerWebhook(key: String, payload: TriggerWebhookPayload):
Result = invoke(TriggerWebhook(key, payload))