Beispiel #1
0
        public async Task HandleMessage(Messaging messaging)
        {
            await _facebookService.SendSenderActionAsync(messaging.Sender.Id, SenderAction.TYPING_INDICATOR_ON);

            if (messaging.Message != null)
            {
                await HandleTextMessage(messaging);
            }
            else if (messaging.Postback != null)
            {
                await HandlePostbackMessage(messaging);
            }
        }