Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

get_user

AsyncMethod
This is a method of the BotProtocol class in the protocols module.
Get user information.

Signature

async def get_user(user_id: str) -> Optional[BotUser]

Parameters

user_id
str
required
User ID to look up

Returns

Returns
Optional[BotUser]
User information or None if not found

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 433