code: function patchPropsForAvatarInitials({ botAvatarInitials, userAvatarInitials, ...props }) {
    // This code will take out "botAvatarInitials" and "userAvatarInitials" from props
  
    let { styleOptions } = props;
  
    if (botAvatarInitials) {
      styleOptions = { ...styleOptions, botAvatarInitials };
  
      console.warn('Web Chat: "botAvatarInitials" is deprecated. Please use "styleOptions.botAvatarInitials" instead. "botAvatarInitials" will be removed on or after December 11 2019 .');
    }
  
    if (userAvatarInitials) {
      styleOptions = { ...styleOptions, userAvatarInitials };
  
      console.warn('Web Chat: "botAvatarInitials" is deprecated. Please use "styleOptions.botAvatarInitials" instead. "botAvatarInitials" will be removed on or after December 11 2019 .');
    }
  
    return {
      ...props,
      styleOptions
    };
  }
docs: TODO: [P3] Take this deprecation code out when releasing on or after 2019 December 11