View Source GlificWeb.Providers.Gupshup.Controllers.BillingEventController (Glific v5.1.6)

Dedicated controller to handle billing events from Gupshup

Link to this section Summary

Functions

Message status when the message has been sent to gupshup

Callback for billing event

Default handle for all billing event callbacks

Link to this section Functions

Link to this function

conversations(conn, params)

View Source
@spec conversations(Plug.Conn.t(), map()) :: Plug.Conn.t()

Message status when the message has been sent to gupshup

Link to this function

handle_billing_event(conn, params)

View Source
@spec handle_billing_event(Plug.Conn.t(), map()) :: Plug.Conn.t()

Callback for billing event

@spec handler(Plug.Conn.t(), map()) :: Plug.Conn.t()

Default handle for all billing event callbacks