InputNotifyPeer

class pyrogram.raw.types.InputNotifyPeer

Notifications generated by a certain user or group.

Constructor of InputNotifyPeer.

Details:
  • Layer: 227

  • ID: B8BC5B0C

Parameters:

peer (InputPeer) – User or group

TL Schema

inputNotifyPeer#b8bc5b0c
peer:InputPeer

= InputNotifyPeer

Parameter Tree

InputNotifyPeer
└── peer → InputPeer
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_id → long
├── InputPeerUser
│ ├── user_id → long
│ └── access_hash → long
│ ├── channel_id → long
│ └── access_hash → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── user_id → long
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_id → int
└── channel_id → long

Example

InputNotifyPeer(
    peer=await app.resolve_peer(chat_id),
)