bootdesk/chat-sdk

Answer
in package

Table of Contents

Properties

$interactiveReply  : bool
$message  : IncomingMessage|null
$text  : string
$value  : string|null

Methods

create()  : self
fromMessage()  : self
getMessage()  : IncomingMessage|null
getText()  : string
getValue()  : string|null
isInteractiveMessageReply()  : bool
setInteractiveReply()  : self
setValue()  : self
__construct()  : mixed

Properties

$interactiveReply

private bool $interactiveReply = false

$text read-only

private string $text

$value

private string|null $value = null

Methods

create()

public static create([string $text = '' ]) : self
Parameters
$text : string = ''
Return values
self

getText()

public getText() : string
Return values
string

getValue()

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

isInteractiveMessageReply()

public isInteractiveMessageReply() : bool
Return values
bool

setInteractiveReply()

public setInteractiveReply(bool $interactive) : self
Parameters
$interactive : bool
Return values
self

setValue()

public setValue(string|null $value) : self
Parameters
$value : string|null
Return values
self
On this page

Search results