twist message sending functioning