View Source Glific.Processor.Helper (Glific v5.1.6)

Helper functions for all processing modules. Might promote this up at a later stage

Link to this section Summary

Functions

Helper function to add tag

Helper function to add tag

Link to this section Functions

Link to this function

add_dialogflow_tag(message, response)

View Source
@spec add_dialogflow_tag(Glific.Messages.Message.t(), map()) :: any()

Helper function to add tag

Link to this function

add_tag(message, tag_id, value \\ nil)

View Source
@spec add_tag(Glific.Messages.Message.t(), integer(), String.t() | nil) ::
  Glific.Messages.Message.t()

Helper function to add tag