A 14-year-old girl was found hanged at the house where she lived with her grandmother in Ubon Ratchathani on Wednesday morning, after recording a goodbye message the night before.
The grandmother woke up at 5am to find the body of the girl hanging from a beam of the storage room of their house in Moo 2 village in Tambon Khilek, Muang district.
A doctor determined the girl, a seventh grader at a local school, had died about six hours earlier.
Her mobile phone contained a voice clip in which she was heard sobbing and saying she was sorry that she could not live with her parents like other children, as they had divorced.
She said the girl complained after school on Tuesday that she did not want to attend classes the next day as they had school tests, saying she wanted to go to hospital instead.
The girl had also complained that her friends did not like her. Her grandmother added that the girl had earlier hugged her and apologised.
She said her granddaughter had watched Facebook clips of people committing suicide by hanging, which may have prompted her to imitate the behaviour.