EndSmsConversation

Overview

End any current conversation on an SMS response from an MO user. Use this AMPscript function for MobileConnect. You cannot use this function with conversation-based templates, including Double Opt-In or Info Capture. Becase this function always returns a true value, don't use this function as part of a decision-making workflow.

Syntax

EndSmsConversation(1, 2)

Function Properties

OrdinalTypeDescription
1stringRequiredShort code used for SMS communication
2stringRequiredThe mobile number value used to end the conversation. You can use MOBILE_NUMBER to pass in the value as necessary.

Usage

During a conversation between the MT user and the MO user, this example will end the conversation.