private static async Task SendSuggestedActionWayybillAsync(ITurnContext turnContext, CancellationToken cancellationToken) { var reply = MessageFactory.Text(ordernumber + " numarali siparis için, Irsaliye ye asagidaki Linke tiklayarak ulasabilirsin. SENİ ANLAMIŞMIYIM (evet - hayir)"); reply.SuggestedActions = new SuggestedActions() { Actions = CardActionManager.GetWayybil() }; await turnContext.SendActivityAsync(reply, cancellationToken); }
private static async Task SendSuggestedActionPackingAsync(ITurnContext turnContext, CancellationToken cancellationToken) { var reply = MessageFactory.Text(ordernumber + " numarali siparis için, Asagidaki hangi nedeni söyleyebilirsin ?"); reply.SuggestedActions = new SuggestedActions() { Actions = CardActionManager.GetPackingErrors() }; await turnContext.SendActivityAsync(reply, cancellationToken); }
private static async Task SendSuggestedActionsAccount2Async(ITurnContext turnContext, CancellationToken cancellationToken) { var reply = MessageFactory.Text("Lütfen Müsteri seçermisin ?"); reply.SuggestedActions = new SuggestedActions() { Actions = CardActionManager.GetAccountsc2() }; await turnContext.SendActivityAsync(reply, cancellationToken); }
private static async Task SendSuggestedActionsPlatformAsync(ITurnContext turnContext, CancellationToken cancellationToken) { var reply = MessageFactory.Text("Size daha iyi yardimci olabilmem için, Lütfen Depo seçiniz."); reply.SuggestedActions = new SuggestedActions() { Actions = CardActionManager.GetPlatforms() }; await turnContext.SendActivityAsync(reply, cancellationToken); }
private void Awake() { if (Instance == null) { Instance = this; DontDestroyOnLoad(gameObject); } else { Destroy(gameObject); } }
CardActionManager() { instance = this; }