ChatFeaturesParameters
Table of Contents
Properties
-
$allowChat
: bool
-
$allowedFileTypes
: array<string|int, string>
-
$allowFileUpload
: bool
-
$maxFileSize
: int
Methods
-
__construct()
: mixed
-
buildBody()
: array<string|int, mixed>
-
getAllowedFileTypes()
: array<string|int, string>
-
getMaxFileSize()
: int
-
isAllowChat()
: bool
-
isAllowFileUpload()
: bool
-
setAllowChat()
: mixed
-
setAllowedFileTypes()
: mixed
-
setAllowFileUpload()
: mixed
-
setMaxFileSize()
: mixed
$allowChat
protected
bool
$allowChat
= true
$allowedFileTypes
protected
array<string|int, string>
$allowedFileTypes
= array()
$allowFileUpload
protected
bool
$allowFileUpload
= true
$maxFileSize
protected
int
$maxFileSize
= 0
__construct()
public
__construct() : mixed
buildBody()
public
buildBody() : array<string|int, mixed>
Return values
array<string|int, mixed>
getAllowedFileTypes()
public
getAllowedFileTypes() : array<string|int, string>
Return values
array<string|int, string>
getMaxFileSize()
public
getMaxFileSize() : int
isAllowChat()
public
isAllowChat() : bool
isAllowFileUpload()
public
isAllowFileUpload() : bool
setAllowChat()
public
setAllowChat(bool $allowChat) : mixed
Parameters
-
$allowChat
: bool
-
setAllowedFileTypes()
public
setAllowedFileTypes(array<string|int, string> $allowedFileTypes) : mixed
Parameters
-
$allowedFileTypes
: array<string|int, string>
-
setAllowFileUpload()
public
setAllowFileUpload(bool $allowFileUpload) : mixed
Parameters
-
$allowFileUpload
: bool
-
setMaxFileSize()
public
setMaxFileSize(int $maxFileSize) : mixed
Parameters
-
$maxFileSize
: int
-