# danog\MadelineProto\Settings\Peer

Back to index

Author: Daniil Gentili daniil@daniil.it

Peer database settings.

# Method list:

# Methods:

# getFullInfoCacheTime(): int

Get cache time for full peer information (seconds).

# setFullInfoCacheTime(int $fullInfoCacheTime): self

Set cache time for full peer information (seconds).

Parameters:

# getFullFetch(): bool

Get should madeline fetch the full member list of every group it meets?

# setFullFetch(bool $fullFetch): self

Set should madeline fetch the full member list of every group it meets?

Parameters:

# getCacheAllPeersOnStartup(): bool

Get whether to cache all peers on startup for userbots.

# setCacheAllPeersOnStartup(bool $cacheAllPeersOnStartup): self

Set whether to cache all peers on startup for userbots.

Parameters:


Generated by danog/phpdoc

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.