Vijay alias Narasingh, a school drop-out, hanged himself from a tree on July 2, said assistant commissioner of police Ch Sruta Keerthi.
Two days ago, Vijay's parents received a video through WhatsApp, in which Vijay purportedly said that he was going to commit suicide 'because of betting'. He also advised others to stay away from the vice of betting, said sub-inspector K Kranthi Kumar of Shankarpally police station.
Some local news channels aired the video on Friday.
Further probe is on, sub-inspector Mr Kumar said.