Пример #1
0
        protected async Task <StateResult> Step0(Message message, string text, TelegramBotClient bot, bool batchMode)
        {
            if (!batchMode)
            {
                var chatId        = base.GetChatId(message);
                var notifications = this.getNotifyLocationsByChatIdQuery.Execute(new GetNotifyLocationsByChatIdRequest(ChatIds: new[] { chatId }));
                var gyms          = GetCurrentGyms(chatId);

                await Helper.Business.SendGymList(gyms, notifications, chatId, bot);
            }

            return(StateResult.ContinueWith(1));
        }