public bool ReportComment(long commentId, long ownerId, VideoReportType reason) { VkErrors.ThrowIfNumberIsNegative(() => commentId); var parameters = new VkParameters { { "comment_id", commentId }, { "owner_id", ownerId }, { "reason", reason } }; return(_vk.Call("video.reportComment", parameters)); }
public bool Report(long videoId, VideoReportType reason, long?ownerId, string comment = null, string searchQuery = null) { VkErrors.ThrowIfNumberIsNegative(() => videoId); var parameters = new VkParameters { { "video_id", videoId }, { "owner_id", ownerId }, { "reason", reason }, { "comment", comment }, { "search_query", searchQuery } }; return(_vk.Call("video.report", parameters)); }
public bool ReportComment(long commentId, long ownerId, VideoReportType reason) { VkErrors.ThrowIfNumberIsNegative(() => commentId); var parameters = new VkParameters { {"comment_id", commentId}, {"owner_id", ownerId}, {"reason", reason} }; return _vk.Call("video.reportComment", parameters); }
public bool Report(long videoId, VideoReportType reason, long? ownerId, string comment = null, string searchQuery = null) { VkErrors.ThrowIfNumberIsNegative(() => videoId); var parameters = new VkParameters { {"video_id", videoId}, {"owner_id", ownerId}, {"reason", reason}, {"comment", comment}, {"search_query", searchQuery} }; return _vk.Call("video.report", parameters); }
public bool Report(long ownerId, long photoId, VideoReportType reason) { VkErrors.ThrowIfNumberIsNegative(() => photoId); var parameters = new VkParameters { {"owner_id", ownerId}, {"photo_id", photoId}, {"reason", reason} }; VkResponse response = _vk.Call("photos.report", parameters); return response; }