Java

Fetch the Conversation

Inside MainActivity class add the conversation property:

Update body of the getConversation() method:

Please make sure to replace CONVERSATION_ID with the conversation id you created during a previous step.

The above method loads the conversation and stores it in the conversation property.

Note: Conversation id is retrieved from Config.CONVERSATION_ID provided in the previous step.