View Source Glific.Searches.Search (Glific v5.1.6)
The Glific Abstraction to represent the conversation with a user. This unifies a vast majority of the glific data types including: message, contact, and tag
Link to this section Summary
Functions
Create a new conversation. A contact is required for the conversation. Messages can be added later on
Link to this section Types
@type t() :: %Glific.Searches.Search{ contacts: Glific.Contacts.Contact.t(), id: term(), labels: Glific.Messages.Message.t(), messages: Glific.Messages.Message.t(), tags: Glific.Messages.Message.t() }
Link to this section Functions
Create a new conversation. A contact is required for the conversation. Messages can be added later on