mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
31 lines
1.0 KiB
Markdown
31 lines
1.0 KiB
Markdown
---
|
|
title: "channelAdminLogEventActionParticipantJoinByRequest"
|
|
description: "A new member was accepted to the chat by an admin"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: channelAdminLogEventActionParticipantJoinByRequest
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
A new member was accepted to the chat by an admin
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|invite|[ExportedChatInvite](/API_docs/types/ExportedChatInvite.html) | Yes|The invite link that was used to join the chat|
|
|
|approved\_by|[long](/API_docs/types/long.html) | Yes|ID of the admin that approved the invite|
|
|
|
|
|
|
|
|
### Type: [ChannelAdminLogEventAction](/API_docs/types/ChannelAdminLogEventAction.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$channelAdminLogEventActionParticipantJoinByRequest = ['_' => 'channelAdminLogEventActionParticipantJoinByRequest', 'invite' => ExportedChatInvite, 'approved_by' => long];
|
|
```
|