Link Search Menu Expand Document

Constructor: updatesCombined

Back to constructors index

Constructor for a group of updates.

Attributes:

NameTypeRequiredDescription
updatesArray of UpdateYesList of updates
usersArray of UserYesList of users mentioned in updates
chatsArray of ChatYesList of chats mentioned in updates
dateintYesCurrent date
seq_startintYesValue seq for the earliest update in a group
seqintYesValue seq for the latest update in a group

Type: Updates

Example:

$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int];