MadelineProtoDocs/old_docs/API_docs_v62/constructors/updatesCombined.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1.2 KiB

title description image
updatesCombined updatesCombined attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updatesCombined

Back to constructors index

Attributes:

Name Type Required
updates Array of Update Yes
users Array of User Yes
chats Array of Chat Yes
date int Yes
seq_start int Yes
seq int Yes

Type: Updates

Example:

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

PWRTelegram json-encoded version:

{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int}

Or, if you're into Lua:

updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int}