View Source GlificWeb.Providers.Airtel.Controllers.MessageController (Glific v5.1.6)

Dedicated controller to handle different types of inbound message from Airtel

Link to this section Summary

Functions

Callback for interactive list

Callback for interactive quick reply type

Parse text message payload and convert that into Glific message struct

Link to this section Functions

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

Callback for interactive list

Link to this function

quick_reply(conn, params)

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

Callback for interactive quick reply type

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

Parse text message payload and convert that into Glific message struct