@@ -36,10 +36,10 @@ public function getConversations($options)
3636 * @return mixed
3737 * @throws \GuzzleHttp\Exception\GuzzleException
3838 */
39- public function getConversation ($ id )
39+ public function getConversation ($ id, $ options = [] )
4040 {
4141 $ path = $ this ->conversationPath ($ id );
42- return $ this ->client ->get ($ path , [] );
42+ return $ this ->client ->get ($ path , $ options );
4343 }
4444
4545 /**
@@ -55,7 +55,7 @@ public function replyToConversation($id, $options)
5555 $ path = $ this ->conversationReplyPath ($ id );
5656 return $ this ->client ->post ($ path , $ options );
5757 }
58-
58+
5959 /**
6060 * Creates Conversation Reply to last conversation. (no need to specify Conversation ID.)
6161 * @see https://developers.intercom.io/reference#replying-to-users-last-conversation
@@ -68,7 +68,7 @@ public function replyToLastConversation($options)
6868 $ path = 'conversations/last/reply ' ;
6969 return $ this ->client ->post ($ path , $ options );
7070 }
71-
71+
7272 /**
7373 * Marks a Conversation as read based on the given Conversation ID.
7474 * @see https://developers.intercom.io/reference#marking-a-conversation-as-read
@@ -82,7 +82,7 @@ public function markConversationAsRead($id)
8282 $ data = ['read ' => true ];
8383 return $ this ->client ->put ($ path , $ data );
8484 }
85-
85+
8686 /**
8787 * Returns endpoint path to Conversation with given ID.
8888 * @param string $id
0 commit comments