diff --git a/VkNet/Abstractions/Category/Async/IMessagesCategoryAsync.cs b/VkNet/Abstractions/Category/Async/IMessagesCategoryAsync.cs index d7834eb24..f09771ced 100644 --- a/VkNet/Abstractions/Category/Async/IMessagesCategoryAsync.cs +++ b/VkNet/Abstractions/Category/Async/IMessagesCategoryAsync.cs @@ -783,7 +783,7 @@ Task GetConversationsByIdAsync(IEnumerable peerIds, IE /// Страница документации ВКонтакте /// http://vk.com/dev/messages.getConversationMembers /// - Task GetConversationMembersAsync(long peerId, IEnumerable fields, ulong? groupId = null); + Task GetConversationMembersAsync(long peerId, IEnumerable fields = null, ulong? groupId = null); /// /// Возвращает сообщения по их идентификаторам в рамках беседы. @@ -1114,4 +1114,4 @@ Task GetRecentCallsAsync(IEnumerable fields, ulong #endregion } -} \ No newline at end of file +} diff --git a/VkNet/Abstractions/Category/IMessagesCategory.cs b/VkNet/Abstractions/Category/IMessagesCategory.cs index 12e1adf33..f8666ab98 100644 --- a/VkNet/Abstractions/Category/IMessagesCategory.cs +++ b/VkNet/Abstractions/Category/IMessagesCategory.cs @@ -122,7 +122,7 @@ ConversationResult GetConversationsById(IEnumerable peerIds, IEnumerable - GetConversationMembersResult GetConversationMembers(long peerId, IEnumerable fields, ulong? groupId = null); + GetConversationMembersResult GetConversationMembers(long peerId, IEnumerable fields = null, ulong? groupId = null); /// GetByConversationMessageIdResult GetByConversationMessageId(long peerId, [NotNull] IEnumerable conversationMessageIds, @@ -178,4 +178,4 @@ GetRecentCallsResult GetRecentCalls(IEnumerable fields, ulong? count = n #endregion } -} \ No newline at end of file +} diff --git a/VkNet/Categories/Async/MessagesCategoryAsync.cs b/VkNet/Categories/Async/MessagesCategoryAsync.cs index 5f36ff74b..75ab59ab1 100644 --- a/VkNet/Categories/Async/MessagesCategoryAsync.cs +++ b/VkNet/Categories/Async/MessagesCategoryAsync.cs @@ -82,7 +82,7 @@ public Task GetConversationsAsync(GetConversationsParams } /// - public Task GetConversationMembersAsync(long peerId, IEnumerable fields, + public Task GetConversationMembersAsync(long peerId, IEnumerable fields = null, ulong? groupId = null) { return TypeHelper.TryInvokeMethodAsync(() => GetConversationMembers(peerId, fields, groupId)); @@ -332,4 +332,4 @@ public Task EditAsync(MessageEditParams @params) return TypeHelper.TryInvokeMethodAsync(() => Edit(@params)); } } -} \ No newline at end of file +} diff --git a/VkNet/Categories/MessagesCategory.cs b/VkNet/Categories/MessagesCategory.cs index ab43a733d..42bfe6f47 100644 --- a/VkNet/Categories/MessagesCategory.cs +++ b/VkNet/Categories/MessagesCategory.cs @@ -273,7 +273,7 @@ public GetConversationsResult GetConversations(GetConversationsParams getConvers } /// - public GetConversationMembersResult GetConversationMembers(long peerId, IEnumerable fields, ulong? groupId = null) + public GetConversationMembersResult GetConversationMembers(long peerId, IEnumerable fields = null, ulong? groupId = null) { return _vk.Call("messages.getConversationMembers", new VkParameters @@ -850,4 +850,4 @@ public Message GetById(ulong messageId, uint? previewLength = null) throw new VkApiException("Сообщения с таким ID не существует."); } } -} \ No newline at end of file +}