WeChat.Storage.Hub.save_ticket

You're seeing just the callback save_ticket, go back to WeChat.Storage.Hub module for more information.
Link to this callback

save_ticket(appid, ticket, type, args)

View Source

Specs

save_ticket(
  appid :: String.t(),
  ticket :: String.t(),
  type :: String.t(),
  args :: term()
) ::
  {:ok,
   %WeChat.Ticket{
     expires_in: term(),
     timestamp: term(),
     type: term(),
     value: term()
   }}

Save ticket of WeChat common application, the option of type parameter is "wx_card" or "jsapi"(refer WeChat Official document).