endSession
Ends the current messaging session without closing the conversation.
After ending a session, the conversation remains accessible and a new session can be started by sending another message. Use this to signal that the user has finished their current interaction but may return later.
To permanently close a conversation so no further messages can be sent, use closeConversation instead.
Return
Result.Success if the session was ended, or Result.Error if the operation failed.