MadelineProtoDocs/old_docs/API_docs_v23/constructors/updateNewMessage.md
2019-12-27 17:48:04 +01:00

746 B

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

Constructor: updateNewMessage

Back to constructors index

New message.

Attributes:

Name Type Required Description
message Message Optional Message
pts int Yes New quantity of actions in a message box

Type: Update

Example:

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

Or, if you're into Lua:

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