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
└── peerPeer
├── PeerUser
│ └── user_idlong
├── PeerChat
│ └── chat_idlong
└── PeerChannel
└── channel_idlong

Example

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