mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 09:07:20 +01:00
1.0 KiB
1.0 KiB
title | description |
---|---|
channelAdminLogEvent | channelAdminLogEvent attributes, type and example |
Constructor: channelAdminLogEvent
Attributes:
Name | Type | Required |
---|---|---|
id | long | Yes |
date | int | Yes |
user_id | int | Yes |
action | ChannelAdminLogEventAction | Yes |
Type: ChannelAdminLogEvent
Example:
$channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction];
PWRTelegram json-encoded version:
{"_": "channelAdminLogEvent", "id": long, "date": int, "user_id": int, "action": ChannelAdminLogEventAction}
Or, if you're into Lua:
channelAdminLogEvent={_='channelAdminLogEvent', id=long, date=int, user_id=int, action=ChannelAdminLogEventAction}