MadelineProtoDocs/old_docs/API_docs_v34/constructors/notifyPeer.md
2020-06-16 17:50:25 +02: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}