MadelineProtoDocs/old_docs/API_docs_v14/constructors/notifyPeer.md

677 B

title description image
notifyPeer Notifications generated by a certain user or group. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: notifyPeer

Back to constructors index

Notifications generated by a certain user or group.

Attributes:

Name Type Required Description
peer Peer Yes user or group

Type: NotifyPeer

Example:

$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer];

Or, if you're into Lua:

notifyPeer={_='notifyPeer', peer=Peer}