You can't, this is not part of the API. It returns once you have pressed send button even if it is not sent ...
stackoverflow.com