1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
updateNewChannelMessage | A new message was sent in a [channel/supergroup](https://core.telegram.org/api/channel) | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateNewChannelMessage
A new message was sent in a channel/supergroup
Attributes:
Name | Type | Required | Description |
---|---|---|---|
message | Message | Optional | New message |
pts | int | Yes | Event count after generation |
pts_count | int | Yes | Number of events that were generated |
Type: Update
Example:
$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int];
Or, if you're into Lua:
updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int}