code: func (c *Callbacks) OnCUserMessageCloseCaption(fn func(*dota.CUserMessageCloseCaption) error) {
  	c.onCUserMessageCloseCaption = append(c.onCUserMessageCloseCaption, fn)
  }
docs: // OnCUserMessageCloseCaption registers a callback for EBaseUserMessages_UM_CloseCaption