Glific v0.3.1 Glific.Flows.ContactAction View Source
Since many of the functions, also do a few actions like send a message etc centralizing it here
Link to this section Summary
Functions
Contact opts out
Given a shortcode and a context, send the right session template message to the contact
Link to this section Functions
Specs
optout(Glific.Flows.FlowContext.t()) :: Glific.Flows.FlowContext.t()
Contact opts out
Specs
send_message(Glific.Flows.FlowContext.t(), Glific.Flows.Action.t(), [String.t()]) :: {:ok, map(), any()}
Given a shortcode and a context, send the right session template message to the contact