captain_hook v0.4.0 CaptainHook.WebhookConversations

Link to this section Summary

Link to this section Functions

Link to this function

conversation_succeeded?(webhook_conversation)

Specs

conversation_succeeded?(
  CaptainHook.WebhookConversations.WebhookConversation.t()
) :: boolean()
Link to this function

create_webhook_conversation(webhook_endpoint, attrs)

Specs

create_webhook_conversation(
  CaptainHook.WebhookEndpoints.WebhookEndpoint.t(),
  map()
) :: CaptainHook.WebhookConversations.WebhookConversation.t()
Link to this function

get_webhook_conversation(webhook, id)

Specs

get_webhook_conversation(binary(), binary()) ::
  CaptainHook.WebhookConversations.WebhookConversation.t()
Link to this function

list_webhook_conversations(webhook, arg2)

Specs

list_webhook_conversations(
  binary(),
  CaptainHook.WebhookEndpoints.WebhookEndpoint.t() | {binary(), binary()}
) :: [CaptainHook.WebhookConversations.WebhookConversation.t()]