I think calling with TQ would have been borderline. (I wouldn't be surprised to see a full house on a board like that).

Good rule of thumb for low stakes: If someone makes a rediculous bet and the next guy calls/reraises, you need the nuts to continue.

Also, if you factor in the "rake" even if you won (i.e. split three ways) you would have been better off folding.

So, it's not obvious what they had, but it's obvious you are beat.

I would also note that the first person will push with a straight when bet into on the river (that isn't the nut straight).