A group of boys thrashed a Class-11 student of Government Senior Secondary School, Sector 28, and made an objectionable video of him.
The victim was attacked in the parking lot of Sector 27 on Monday over not giving the accused cigarettes on credit from his father's shop.
The matter came to light when the victim's elder brother saw the video and informed his parents.
Sector 26 police station SHO inspector Anokh Singh said all the accused were minors and were known to the victim. He further said the matter ended in a compromise after the accused's parents apoligised.