code: public Object getAttribute(String key) {
      Object value;
      if (pendingAttributes.containsKey(key)) {
        value = pendingAttributes.get(key);
      } else {
        value = attributes.get(key);
      }
      return value;
    }
docs: 获取当前聊天对话的属性
  
  @return
  @since 3.0