MadelineProtoDocs/old_docs/API_docs_v46/constructors/notifyPeer.md
2019-12-27 17:48:04 +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}