.. | ||
account.authorizations.md | ||
account.noPassword.md | ||
account.password.md | ||
account.passwordInputSettings.md | ||
account.passwordSettings.md | ||
account.privacyRules.md | ||
accountDaysTTL.md | ||
auth.authorization.md | ||
auth.checkedPhone.md | ||
auth.codeTypeCall.md | ||
auth.codeTypeFlashCall.md | ||
auth.codeTypeSms.md | ||
auth.exportedAuthorization.md | ||
auth.passwordRecovery.md | ||
auth.sentCode.md | ||
auth.sentCodeTypeApp.md | ||
auth.sentCodeTypeCall.md | ||
auth.sentCodeTypeFlashCall.md | ||
auth.sentCodeTypeSms.md | ||
authorization.md | ||
boolFalse.md | ||
boolTrue.md | ||
botCommand.md | ||
botInfo.md | ||
botInlineMediaResult.md | ||
botInlineMessageMediaAuto.md | ||
botInlineMessageMediaContact.md | ||
botInlineMessageMediaGeo.md | ||
botInlineMessageMediaVenue.md | ||
botInlineMessageText.md | ||
botInlineResult.md | ||
channel.md | ||
channelForbidden.md | ||
channelFull.md | ||
channelMessagesFilter.md | ||
channelMessagesFilterEmpty.md | ||
channelParticipant.md | ||
channelParticipantCreator.md | ||
channelParticipantEditor.md | ||
channelParticipantKicked.md | ||
channelParticipantModerator.md | ||
channelParticipantsAdmins.md | ||
channelParticipantsBots.md | ||
channelParticipantSelf.md | ||
channelParticipantsKicked.md | ||
channelParticipantsRecent.md | ||
channelRoleEditor.md | ||
channelRoleEmpty.md | ||
channelRoleModerator.md | ||
channels.channelParticipant.md | ||
channels.channelParticipants.md | ||
chat.md | ||
chatEmpty.md | ||
chatForbidden.md | ||
chatFull.md | ||
chatInvite.md | ||
chatInviteAlready.md | ||
chatInviteEmpty.md | ||
chatInviteExported.md | ||
chatParticipant.md | ||
chatParticipantAdmin.md | ||
chatParticipantCreator.md | ||
chatParticipants.md | ||
chatParticipantsForbidden.md | ||
chatPhoto.md | ||
chatPhotoEmpty.md | ||
config.md | ||
contact.md | ||
contactBlocked.md | ||
contactLinkContact.md | ||
contactLinkHasPhone.md | ||
contactLinkNone.md | ||
contactLinkUnknown.md | ||
contacts.blocked.md | ||
contacts.blockedSlice.md | ||
contacts.contacts.md | ||
contacts.contactsNotModified.md | ||
contacts.found.md | ||
contacts.importedContacts.md | ||
contacts.link.md | ||
contacts.resolvedPeer.md | ||
contacts.topPeers.md | ||
contacts.topPeersNotModified.md | ||
contactStatus.md | ||
dcOption.md | ||
dialog.md | ||
disabledFeature.md | ||
document.md | ||
documentAttributeAnimated.md | ||
documentAttributeAudio.md | ||
documentAttributeFilename.md | ||
documentAttributeHasStickers.md | ||
documentAttributeImageSize.md | ||
documentAttributeSticker.md | ||
documentAttributeVideo.md | ||
documentEmpty.md | ||
draftMessage.md | ||
draftMessageEmpty.md | ||
encryptedChat.md | ||
encryptedChatDiscarded.md | ||
encryptedChatEmpty.md | ||
encryptedChatRequested.md | ||
encryptedChatWaiting.md | ||
encryptedFile.md | ||
encryptedFileEmpty.md | ||
encryptedMessage.md | ||
encryptedMessageService.md | ||
error.md | ||
exportedMessageLink.md | ||
fileLocation.md | ||
fileLocationUnavailable.md | ||
foundGif.md | ||
foundGifCached.md | ||
game.md | ||
geoPoint.md | ||
geoPointEmpty.md | ||
help.appChangelog.md | ||
help.appChangelogEmpty.md | ||
help.appUpdate.md | ||
help.inviteText.md | ||
help.noAppUpdate.md | ||
help.support.md | ||
help.termsOfService.md | ||
highScore.md | ||
importedContact.md | ||
inlineBotSwitchPM.md | ||
inputAppEvent.md | ||
inputBotInlineMessageGame.md | ||
inputBotInlineMessageID.md | ||
inputBotInlineMessageMediaAuto.md | ||
inputBotInlineMessageMediaContact.md | ||
inputBotInlineMessageMediaGeo.md | ||
inputBotInlineMessageMediaVenue.md | ||
inputBotInlineMessageText.md | ||
inputBotInlineResult.md | ||
inputBotInlineResultDocument.md | ||
inputBotInlineResultGame.md | ||
inputBotInlineResultPhoto.md | ||
inputChannel.md | ||
inputChannelEmpty.md | ||
inputChatPhoto.md | ||
inputChatPhotoEmpty.md | ||
inputChatUploadedPhoto.md | ||
inputDocument.md | ||
inputDocumentEmpty.md | ||
inputDocumentFileLocation.md | ||
inputEncryptedChat.md | ||
inputEncryptedFile.md | ||
inputEncryptedFileBigUploaded.md | ||
inputEncryptedFileEmpty.md | ||
inputEncryptedFileLocation.md | ||
inputEncryptedFileUploaded.md | ||
inputFile.md | ||
inputFileBig.md | ||
inputFileLocation.md | ||
inputGameID.md | ||
inputGameShortName.md | ||
inputGeoPoint.md | ||
inputGeoPointEmpty.md | ||
inputMediaContact.md | ||
inputMediaDocument.md | ||
inputMediaDocumentExternal.md | ||
inputMediaEmpty.md | ||
inputMediaGame.md | ||
inputMediaGeoPoint.md | ||
inputMediaGifExternal.md | ||
inputMediaPhoto.md | ||
inputMediaPhotoExternal.md | ||
inputMediaUploadedDocument.md | ||
inputMediaUploadedPhoto.md | ||
inputMediaUploadedThumbDocument.md | ||
inputMediaVenue.md | ||
inputMessageEntityMentionName.md | ||
inputMessagesFilterChatPhotos.md | ||
inputMessagesFilterDocument.md | ||
inputMessagesFilterEmpty.md | ||
inputMessagesFilterGif.md | ||
inputMessagesFilterMusic.md | ||
inputMessagesFilterPhotos.md | ||
inputMessagesFilterPhotoVideo.md | ||
inputMessagesFilterPhotoVideoDocuments.md | ||
inputMessagesFilterUrl.md | ||
inputMessagesFilterVideo.md | ||
inputMessagesFilterVoice.md | ||
inputNotifyAll.md | ||
inputNotifyChats.md | ||
inputNotifyPeer.md | ||
inputNotifyUsers.md | ||
inputPeerChannel.md | ||
inputPeerChat.md | ||
inputPeerEmpty.md | ||
inputPeerNotifyEventsAll.md | ||
inputPeerNotifyEventsEmpty.md | ||
inputPeerNotifySettings.md | ||
inputPeerSelf.md | ||
inputPeerUser.md | ||
inputPhoneContact.md | ||
inputPhoto.md | ||
inputPhotoEmpty.md | ||
inputPrivacyKeyChatInvite.md | ||
inputPrivacyKeyStatusTimestamp.md | ||
inputPrivacyValueAllowAll.md | ||
inputPrivacyValueAllowContacts.md | ||
inputPrivacyValueAllowUsers.md | ||
inputPrivacyValueDisallowAll.md | ||
inputPrivacyValueDisallowContacts.md | ||
inputPrivacyValueDisallowUsers.md | ||
inputReportReasonOther.md | ||
inputReportReasonPornography.md | ||
inputReportReasonSpam.md | ||
inputReportReasonViolence.md | ||
inputStickeredMediaDocument.md | ||
inputStickeredMediaPhoto.md | ||
inputStickerSetEmpty.md | ||
inputStickerSetID.md | ||
inputStickerSetShortName.md | ||
inputUser.md | ||
inputUserEmpty.md | ||
inputUserSelf.md | ||
keyboardButton.md | ||
keyboardButtonCallback.md | ||
keyboardButtonGame.md | ||
keyboardButtonRequestGeoLocation.md | ||
keyboardButtonRequestPhone.md | ||
keyboardButtonRow.md | ||
keyboardButtonSwitchInline.md | ||
keyboardButtonUrl.md | ||
maskCoords.md | ||
message.md | ||
messageActionChannelCreate.md | ||
messageActionChannelMigrateFrom.md | ||
messageActionChatAddUser.md | ||
messageActionChatCreate.md | ||
messageActionChatDeletePhoto.md | ||
messageActionChatDeleteUser.md | ||
messageActionChatEditPhoto.md | ||
messageActionChatEditTitle.md | ||
messageActionChatJoinedByLink.md | ||
messageActionChatMigrateTo.md | ||
messageActionEmpty.md | ||
messageActionGameScore.md | ||
messageActionHistoryClear.md | ||
messageActionPinMessage.md | ||
messageEmpty.md | ||
messageEntityBold.md | ||
messageEntityBotCommand.md | ||
messageEntityCode.md | ||
messageEntityEmail.md | ||
messageEntityHashtag.md | ||
messageEntityItalic.md | ||
messageEntityMention.md | ||
messageEntityMentionName.md | ||
messageEntityPre.md | ||
messageEntityTextUrl.md | ||
messageEntityUnknown.md | ||
messageEntityUrl.md | ||
messageFwdHeader.md | ||
messageMediaContact.md | ||
messageMediaDocument.md | ||
messageMediaEmpty.md | ||
messageMediaGame.md | ||
messageMediaGeo.md | ||
messageMediaPhoto.md | ||
messageMediaUnsupported.md | ||
messageMediaVenue.md | ||
messageMediaWebPage.md | ||
messageRange.md | ||
messages.affectedHistory.md | ||
messages.affectedMessages.md | ||
messages.allStickers.md | ||
messages.allStickersNotModified.md | ||
messages.archivedStickers.md | ||
messages.botCallbackAnswer.md | ||
messages.botResults.md | ||
messages.channelMessages.md | ||
messages.chatFull.md | ||
messages.chats.md | ||
messages.dhConfig.md | ||
messages.dhConfigNotModified.md | ||
messages.dialogs.md | ||
messages.dialogsSlice.md | ||
messages.featuredStickers.md | ||
messages.featuredStickersNotModified.md | ||
messages.foundGifs.md | ||
messages.highScores.md | ||
messages.messageEditData.md | ||
messages.messages.md | ||
messages.messagesSlice.md | ||
messages.peerDialogs.md | ||
messages.recentStickers.md | ||
messages.recentStickersNotModified.md | ||
messages.savedGifs.md | ||
messages.savedGifsNotModified.md | ||
messages.sentEncryptedFile.md | ||
messages.sentEncryptedMessage.md | ||
messages.stickers.md | ||
messages.stickerSet.md | ||
messages.stickerSetInstallResultArchive.md | ||
messages.stickerSetInstallResultSuccess.md | ||
messages.stickersNotModified.md | ||
messageService.md | ||
nearestDc.md | ||
notifyAll.md | ||
notifyChats.md | ||
notifyPeer.md | ||
notifyUsers.md | ||
null.md | ||
peerChannel.md | ||
peerChat.md | ||
peerNotifyEventsAll.md | ||
peerNotifyEventsEmpty.md | ||
peerNotifySettings.md | ||
peerNotifySettingsEmpty.md | ||
peerSettings.md | ||
peerUser.md | ||
photo.md | ||
photoCachedSize.md | ||
photoEmpty.md | ||
photos.photo.md | ||
photos.photos.md | ||
photos.photosSlice.md | ||
photoSize.md | ||
photoSizeEmpty.md | ||
privacyKeyChatInvite.md | ||
privacyKeyStatusTimestamp.md | ||
privacyValueAllowAll.md | ||
privacyValueAllowContacts.md | ||
privacyValueAllowUsers.md | ||
privacyValueDisallowAll.md | ||
privacyValueDisallowContacts.md | ||
privacyValueDisallowUsers.md | ||
README.md | ||
receivedNotifyMessage.md | ||
replyInlineMarkup.md | ||
replyKeyboardForceReply.md | ||
replyKeyboardHide.md | ||
replyKeyboardMarkup.md | ||
sendMessageCancelAction.md | ||
sendMessageChooseContactAction.md | ||
sendMessageGamePlayAction.md | ||
sendMessageGeoLocationAction.md | ||
sendMessageRecordAudioAction.md | ||
sendMessageRecordVideoAction.md | ||
sendMessageTypingAction.md | ||
sendMessageUploadAudioAction.md | ||
sendMessageUploadDocumentAction.md | ||
sendMessageUploadPhotoAction.md | ||
sendMessageUploadVideoAction.md | ||
stickerPack.md | ||
stickerSet.md | ||
stickerSetCovered.md | ||
stickerSetMultiCovered.md | ||
storage.fileGif.md | ||
storage.fileJpeg.md | ||
storage.fileMov.md | ||
storage.fileMp3.md | ||
storage.fileMp4.md | ||
storage.filePartial.md | ||
storage.filePdf.md | ||
storage.filePng.md | ||
storage.fileUnknown.md | ||
storage.fileWebp.md | ||
topPeer.md | ||
topPeerCategoryBotsInline.md | ||
topPeerCategoryBotsPM.md | ||
topPeerCategoryChannels.md | ||
topPeerCategoryCorrespondents.md | ||
topPeerCategoryGroups.md | ||
topPeerCategoryPeers.md | ||
true.md | ||
updateBotCallbackQuery.md | ||
updateBotInlineQuery.md | ||
updateBotInlineSend.md | ||
updateChannel.md | ||
updateChannelMessageViews.md | ||
updateChannelPinnedMessage.md | ||
updateChannelTooLong.md | ||
updateChatAdmins.md | ||
updateChatParticipantAdd.md | ||
updateChatParticipantAdmin.md | ||
updateChatParticipantDelete.md | ||
updateChatParticipants.md | ||
updateChatUserTyping.md | ||
updateConfig.md | ||
updateContactLink.md | ||
updateContactRegistered.md | ||
updateDcOptions.md | ||
updateDeleteChannelMessages.md | ||
updateDeleteMessages.md | ||
updateDraftMessage.md | ||
updateEditChannelMessage.md | ||
updateEditMessage.md | ||
updateEncryptedChatTyping.md | ||
updateEncryptedMessagesRead.md | ||
updateEncryption.md | ||
updateInlineBotCallbackQuery.md | ||
updateMessageID.md | ||
updateNewAuthorization.md | ||
updateNewChannelMessage.md | ||
updateNewEncryptedMessage.md | ||
updateNewMessage.md | ||
updateNewStickerSet.md | ||
updateNotifySettings.md | ||
updatePrivacy.md | ||
updatePtsChanged.md | ||
updateReadChannelInbox.md | ||
updateReadChannelOutbox.md | ||
updateReadFeaturedStickers.md | ||
updateReadHistoryInbox.md | ||
updateReadHistoryOutbox.md | ||
updateReadMessagesContents.md | ||
updateRecentStickers.md | ||
updates.channelDifference.md | ||
updates.channelDifferenceEmpty.md | ||
updates.channelDifferenceTooLong.md | ||
updates.difference.md | ||
updates.differenceEmpty.md | ||
updates.differenceSlice.md | ||
updates.md | ||
updates.state.md | ||
updateSavedGifs.md | ||
updatesCombined.md | ||
updateServiceNotification.md | ||
updateShort.md | ||
updateShortChatMessage.md | ||
updateShortMessage.md | ||
updateShortSentMessage.md | ||
updateStickerSets.md | ||
updateStickerSetsOrder.md | ||
updatesTooLong.md | ||
updateUserBlocked.md | ||
updateUserName.md | ||
updateUserPhone.md | ||
updateUserPhoto.md | ||
updateUserStatus.md | ||
updateUserTyping.md | ||
updateWebPage.md | ||
upload.file.md | ||
user.md | ||
userEmpty.md | ||
userFull.md | ||
userProfilePhoto.md | ||
userProfilePhotoEmpty.md | ||
userStatusEmpty.md | ||
userStatusLastMonth.md | ||
userStatusLastWeek.md | ||
userStatusOffline.md | ||
userStatusOnline.md | ||
userStatusRecently.md | ||
vector.md | ||
wallPaper.md | ||
wallPaperSolid.md | ||
webPage.md | ||
webPageEmpty.md | ||
webPagePending.md |
title | description | image |
---|---|---|
Constructors | List of constructors | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructors
Back to API documentation index
$account.authorizations = ['authorizations' => [Authorization], ];
$account.noPassword = ['new_salt' => bytes, 'email_unconfirmed_pattern' => string, ];
$account.password = ['current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ];
$account.passwordInputSettings = ['new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ];
$account.passwordSettings = ['email' => string, ];
$account.privacyRules = ['rules' => [PrivacyRule], 'users' => [User], ];
$accountDaysTTL = ['days' => int, ];
$auth.authorization = ['tmp_sessions' => int, 'user' => User, ];
$auth.checkedPhone = ['phone_registered' => Bool, ];
$auth.codeTypeCall = [];
$auth.codeTypeFlashCall = [];
$auth.codeTypeSms = [];
$auth.exportedAuthorization = ['id' => int, 'bytes' => bytes, ];
$auth.passwordRecovery = ['email_pattern' => string, ];
$auth.sentCode = ['phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ];
$auth.sentCodeTypeApp = ['length' => int, ];
$auth.sentCodeTypeCall = ['length' => int, ];
$auth.sentCodeTypeFlashCall = ['pattern' => string, ];
$auth.sentCodeTypeSms = ['length' => int, ];
$authorization = ['hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ];
$boolFalse = [];
$boolTrue = [];
$botCommand = ['command' => string, 'description' => string, ];
$botInfo = ['user_id' => int, 'description' => string, 'commands' => [BotCommand], ];
$botInlineMediaResult = ['id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ];
$botInlineMessageMediaAuto = ['caption' => string, 'reply_markup' => ReplyMarkup, ];
$botInlineMessageMediaContact = ['phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ];
$botInlineMessageMediaGeo = ['geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ];
$botInlineMessageMediaVenue = ['geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ];
$botInlineMessageText = ['no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ];
$botInlineResult = ['id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ];
$channel = ['creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ];
$channelForbidden = ['broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ];
$channelFull = ['can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ];
$channelMessagesFilter = ['exclude_new_messages' => Bool, 'ranges' => [MessageRange], ];
$channelMessagesFilterEmpty = [];
$channelParticipant = ['user_id' => int, 'date' => int, ];
$channelParticipantCreator = ['user_id' => int, ];
$channelParticipantEditor = ['user_id' => int, 'inviter_id' => int, 'date' => int, ];
$channelParticipantKicked = ['user_id' => int, 'kicked_by' => int, 'date' => int, ];
$channelParticipantModerator = ['user_id' => int, 'inviter_id' => int, 'date' => int, ];
$channelParticipantSelf = ['user_id' => int, 'inviter_id' => int, 'date' => int, ];
$channelParticipantsAdmins = [];
$channelParticipantsBots = [];
$channelParticipantsKicked = [];
$channelParticipantsRecent = [];
$channelRoleEditor = [];
$channelRoleEmpty = [];
$channelRoleModerator = [];
$channels.channelParticipant = ['participant' => ChannelParticipant, 'users' => [User], ];
$channels.channelParticipants = ['count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ];
$chat = ['creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ];
$chatEmpty = ['id' => int, ];
$chatForbidden = ['id' => int, 'title' => string, ];
$chatFull = ['id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ];
$chatInvite = ['channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ];
$chatInviteAlready = ['chat' => Chat, ];
$chatInviteEmpty = [];
$chatInviteExported = ['link' => string, ];
$chatParticipant = ['user_id' => int, 'inviter_id' => int, 'date' => int, ];
$chatParticipantAdmin = ['user_id' => int, 'inviter_id' => int, 'date' => int, ];
$chatParticipantCreator = ['user_id' => int, ];
$chatParticipants = ['chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ];
$chatParticipantsForbidden = ['chat_id' => int, 'self_participant' => ChatParticipant, ];
$chatPhoto = ['photo_small' => FileLocation, 'photo_big' => FileLocation, ];
$chatPhotoEmpty = [];
$config = ['date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'disabled_features' => [DisabledFeature], ];
$contact = ['user_id' => int, 'mutual' => Bool, ];
$contactBlocked = ['user_id' => int, 'date' => int, ];
$contactLinkContact = [];
$contactLinkHasPhone = [];
$contactLinkNone = [];
$contactLinkUnknown = [];
$contactStatus = ['user_id' => int, 'status' => UserStatus, ];
$contacts.blocked = ['blocked' => [ContactBlocked], 'users' => [User], ];
$contacts.blockedSlice = ['count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ];
$contacts.contacts = ['contacts' => [Contact], 'users' => [User], ];
$contacts.contactsNotModified = [];
$contacts.found = ['results' => [Peer], 'chats' => [Chat], 'users' => [User], ];
$contacts.importedContacts = ['imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ];
$contacts.link = ['my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ];
$contacts.resolvedPeer = ['peer' => Peer, 'chats' => [Chat], 'users' => [User], ];
$contacts.topPeers = ['categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ];
$contacts.topPeersNotModified = [];
$dcOption = ['ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ];
$dialog = ['peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage, ];
$disabledFeature = ['feature' => string, 'description' => string, ];
$document = ['id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute], ];
$documentAttributeAnimated = [];
$documentAttributeAudio = ['voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ];
$documentAttributeFilename = ['file_name' => string, ];
$documentAttributeHasStickers = [];
$documentAttributeImageSize = ['w' => int, 'h' => int, ];
$documentAttributeSticker = ['mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ];
$documentAttributeVideo = ['duration' => int, 'w' => int, 'h' => int, ];
$documentEmpty = ['id' => long, ];
$draftMessage = ['no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ];
$draftMessageEmpty = [];
$encryptedChat = ['id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ];
$encryptedChatDiscarded = ['id' => int, ];
$encryptedChatEmpty = ['id' => int, ];
$encryptedChatRequested = ['id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ];
$encryptedChatWaiting = ['id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ];
$encryptedFile = ['id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ];
$encryptedFileEmpty = [];
$encryptedMessage = ['chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ];
$encryptedMessageService = ['chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ];
$error = ['code' => int, 'text' => string, ];
$exportedMessageLink = ['link' => string, ];
$fileLocation = ['dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ];
$fileLocationUnavailable = ['volume_id' => long, 'local_id' => int, 'secret' => long, ];
$foundGif = ['url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ];
$foundGifCached = ['url' => string, 'photo' => Photo, 'document' => Document, ];
$game = ['id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ];
$geoPoint = ['long' => double, 'lat' => double, ];
$geoPointEmpty = [];
$help.appChangelog = ['text' => string, ];
$help.appChangelogEmpty = [];
$help.appUpdate = ['id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ];
$help.inviteText = ['message' => string, ];
$help.noAppUpdate = [];
$help.support = ['phone_number' => string, 'user' => User, ];
$help.termsOfService = ['text' => string, ];
$highScore = ['pos' => int, 'user_id' => int, 'score' => int, ];
$importedContact = ['user_id' => int, 'client_id' => long, ];
$inlineBotSwitchPM = ['text' => string, 'start_param' => string, ];
$inputAppEvent = ['time' => double, 'type' => string, 'peer' => long, 'data' => string, ];
$inputBotInlineMessageGame = ['reply_markup' => ReplyMarkup, ];
$inputBotInlineMessageID = ['dc_id' => int, 'id' => long, 'access_hash' => long, ];
$inputBotInlineMessageMediaAuto = ['caption' => string, 'reply_markup' => ReplyMarkup, ];
$inputBotInlineMessageMediaContact = ['phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ];
$inputBotInlineMessageMediaGeo = ['geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ];
$inputBotInlineMessageMediaVenue = ['geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ];
$inputBotInlineMessageText = ['no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ];
$inputBotInlineResult = ['id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ];
$inputBotInlineResultDocument = ['id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ];
$inputBotInlineResultGame = ['id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ];
$inputBotInlineResultPhoto = ['id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ];
$inputChannel = ['channel_id' => int, 'access_hash' => long, ];
$inputChannelEmpty = [];
$inputChatPhoto = ['id' => InputPhoto, ];
$inputChatPhotoEmpty = [];
$inputChatUploadedPhoto = ['file' => InputFile, ];
$inputDocument = ['id' => long, 'access_hash' => long, ];
$inputDocumentEmpty = [];
$inputDocumentFileLocation = ['id' => long, 'access_hash' => long, 'version' => int, ];
$inputEncryptedChat = ['chat_id' => int, 'access_hash' => long, ];
$inputEncryptedFile = ['id' => long, 'access_hash' => long, ];
$inputEncryptedFileBigUploaded = ['id' => long, 'parts' => int, 'key_fingerprint' => int, ];
$inputEncryptedFileEmpty = [];
$inputEncryptedFileLocation = ['id' => long, 'access_hash' => long, ];
$inputEncryptedFileUploaded = ['id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ];
$inputFile = ['id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ];
$inputFileBig = ['id' => long, 'parts' => int, 'name' => string, ];
$inputFileLocation = ['volume_id' => long, 'local_id' => int, 'secret' => long, ];
$inputGameID = ['id' => long, 'access_hash' => long, ];
$inputGameShortName = ['bot_id' => InputUser, 'short_name' => string, ];
$inputGeoPoint = ['lat' => double, 'long' => double, ];
$inputGeoPointEmpty = [];
$inputMediaContact = ['phone_number' => string, 'first_name' => string, 'last_name' => string, ];
$inputMediaDocument = ['id' => InputDocument, 'caption' => string, ];
$inputMediaDocumentExternal = ['url' => string, 'caption' => string, ];
$inputMediaEmpty = [];
$inputMediaGame = ['id' => InputGame, ];
$inputMediaGeoPoint = ['geo_point' => InputGeoPoint, ];
$inputMediaGifExternal = ['url' => string, 'q' => string, ];
$inputMediaPhoto = ['id' => InputPhoto, 'caption' => string, ];
$inputMediaPhotoExternal = ['url' => string, 'caption' => string, ];
$inputMediaUploadedDocument = ['file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ];
$inputMediaUploadedPhoto = ['file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ];
$inputMediaUploadedThumbDocument = ['file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ];
$inputMediaVenue = ['geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ];
$inputMessageEntityMentionName = ['offset' => int, 'length' => int, 'user_id' => InputUser, ];
$inputMessagesFilterChatPhotos = [];
$inputMessagesFilterDocument = [];
$inputMessagesFilterEmpty = [];
$inputMessagesFilterGif = [];
$inputMessagesFilterMusic = [];
$inputMessagesFilterPhotoVideo = [];
$inputMessagesFilterPhotoVideoDocuments = [];
$inputMessagesFilterPhotos = [];
$inputMessagesFilterUrl = [];
$inputMessagesFilterVideo = [];
$inputMessagesFilterVoice = [];
$inputNotifyAll = [];
$inputNotifyChats = [];
$inputNotifyPeer = ['peer' => InputPeer, ];
$inputNotifyUsers = [];
$inputPeerChannel = ['channel_id' => int, 'access_hash' => long, ];
$inputPeerChat = ['chat_id' => int, ];
$inputPeerEmpty = [];
$inputPeerNotifyEventsAll = [];
$inputPeerNotifyEventsEmpty = [];
$inputPeerNotifySettings = ['show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ];
$inputPeerSelf = [];
$inputPeerUser = ['user_id' => int, 'access_hash' => long, ];
$inputPhoneContact = ['client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ];
$inputPhoto = ['id' => long, 'access_hash' => long, ];
$inputPhotoEmpty = [];
$inputPrivacyKeyChatInvite = [];
$inputPrivacyKeyStatusTimestamp = [];
$inputPrivacyValueAllowAll = [];
$inputPrivacyValueAllowContacts = [];
$inputPrivacyValueAllowUsers = ['users' => [InputUser], ];
$inputPrivacyValueDisallowAll = [];
$inputPrivacyValueDisallowContacts = [];
$inputPrivacyValueDisallowUsers = ['users' => [InputUser], ];
$inputReportReasonOther = ['text' => string, ];
$inputReportReasonPornography = [];
$inputReportReasonSpam = [];
$inputReportReasonViolence = [];
$inputStickerSetEmpty = [];
$inputStickerSetID = ['id' => long, 'access_hash' => long, ];
$inputStickerSetShortName = ['short_name' => string, ];
$inputStickeredMediaDocument = ['id' => InputDocument, ];
$inputStickeredMediaPhoto = ['id' => InputPhoto, ];
$inputUser = ['user_id' => int, 'access_hash' => long, ];
$inputUserEmpty = [];
$inputUserSelf = [];
$keyboardButton = ['text' => string, ];
$keyboardButtonCallback = ['text' => string, 'data' => bytes, ];
$keyboardButtonGame = ['text' => string, ];
$keyboardButtonRequestGeoLocation = ['text' => string, ];
$keyboardButtonRequestPhone = ['text' => string, ];
$keyboardButtonRow = ['buttons' => [KeyboardButton], ];
$keyboardButtonSwitchInline = ['same_peer' => Bool, 'text' => string, 'query' => string, ];
$keyboardButtonUrl = ['text' => string, 'url' => string, ];
$maskCoords = ['n' => int, 'x' => double, 'y' => double, 'zoom' => double, ];
$message = ['out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ];
$messageActionChannelCreate = ['title' => string, ];
$messageActionChannelMigrateFrom = ['title' => string, 'chat_id' => int, ];
$messageActionChatAddUser = ['users' => [int], ];
$messageActionChatCreate = ['title' => string, 'users' => [int], ];
$messageActionChatDeletePhoto = [];
$messageActionChatDeleteUser = ['user_id' => int, ];
$messageActionChatEditPhoto = ['photo' => Photo, ];
$messageActionChatEditTitle = ['title' => string, ];
$messageActionChatJoinedByLink = ['inviter_id' => int, ];
$messageActionChatMigrateTo = ['channel_id' => int, ];
$messageActionEmpty = [];
$messageActionGameScore = ['game_id' => long, 'score' => int, ];
$messageActionHistoryClear = [];
$messageActionPinMessage = [];
$messageEmpty = ['id' => int, ];
$messageEntityBold = ['offset' => int, 'length' => int, ];
$messageEntityBotCommand = ['offset' => int, 'length' => int, ];
$messageEntityCode = ['offset' => int, 'length' => int, ];
$messageEntityEmail = ['offset' => int, 'length' => int, ];
$messageEntityHashtag = ['offset' => int, 'length' => int, ];
$messageEntityItalic = ['offset' => int, 'length' => int, ];
$messageEntityMention = ['offset' => int, 'length' => int, ];
$messageEntityMentionName = ['offset' => int, 'length' => int, 'user_id' => int, ];
$messageEntityPre = ['offset' => int, 'length' => int, 'language' => string, ];
$messageEntityTextUrl = ['offset' => int, 'length' => int, 'url' => string, ];
$messageEntityUnknown = ['offset' => int, 'length' => int, ];
$messageEntityUrl = ['offset' => int, 'length' => int, ];
$messageFwdHeader = ['from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ];
$messageMediaContact = ['phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ];
$messageMediaDocument = ['document' => Document, 'caption' => string, ];
$messageMediaEmpty = [];
$messageMediaGame = ['game' => Game, ];
$messageMediaGeo = ['geo' => GeoPoint, ];
$messageMediaPhoto = ['photo' => Photo, 'caption' => string, ];
$messageMediaUnsupported = [];
$messageMediaVenue = ['geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ];
$messageMediaWebPage = ['webpage' => WebPage, ];
$messageRange = ['min_id' => int, 'max_id' => int, ];
$messageService = ['out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ];
$messages.affectedHistory = ['pts' => int, 'pts_count' => int, 'offset' => int, ];
$messages.affectedMessages = ['pts' => int, 'pts_count' => int, ];
$messages.allStickers = ['hash' => int, 'sets' => [StickerSet], ];
$messages.allStickersNotModified = [];
$messages.archivedStickers = ['count' => int, 'sets' => [StickerSetCovered], ];
$messages.botCallbackAnswer = ['alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, ];
$messages.botResults = ['gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ];
$messages.channelMessages = ['pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ];
$messages.chatFull = ['full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ];
$messages.chats = ['chats' => [Chat], ];
$messages.dhConfig = ['g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ];
$messages.dhConfigNotModified = ['random' => bytes, ];
$messages.dialogs = ['dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ];
$messages.dialogsSlice = ['count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ];
$messages.featuredStickers = ['hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ];
$messages.featuredStickersNotModified = [];
$messages.foundGifs = ['next_offset' => int, 'results' => [FoundGif], ];
$messages.highScores = ['scores' => [HighScore], 'users' => [User], ];
$messages.messageEditData = ['caption' => Bool, ];
$messages.messages = ['messages' => [Message], 'chats' => [Chat], 'users' => [User], ];
$messages.messagesSlice = ['count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ];
$messages.peerDialogs = ['dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ];
$messages.recentStickers = ['hash' => int, 'stickers' => [Document], ];
$messages.recentStickersNotModified = [];
$messages.savedGifs = ['hash' => int, 'gifs' => [Document], ];
$messages.savedGifsNotModified = [];
$messages.sentEncryptedFile = ['date' => int, 'file' => EncryptedFile, ];
$messages.sentEncryptedMessage = ['date' => int, ];
$messages.stickerSet = ['set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ];
$messages.stickerSetInstallResultArchive = ['sets' => [StickerSetCovered], ];
$messages.stickerSetInstallResultSuccess = [];
$messages.stickers = ['hash' => string, 'stickers' => [Document], ];
$messages.stickersNotModified = [];
$nearestDc = ['country' => string, 'this_dc' => int, 'nearest_dc' => int, ];
$notifyAll = [];
$notifyChats = [];
$notifyPeer = ['peer' => Peer, ];
$notifyUsers = [];
$null = [];
$peerChannel = ['channel_id' => int, ];
$peerChat = ['chat_id' => int, ];
$peerNotifyEventsAll = [];
$peerNotifyEventsEmpty = [];
$peerNotifySettings = ['show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ];
$peerNotifySettingsEmpty = [];
$peerSettings = ['report_spam' => Bool, ];
$peerUser = ['user_id' => int, ];
$photo = ['has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ];
$photoCachedSize = ['type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ];
$photoEmpty = ['id' => long, ];
$photoSize = ['type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ];
$photoSizeEmpty = ['type' => string, ];
$photos.photo = ['photo' => Photo, 'users' => [User], ];
$photos.photos = ['photos' => [Photo], 'users' => [User], ];
$photos.photosSlice = ['count' => int, 'photos' => [Photo], 'users' => [User], ];
$privacyKeyChatInvite = [];
$privacyKeyStatusTimestamp = [];
$privacyValueAllowAll = [];
$privacyValueAllowContacts = [];
$privacyValueAllowUsers = ['users' => [int], ];
$privacyValueDisallowAll = [];
$privacyValueDisallowContacts = [];
$privacyValueDisallowUsers = ['users' => [int], ];
$receivedNotifyMessage = ['id' => int, ];
$replyInlineMarkup = ['rows' => [KeyboardButtonRow], ];
$replyKeyboardForceReply = ['single_use' => Bool, 'selective' => Bool, ];
$replyKeyboardHide = ['selective' => Bool, ];
$replyKeyboardMarkup = ['resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ];
$sendMessageCancelAction = [];
$sendMessageChooseContactAction = [];
$sendMessageGamePlayAction = [];
$sendMessageGeoLocationAction = [];
$sendMessageRecordAudioAction = [];
$sendMessageRecordVideoAction = [];
$sendMessageTypingAction = [];
$sendMessageUploadAudioAction = ['progress' => int, ];
$sendMessageUploadDocumentAction = ['progress' => int, ];
$sendMessageUploadPhotoAction = ['progress' => int, ];
$sendMessageUploadVideoAction = ['progress' => int, ];
$stickerPack = ['emoticon' => string, 'documents' => [long], ];
$stickerSet = ['installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ];
$stickerSetCovered = ['set' => StickerSet, 'cover' => Document, ];
$stickerSetMultiCovered = ['set' => StickerSet, 'covers' => [Document], ];
$storage.fileGif = [];
$storage.fileJpeg = [];
$storage.fileMov = [];
$storage.fileMp3 = [];
$storage.fileMp4 = [];
$storage.filePartial = [];
$storage.filePdf = [];
$storage.filePng = [];
$storage.fileUnknown = [];
$storage.fileWebp = [];
$topPeer = ['peer' => Peer, 'rating' => double, ];
$topPeerCategoryBotsInline = [];
$topPeerCategoryBotsPM = [];
$topPeerCategoryChannels = [];
$topPeerCategoryCorrespondents = [];
$topPeerCategoryGroups = [];
$topPeerCategoryPeers = ['category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ];
$true = [];
$updateBotCallbackQuery = ['query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ];
$updateBotInlineQuery = ['query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ];
$updateBotInlineSend = ['user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ];
$updateChannel = ['channel_id' => int, ];
$updateChannelMessageViews = ['channel_id' => int, 'id' => int, 'views' => int, ];
$updateChannelPinnedMessage = ['channel_id' => int, 'id' => int, ];
$updateChannelTooLong = ['channel_id' => int, 'pts' => int, ];
$updateChatAdmins = ['chat_id' => int, 'enabled' => Bool, 'version' => int, ];
$updateChatParticipantAdd = ['chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ];
$updateChatParticipantAdmin = ['chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ];
$updateChatParticipantDelete = ['chat_id' => int, 'user_id' => int, 'version' => int, ];
$updateChatParticipants = ['participants' => ChatParticipants, ];
$updateChatUserTyping = ['chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ];
$updateConfig = [];
$updateContactLink = ['user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ];
$updateContactRegistered = ['user_id' => int, 'date' => int, ];
$updateDcOptions = ['dc_options' => [DcOption], ];
$updateDeleteChannelMessages = ['channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ];
$updateDeleteMessages = ['messages' => [int], 'pts' => int, 'pts_count' => int, ];
$updateDraftMessage = ['peer' => Peer, 'draft' => DraftMessage, ];
$updateEditChannelMessage = ['message' => Message, 'pts' => int, 'pts_count' => int, ];
$updateEditMessage = ['message' => Message, 'pts' => int, 'pts_count' => int, ];
$updateEncryptedChatTyping = ['chat_id' => int, ];
$updateEncryptedMessagesRead = ['chat_id' => int, 'max_date' => int, 'date' => int, ];
$updateEncryption = ['chat' => EncryptedChat, 'date' => int, ];
$updateInlineBotCallbackQuery = ['query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ];
$updateMessageID = ['id' => int, ];
$updateNewAuthorization = ['auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ];
$updateNewChannelMessage = ['message' => Message, 'pts' => int, 'pts_count' => int, ];
$updateNewEncryptedMessage = ['message' => EncryptedMessage, 'qts' => int, ];
$updateNewMessage = ['message' => Message, 'pts' => int, 'pts_count' => int, ];
$updateNewStickerSet = ['stickerset' => messages.StickerSet, ];
$updateNotifySettings = ['peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ];
$updatePrivacy = ['key' => PrivacyKey, 'rules' => [PrivacyRule], ];
$updatePtsChanged = [];
$updateReadChannelInbox = ['channel_id' => int, 'max_id' => int, ];
$updateReadChannelOutbox = ['channel_id' => int, 'max_id' => int, ];
$updateReadFeaturedStickers = [];
$updateReadHistoryInbox = ['peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ];
$updateReadHistoryOutbox = ['peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ];
$updateReadMessagesContents = ['messages' => [int], 'pts' => int, 'pts_count' => int, ];
$updateRecentStickers = [];
$updateSavedGifs = [];
$updateServiceNotification = ['type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ];
$updateShort = ['update' => Update, 'date' => int, ];
$updateShortChatMessage = ['out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ];
$updateShortMessage = ['out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ];
$updateShortSentMessage = ['out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ];
$updateStickerSets = [];
$updateStickerSetsOrder = ['masks' => Bool, 'order' => [long], ];
$updateUserBlocked = ['user_id' => int, 'blocked' => Bool, ];
$updateUserName = ['user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ];
$updateUserPhone = ['user_id' => int, 'phone' => string, ];
$updateUserPhoto = ['user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ];
$updateUserStatus = ['user_id' => int, 'status' => UserStatus, ];
$updateUserTyping = ['user_id' => int, 'action' => SendMessageAction, ];
$updateWebPage = ['webpage' => WebPage, 'pts' => int, 'pts_count' => int, ];
$updates = ['updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ];
$updates.channelDifference = ['final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ];
$updates.channelDifferenceEmpty = ['final' => Bool, 'pts' => int, 'timeout' => int, ];
$updates.channelDifferenceTooLong = ['final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ];
$updates.difference = ['new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ];
$updates.differenceEmpty = ['date' => int, 'seq' => int, ];
$updates.differenceSlice = ['new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ];
$updates.state = ['pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ];
$updatesCombined = ['updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ];
$updatesTooLong = [];
$upload.file = ['type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ];
$user = ['self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ];
$userEmpty = ['id' => int, ];
$userFull = ['blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ];
$userProfilePhoto = ['photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ];
$userProfilePhotoEmpty = [];
$userStatusEmpty = [];
$userStatusLastMonth = [];
$userStatusLastWeek = [];
$userStatusOffline = ['was_online' => int, ];
$userStatusOnline = ['expires' => int, ];
$userStatusRecently = [];
$vector = [];
$wallPaper = ['id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ];
$wallPaperSolid = ['id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ];
$webPage = ['id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ];
$webPageEmpty = ['id' => long, ];
$webPagePending = ['id' => long, 'date' => int, ];