コード例 #1
0
        public async Task ProcessMessage(string message)
        {
            if (message.Equals("cancel", StringComparison.OrdinalIgnoreCase))
            {
                await UserExtensions.SendMessageAsync(_user, "interaction canceled");

                _conversationService.CloseConversation(_user.Id);
                return;
            }
            await ProcessUncanceledMessage(message);
        }