A 21-year-old has been in jail after an "objectionable" message was sent on group he was admin of.