mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
938 B
938 B
title | description | nav_exclude | image |
---|---|---|---|
updateNewMessage | New message in a private chat or in a basic group. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateNewMessage
New message in a private chat or in a basic group.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
message | Message | Optional | Message |
pts | int | Yes | New quantity of actions in a message box |
pts_count | int | Yes | Number of generated events |
Type: Update
Example:
$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int];