MadelineProtoDocs/old_docs/API_docs_v5/constructors/inputNotifyPeer.md

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}