MadelineProtoDocs/old_docs/API_docs_v82/constructors/updateNewMessage.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

955 B

title description image
updateNewMessage Update new message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateNewMessage

Back to constructors index

Update new message

Attributes:

Name Type Required Description
message Message Optional Message
pts int Yes Pts
pts_count int Yes Pts count

Type: Update

Example:

$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int];

PWRTelegram json-encoded version:

{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int}

Or, if you're into Lua:

updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int}