Render Presentation • AI Agent SDK

render_presentation: Render a presentation to a target (chat/channel).

render_presentation

Async

Method

</div>

This is a method of the SupportsPresentation class in the protocols module.

Render a presentation to a target (chat/channel).

Signature

python
async def render_presentation(target: str, presentation: 'MessagePresentation') -> Optional[str]

Parameters

ParamField str

Target identifier (chat_id, channel_id, etc.)

ParamField MessagePresentation

The presentation to render

Returns

ResponseField Optional[str]

Message ID if sent successfully, None otherwise

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 1372