Commit 4c53af3e authored by Lily Tsai's avatar Lily Tsai
Browse files

Update README.md

parent ee7c930c
......@@ -185,8 +185,8 @@ Client.GetReceivedMessagesCallback callback = new ESClient.GetReceivedMessagesCa
msgText = encounterForwardingMessage.getMsgText();
break;
case PRIVATE_MESSAGE:
MessageChannelMessage messageChannelMessage = msg.getMessageChannelMessage();
msgText = messageChannelMessage.getMsgText();
PrivateMessage privateMessage = msg.getPrivateMessage();
msgText = privateMessage.getMsgText();
break;
default: // skip non-messaging type messages used as metadata
msgText = "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment