Skip to main content

get_user

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

Signature

async def get_user(&self, user_id: &str) -> Result<Option<BotUser>>

Parameters

user_id
&str
required
No description available.

Returns

Returns
Result<Option<BotUser>>
The result of the operation.