MadelineProtoDocs/old_docs/API_docs_v53/constructors/notifyPeer.md
2019-12-27 17:58:34 +01:00

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}