If you only need to process incoming messages.
commands.ConfigureUserLongPoll(new UserLongPollConfiguration { MessageType = MessageType.Received });
If you only need to process sent messages.
commands.ConfigureUserLongPoll(new UserLongPollConfiguration { MessageType = MessageType.Sended });
If you need to process all types of messages. Not required. The default value is null.
commands.ConfigureUserLongPoll(new UserLongPollConfiguration { MessageType = null });
commands.ConfigureUserLongPoll(new UserLongPollConfiguration { });
There was an error while loading. Please reload this page.