public async Task <bool> SendMessageEventAnswerAsync(EventId eventId, long userId, long peerId, EventData eventData) { try { string _eventId; lock (eventId) { if (string.IsNullOrEmpty(eventId)) { return(false); } _eventId = eventId; eventId.Clear(); } return(await VkApi.Messages.SendMessageEventAnswerAsync(_eventId, userId, peerId, eventData)); } catch (ConversationAccessDeniedException e) { if (!BaseChat.IsUserConversation(peerId)) { VkApi.GetChat <Chat>(peerId).OnKick(null); return(false); } throw e; } }