Link Search Menu Expand Document

Constructor: updates

Back to constructors index

Full constructor 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
seqintYesTotal number of sent updates

Type: Updates

Example:

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