public void setAttributes(Map<String, Object> attr) {
    pendingAttributes.clear();
    pendingAttributes.putAll(attr);
  }
public void setAttributes ( Map < String , Object > attr ) { pendingAttributes . clear ( ) ; pendingAttributes . putAll ( attr ) ; }
设置当前聊天对话的属性

@param attr
@since 3.0