MadelineProtoDocs/old_docs/API_docs_v46/constructors/notifyPeer.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

693 B

title description image
notifyPeer Notify peer https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: notifyPeer

Back to constructors index

Notify peer

Attributes:

Name Type Required Description
peer Peer Yes Peer

Type: NotifyPeer

Example:

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

PWRTelegram json-encoded version:

{"_": "notifyPeer", "peer": Peer}

Or, if you're into Lua:

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