code: function(w, data) {
              return (w.senderToNameMap[data.id] || data.id) + ' ' +
                  (data.collapsed ? 'mini' : 'maxi') + 'mized the chat';
          }
docs: For both collapse and uncollapse.