utils/apiInteraction/get_customer_history library

Functions

getCustomerHistory({required PapercupsProps 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.