danog\MadelineProto\Settings\Database\Memory
Author: Daniil Gentili daniil@daniil.it
Memory backend settings.
Method list:
getEnableFileReferenceDb()
setEnableFileReferenceDb(bool $enableFileReferenceDb)
getEnableMinDb()
setEnableMinDb(bool $enableMinDb)
getEnableUsernameDb()
setEnableUsernameDb(bool $enableUsernameDb)
getEnableFullPeerDb()
setEnableFullPeerDb(bool $enableFullPeerDb)
getEnablePeerInfoDb()
setEnablePeerInfoDb(bool $enablePeerInfoDb)
Methods:
getEnableFileReferenceDb()
Get whether to enable the file reference database. If disabled, will break file downloads.
setEnableFileReferenceDb(bool $enableFileReferenceDb)
Set whether to enable the file reference database. If disabled, will break file downloads.
Parameters:
$enableFileReferenceDb
:bool
Whether to enable the file reference database. If disabled, will break file downloads.
getEnableMinDb()
Get whether to enable the min database. If disabled, will break sendMessage (and other methods) in certain conditions.
setEnableMinDb(bool $enableMinDb)
Set whether to enable the min database. If disabled, will break sendMessage (and other methods) in certain conditions.
Parameters:
$enableMinDb
:bool
Whether to enable the min database. If disabled, will break sendMessage (and other methods) in certain conditions.
getEnableUsernameDb()
Get whether to enable the username database. If disabled, will break sendMessage (and other methods) with usernames.
setEnableUsernameDb(bool $enableUsernameDb)
Set whether to enable the username database. If disabled, will break sendMessage (and other methods) with usernames.
Parameters:
$enableUsernameDb
:bool
Whether to enable the username database. If disabled, will break sendMessage (and other methods) with usernames.
getEnableFullPeerDb()
Get whether to enable the full peer info database. If disabled, will break getFullInfo.
setEnableFullPeerDb(bool $enableFullPeerDb)
Set whether to enable the full peer info database. If disabled, will break getFullInfo.
Parameters:
$enableFullPeerDb
:bool
Whether to enable the full peer info database. If disabled, will break getFullInfo.
getEnablePeerInfoDb()
Get whether to enable the peer info database. If disabled, will break getInfo.
setEnablePeerInfoDb(bool $enablePeerInfoDb)
Set whether to enable the peer info database. If disabled, will break getInfo.
Parameters:
$enablePeerInfoDb
:bool
Whether to enable the peer info database. If disabled, will break getInfo.
Generated by danog/phpdoc