def user_info_query(user_id: str) -> dict:
  """
  Build User information query.
  :param user_id: User id
  :return: Query
  """
  return {
    "id": 3,
    "operationName": "ProfileGet",
    "query": "query ProfileGet($user_id: ID!) {userprofile {get(user_id: $user_id) {... on UserProfile {id user {"
             "id name display_name user_title } "
             "number_of_posts number_of_albums number_of_videos is_banned"
             "filter_settings {uses_default_warnings audience_ids genres_blocked_ids genres_subscribed_ids} }"
             "... on MutationError {errors {code message}}}}}",
    "variables": {
      "user_id": user_id
    }
  }