++
This commit is contained in:
@@ -157,9 +157,10 @@ public sealed class VkApiClient : IDisposable
|
|||||||
IReadOnlyCollection<Photo> saved;
|
IReadOnlyCollection<Photo> saved;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
// Для стены сообщества указываем только group_id. user_id=0 VkNet добавил бы в запрос и VK отклоняет такую связку.
|
||||||
saved = await _api.Photo.SaveWallPhotoAsync(
|
saved = await _api.Photo.SaveWallPhotoAsync(
|
||||||
response: result,
|
response: result,
|
||||||
userId: 0,
|
userId: null,
|
||||||
groupId: groupIdUlong,
|
groupId: groupIdUlong,
|
||||||
caption: null,
|
caption: null,
|
||||||
token: ct)
|
token: ct)
|
||||||
|
|||||||
Reference in New Issue
Block a user