mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 16:50:37 +01:00
30 lines
747 B
Markdown
30 lines
747 B
Markdown
|
---
|
||
|
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];
|
||
|
```
|