RemembersConversations
interface RemembersConversations implements Conversational
Methods
Get the list of messages comprising the conversation so far.
Start a new conversation for the given participant.
Start a new conversation for the given user.
Continue an existing conversation, optionally as the given participant.
Continue the given conversation for the participant, or start a new one when there is none.
Continue the given participant's last conversation with this agent.
Get the UUID for the current conversation, if applicable.
Determine if the conversation has a participant and is thus being remembered.
Get the participant having the current conversation.
Details
in
Conversational at line 16
iterable
messages()
Get the list of messages comprising the conversation so far.
at line 12
RemembersConversations
forParticipant(object $participant)
Start a new conversation for the given participant.
at line 17
RemembersConversations
forUser(object $user)
Start a new conversation for the given user.
at line 22
RemembersConversations
continue(string $conversationId, object|null $as = null)
Continue an existing conversation, optionally as the given participant.
at line 27
RemembersConversations
continueOrStart(string|null $conversationId, object $as)
Continue the given conversation for the participant, or start a new one when there is none.
at line 32
RemembersConversations
continueLastConversation(object $as)
Continue the given participant's last conversation with this agent.
at line 37
string|null
currentConversation()
Get the UUID for the current conversation, if applicable.
at line 42
bool
hasConversationParticipant()
Determine if the conversation has a participant and is thus being remembered.
at line 47
object|null
conversationParticipant()
Get the participant having the current conversation.