messages.hidePeerSettingsBar

Should be called after the user hides the report spam/add as contact bar of a new chat, effectively prevents the user from executing the actions specified in the peer's settings.

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool;

Parameters

Name Type Description
peer InputPeer Peer

Result

Bool

Related pages

peerSettings

Peer settings