MadelineProtoDocs/docs/API_docs/constructors/inputNotifyPeer.md

30 lines
747 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "inputNotifyPeer"
description: "Notifications generated by a certain user or group."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputNotifyPeer
[Back to constructors index](/API_docs/constructors/index.html)
Notifications generated by a certain user or group.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|peer|[Username, chat ID, Update, Message or InputPeer](/API_docs/types/InputPeer.html) | Optional|User or group|
### Type: [InputNotifyPeer](/API_docs/types/InputNotifyPeer.html)
### Example:
```
$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer];
```