PHP 클래스 Intercom\IntercomConversations

파일 보기 프로젝트 열기: intercom/intercom-php 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( IntercomClient $client ) IntercomConversations constructor.
conversationPath ( string $id ) : string Returns endpoint path to Conversation with given ID.
conversationReplyPath ( string $id ) : string Returns endpoint path to Conversation Reply for Conversation with given ID.
getConversation ( string $id ) : mixed Returns single Conversation.
getConversations ( array $options ) : mixed Returns list of Conversations.
replyToConversation ( string $id, array $options ) : mixed Creates Conversation Reply to Conversation with given ID.

메소드 상세

__construct() 공개 메소드

IntercomConversations constructor.
public __construct ( IntercomClient $client )
$client IntercomClient

conversationPath() 공개 메소드

Returns endpoint path to Conversation with given ID.
public conversationPath ( string $id ) : string
$id string
리턴 string

conversationReplyPath() 공개 메소드

Returns endpoint path to Conversation Reply for Conversation with given ID.
public conversationReplyPath ( string $id ) : string
$id string
리턴 string

getConversation() 공개 메소드

Returns single Conversation.
또한 보기: https://developers.intercom.io/reference#get-a-single-conversation
public getConversation ( string $id ) : mixed
$id string
리턴 mixed

getConversations() 공개 메소드

Returns list of Conversations.
또한 보기: https://developers.intercom.io/reference#list-conversations
public getConversations ( array $options ) : mixed
$options array
리턴 mixed

replyToConversation() 공개 메소드

Creates Conversation Reply to Conversation with given ID.
또한 보기: https://developers.intercom.io/reference#replying-to-a-conversation
public replyToConversation ( string $id, array $options ) : mixed
$id string
$options array
리턴 mixed