Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConversationExtension

An extension to the conversation that serves as an opaque communication channel with an external service

Hierarchy

  • ConversationExtension

Index

Properties

content

content: Property<any>

Data sent by the service to the client through this extension

contentType

contentType: Property<string>

The type of the content property as specified by the service The sdk does not infer the type from the content, it simply passes along what is provided to it

sendData

sendData: Command

A channel for the client to communicate back to the service.

param

Any content in a string format. The SDK just passes it along.

param

A mime type identifying the type of content. Non standard mime types are acceptable here since the SDK just passes it along.

returns

An object with content and contentType values obtained from the ConversationExtensionResult's 'result' link.

serviceName

serviceName: Property<string>

The name of the service communicating through this extension