I'm not sure why it's legally relevant that this happened over text message — isn't this just a specific manifestation of speech made to convince someone to kill themselves? Why is this different than e.g. finding someone on a bridge and telling them to jump?