public void set_message_sent (owned MessageSentFunc message_sent)
Install a callback that will be called when a message has been sent on this.
a callback called when a message has been sent
called with the user_data when no longer needed
user data passed to callback