code: private void updateBuddyProperties(BuddyProperties buddyProperties,
              ApiBuddyProperties apiBuddyProperties) {
          apiBuddyProperties.setInited(buddyProperties.isInited());
          apiBuddyProperties.setNickName(buddyProperties.getNickName());
          apiBuddyProperties.setOnline(buddyProperties.isOnline());
          apiBuddyProperties.setState(buddyProperties.getState());
      }
docs: Update buddy properties of user
  
  @param buddyProperties smartfox user's buddy properties
  @param apiBuddyProperties api user's buddy properties