bootdesk/chat-sdk

Conversation
in package

AbstractYes

Table of Contents

Properties

$bot  : BotMan|null
$token  : string|null

Methods

ask()  : void
getBot()  : BotMan|null
getToken()  : string|null
reply()  : void
run()  : void
say()  : void
setBot()  : self
setToken()  : self
skipsConversation()  : bool
stopsConversation()  : bool

Properties

Methods

ask()

public ask(string|Question $question, callable $next[, array<string|int, mixed> $additionalParameters = [] ]) : void
Parameters
$question : string|Question
$next : callable
$additionalParameters : array<string|int, mixed> = []

getToken()

public getToken() : string|null
Return values
string|null

say()

public say(string $message) : void
Parameters
$message : string

setToken()

public setToken(string $token) : self
Parameters
$token : string
Return values
self

skipsConversation()

public skipsConversation() : bool
Return values
bool

stopsConversation()

public stopsConversation() : bool
Return values
bool
On this page

Search results