Skip to main content

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