Version: 2.0.x

rasa.core.channels.botframework

BotFramework Objects

class BotFramework(OutputChannel)

A Microsoft Bot Framework communication channel.

BotFrameworkInput Objects

class BotFrameworkInput(InputChannel)

Bot Framework input channel implementation.

__init__

| __init__(app_id: Text, app_password: Text) -> None

Create a Bot Framework input channel.

Arguments:

  • app_id - Bot Framework's API id
  • app_password - Bot Framework application secret

add_attachments_to_metadata

| @staticmethod
| add_attachments_to_metadata(postdata: Dict[Text, Any], metadata: Optional[Dict[Text, Any]]) -> Optional[Dict[Text, Any]]

Merge the values of postdata['attachments'] with metadata.