utils/getCustomerHistory library
Functions
-
getCustomerHistory(
{required Props props, PapercupsCustomer? c, required Function setCustomer, List< PapercupsMessage> ? messages, PhoenixChannel? conversationChannel, Function? setConversationChannel, Function? rebuild, PhoenixSocket? socket}) → Future<bool> - This function is used to get the history. It also initializes the necessary funtions if the customer is known.