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
async def render_presentation(target: str, presentation: 'MessagePresentation') -> Optional[str]Parameters
ParamField
strTarget identifier (chat_id, channel_id, etc.)
ParamField
MessagePresentationThe presentation to render
Returns
ResponseField
Optional[str]Message ID if sent successfully, None otherwise
Source
View on GitHubpraisonaiagents/bots/protocols.py at line 1372