Get User • AI Agent SDK
get_user: Get user information.
get_user
Async
Method
</div>
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
ParamField
strUser ID to look up
Returns
ResponseField
Optional[BotUser]User information or None if not found
Source
View on GitHubpraisonaiagents/bots/protocols.py at line 1241