I want to close current Inline Response to do some behaviors.
I have try this function: OutlookApp.ActiveExplorer().ClearSelection() but it cannot work under Conversation View and raise exception:
The method you are invoking is invalid for a conversation view
So, what is right way to close Inline Response?
That functionality is not exposed for the programmatic access. You can try to use Accessibility API to simulate a click on the "Discard" button or you can try Redemption (I am its author) and its SafeExplorer object - it exposes
ActiveInlineResponseDiscardmethod: