Source: factory.conversation/ObjConversationWeb.py
WEB channel engine for the conversation
framework.
Stores bot replies in data_web_conversation
instead of calling an external API. No
...
| Method | Signature | Description |
|---|---|---|
| display_context | display_context(opts: dict) -> None |
WEB channel keeps context server-side. |
| transmit_message | transmit_message(message: Any, to_number: str = '', messagetype: str = 'TEXT') -> None |
Write a bot reply into data_web_conversation. |
| display_options | display_options(opts: dict) -> tuple |
Format options as a numbered list, write via |
WEB engine broker.
Provides handle_receive and handle_send for use
by ObjReportConversation — no polling loop needed
as messages are retrieved on HTTP request.
| Method | Signature | Description |
|---|---|---|
| handle_receive | handle_receive(conversation_code: str, package: str, contact_id: str, last_stamp: str, last_id: int = 0) -> list |
Return messages since last_stamp for this |
| handle_send | handle_send(conversation_code: str, contact_id: str, conv_guid: str, senderid: str, message: str) -> None |
Store user message, then trigger the |
| run | run() -> None |