Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

ConnectorCard

This is the base data, which will be sent to the Office 365 webhook connector

Record Fields

Record FieldDescription
PotentialActions
Signature: ViewAction list

This array of ViewAction objects will power the action links found at the bottom of the card

Sections
Signature: Section list

Contains a list of sections to display in the card

Summary
Signature: SimpleString option

(Required, if the text property is not populated) A string used for summarizing card content. This will be shown as the message subject.

Text
Signature: MarkdownString option

The main text of the card. This will be rendered below the sender information and optional title, and above any sections or actions present.

ThemeColor
Signature: ColorHexValue option

(Optional) Accent color used for branding or indicating status in the card

Title
Signature: SimpleString option

(Optional) A title for the Connector message. Shown at the top of the message.

Instance members

Instance memberDescription
x.AsJson()
Signature: unit -> string

Converts the connector card to a JSON string

x.WriteJson(writer)
Signature: writer:JsonWriter -> JsonWriter