notice

This is documentation for Rasa Open Source Documentation v2.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (3.x).

Version: 2.x

rasa.core.channels.hangouts

HangoutsOutput Objects

class HangoutsOutput(OutputChannel)

A Hangouts communication channel.

name

| @classmethod
| name(cls) -> Text

Return channel name.

__init__

| __init__() -> None

Starts messages as empty dictionary.

send_custom_json

| async send_custom_json(recipient_id: Text, json_message: Dict, **kwargs: Any) -> None

Custom json payload is simply forwarded to Google Hangouts without any modifications. Use this for more complex cards, which can be created in actions.py.

HangoutsInput Objects

class HangoutsInput(InputChannel)

Channel that uses Google Hangouts Chat API to communicate.

name

| @classmethod
| name(cls) -> Text

Returns channel name.

blueprint

| blueprint(on_new_message: Callable[[UserMessage], Awaitable[None]]) -> Blueprint

API configuration for the channel webhook.