MadelineProtoDocs/old_docs/API_docs_v43/constructors/notifyPeer.md
2020-09-12 12:47:38 +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}