View Source GlificWeb.Providers.Airtel.Controllers.MessageEventController (Glific v5.1.6)
Dedicated controller to handle all the message status requests like read, delivered etc..
Link to this section Summary
Functions
Message has been delivered to whats app
Message status when the message has been sent to airtel
Message status when airtel could not send the message to whats app
Default handle for all message event callbacks
Message has been read by the beneficiary
Message has been sent to whats app via Airtel
Link to this section Functions
@spec delivered(Plug.Conn.t(), map()) :: Plug.Conn.t()
Message has been delivered to whats app
@spec enqueued(Plug.Conn.t(), map()) :: Plug.Conn.t()
Message status when the message has been sent to airtel
@spec failed(Plug.Conn.t(), map()) :: Plug.Conn.t()
Message status when airtel could not send the message to whats app
@spec handler(Plug.Conn.t(), map(), String.t()) :: Plug.Conn.t()
Default handle for all message event callbacks
@spec read(Plug.Conn.t(), map()) :: Plug.Conn.t()
Message has been read by the beneficiary
@spec sent(Plug.Conn.t(), map()) :: Plug.Conn.t()
Message has been sent to whats app via Airtel