You can create a conversation that has been initiated by a contact (ie. user or lead).
The conversation can be an in-app message only.
Sending for visitors
You can also send a message from a visitor by specifying their
idvalue in the
fromfield, along with a
typefield value of
This visitor will be automatically converted to a contact with a lead role once the conversation is created.
This will return the Message model that has been created.