Layer 220
MessagesHidePeerSettingsBar
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 action bar.
method
Users
messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Peer |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// MessagesHidePeerSettingsBar - positional arguments result, err := client.MessagesHidePeerSettingsBar(&tg.InputPeerUser{UserID: int64(123456789)}) if err != nil { // handle error } // result is *tg.Bool