def on_send_activities(self, handler) -> '<STR_LIT>':
self._on_send_activities.append(handler)<EOL>return self<EOL>
Registers a handler to be notified of and potentially intercept the sending of activities.
:param handler:
:return: