MadelineProto/old_docs/API_docs_v51/constructors/peerSettings.md

542 B

title description
peerSettings peerSettings attributes, type and example

Constructor: peerSettings

Back to constructors index

Attributes:

Name Type Required
report_spam Bool Optional

Type: PeerSettings

Example:

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

Or, if you're into Lua:

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