MadelineProtoDocs/old_docs/API_docs_v40/constructors/inputNotifyPeer.md
2019-12-27 17:48:04 +01:00

780 B

title description image
inputNotifyPeer Notifications generated by a certain user or group. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputNotifyPeer

Back to constructors index

Notifications generated by a certain user or group.

Attributes:

Name Type Required Description
peer Username, chat ID, Update, Message or InputPeer Optional User or group

Type: InputNotifyPeer

Example:

$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer];

Or, if you're into Lua:

inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer}