Get assigned agent details of the last or current conversation - depending on retrieveAssignedAgentFromLastClosedConversation in the LPConfig defaultConfiguration.

You must check that the SDK is ready before calling this method.

func getAssignedAgent(_ conversationQuery: ConversationParamProtocol) -> LPUser?

Parameter Description Notes
conversationQuery Represents a 'filter’ for the conversation screen, determining which of the conversations will be displayed in the following screens. Default: sorts the conversations by account number.
See helpers methods above for how to generate a conversation query.