Hi there,
Are these the only photos that exist of the bird? I ask because, while it may well be a Ring-billed, a few features are unusual for one, and other features can't be seen at all (like the extent and contrast of the tertial crescent, for one).
Whatever the bird is, it is a 2nd-w: adults of both species would have yellower legs, and 1st-w birds would have pinkish or greyish bills with black tips/ juvenile coverts etc. I would associate this odd bluish leg colour more with 2nd-w Common, to be honest, although I have seen it on 2nd-w Ring-billed occasionally. The bill doesn't seem very thick, and 2nd-w Commons often have a bill band, so I'd prefer to see a nice shot in profile. Admittedly, the nature of the breast markings are suggestive of Ring-billed, but I would like to see more detail, or some notes.
Also potentially of interest is the pattern of the tail, best seen in flight, which can often be quite distinctive in 2nd-w Ring-billed: was this noted/ photographed?
Regards,
Harry