Version: 3.x

rasa.core.channels.hangouts

HangoutsOutput Objects

class HangoutsOutput(OutputChannel)

A Hangouts communication channel.

name

@classmethod
def name(cls) -> Text

Return channel name.

__init__

def __init__() -> None

Starts messages as empty dictionary.

send_custom_json

async def 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
def name(cls) -> Text

Returns channel name.

blueprint

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

API configuration for the channel webhook.