How to use SteamMatchmaking()->GetLobbyChatEntry

We are trying to get the lobby chat message, but there aren’t many code example. We did find a git example, but it is still not clear how to get the message FString:
UE4-Steamworks/SteamworksManager.cpp at master · davevill/UE4-Steamworks · GitHub L368

Can someone give an example of how to retrieve the message (as a FString) from buffer?

I found how to do this:

To send a message in the chat:

FString Message = “My message”;
SteamMatchmaking()->SendLobbyChatMsg(lobbyID, TCHAR_TO_ANSI(*Message), strlen(TCHAR_TO_ANSI(*Message)) + 1);

To receive:

CSteamID Sender;
char PvData[100];
int CubData = sizeof(PvData);
EChatEntryType EntryType;

SteamMatchmaking()->GetLobbyChatEntry(pCallback->m_ulSteamIDLobby, pCallback->m_iChatID, &Sender, PvData, CubData, &EntryType);