Skip to main content

send

AsyncMethod
This is a method of the BasePlatformAdapter class in the base module.
Send a single message to chat_id (one API call, no chunking). This is the low-level primitive the default delivery machinery builds on. Implementations should send content as-is and return a :class:SendResult. Chunking/retry/typing are handled by :meth:deliver; implementers need not repeat them here.

Signature

Parameters

Any
required
No description available.
Union
required
No description available.

Returns

SendResult
The result of the operation.

Used By

Source

View on GitHub

praisonaiagents/bots/base.py at line 385