Module: lib/send

send a card via. adaptive card api
Source:

Members

(static) debug :boolean

Print debug output to console.debug while processing requests
Type:
  • boolean
Source:

(static) webhook :string

Webhook URL
Type:
  • string
Source:

Methods

(static) send(message, options)

Send a message with the Adaptive Cards API. webhook must either be defined in the module, or provided to this function or else an error will be thrown.
Parameters:
Name Type Description
message string message to send
options object additional options
Properties
Name Type Description
webhook string webhook url [required]
debug boolean print console.debug output
title string title of the card
Source: