NotifyPeer

class pyrogram.raw.base.NotifyPeer

Object defines the set of users and/or groups that generate notifications.

Constructors:

This base type has 5 constructors available.

NotifyBroadcasts

Channel notification settings

NotifyChats

Notifications generated by all groups.

NotifyForumTopic

Notifications generated by a topic in a forum.

NotifyPeer

Notifications generated by a certain user or group.

NotifyUsers

Notifications generated by all users.

TL Schema

notifyPeer#9fd40bd8
peer:Peer

= NotifyPeer

Parameter Tree

NotifyPeer
└── peer → Peer
├── PeerUser
│ └── user_id → long
├── PeerChat
│ └── chat_id → long
└── PeerChannel
└── channel_id → long

Example

NotifyPeer(
    peer=PeerUser(user_id=0),
)