Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Converts the connector card to a JSON string

x.WriteJson(writer)
Signature: writer:JsonWriter -> JsonWriter
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.