InputNotifyPeer
- class pyrogram.raw.base.InputNotifyPeer
Object defines the set of users and/or groups that generate notifications.
- Constructors:
This base type has 5 constructors available.
All channels
Notifications generated by all groups.
Notifications generated by a topic in a forum.
Notifications generated by a certain user or group.
Notifications generated by all users.
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├──
InputPeerChannel│ ├── 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│ ├──
InputPeerUserFromMessage├── msg_id →
int└── channel_id →
longExample
InputNotifyPeer(
peer=await app.resolve_peer(chat_id),
)