Добрый день. Почему у меня ловит не все события? Пробую писать сообщения в беседу с этой группой, но в консоль выводится не все.
while (true) // Бесконечный цикл, получение обновлений
{
var s = vkApi.Groups.GetLongPollServer(190776459);
var poll = vkApi.Groups.GetBotsLongPollHistory(
new BotsLongPollHistoryParams()
{ Server = s.Server, Ts = s.Ts, Key = s.Key, Wait = 25 });
if (poll.Updates == null) continue; // Проверка на новые события
foreach (var a in poll.Updates)
{
if (a.Type == GroupUpdateType.MessageNew)
{
Console.Write(a.MessageNew.Message.Text);
}
}
}