MadelineProtoDocs/old_docs/API_docs_v71/constructors/peerSettings.md
2019-12-27 17:48:04 +01:00

676 B

title description image
peerSettings Peer settings https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: peerSettings

Back to constructors index

Peer settings

Attributes:

Name Type Required Description
report_spam Bool Optional Whether we can still report the user for spam

Type: PeerSettings

Example:

$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool];

Or, if you're into Lua:

peerSettings={_='peerSettings', report_spam=Bool}