Link Search Menu Expand Document

Constructor: updateNewMessage

Back to constructors index

New message in a private chat or in a basic group.

Attributes:

NameTypeRequiredDescription
messageMessageOptionalMessage
ptsintYesNew quantity of actions in a message box
pts_countintYesNumber of generated events

Type: Update

Example:

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