messages.HidePeerSettingsBar

class pyrogram.raw.functions.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 action bar ».

Details:
  • Layer: 223

  • ID: 4FACB138

Parameters:

peer (InputPeer) – Peer

Returns:

bool

TL Schema

messages.hidePeerSettingsBar#4facb138
peer:InputPeer

= Bool

Parameter Tree

HidePeerSettingsBar
└── peerInputPeer
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_idlong
├── InputPeerUser
│ ├── user_idlong
│ └── access_hashlong
│ ├── channel_idlong
│ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── channel_idlong

Example

await app.invoke(
    HidePeerSettingsBar(
        peer=await app.resolve_peer(chat_id),
    )
)