get_user

Function get_user 

Source
pub async fn get_user(user_id: i64, client_id: i32) -> Result<User, Error>
Expand description

Returns information about a user by their identifier. This is an offline request if the current user is not a bot

ยงArguments

  • user_id - User identifier
  • client_id - The client id to send the request to