A man has been charged with having a conversation of a sexual nature with a teenager.