Daniil Gentili
7a0153a139
* Documentation rework * Apply fixes from StyleCI * Documentation fixes * Login as bot through web/cli API, allow using invite links in joinChannel, full invite links in importChatInvite and checkChatInvite, non-invite links in importChatInvite * Apply fixes from StyleCI * Logging fixes * Build docs * Add methods to modify start template, bugfix to logging and keyboard conversion * Add TL documentator * Document MTProto methods * Documenting methods... * 7% documented * Bugfixes * Update docs * Update docs * Simplify file management * Implement automatic object conversion for media, and more awesome stuff * Implement automatic object conversion for media, and more awesome stuff * Implement event update handler and file upload/download callback * Auto-detect mime type, duration, width and height of media * Update docs * Document new file functions * Fix links * Fix links * Update bot.php to use event loop * Implement webhook update handler and forking in main loop * Build docs * Better docs * Fixes to secret chats * Almost finished updating docs * Bugfixes, implemented infinite loop for loop() method, almost finished docs * Finish writing docs * Add automatic documentation builder script * Finished writing docs |
||
---|---|---|
.. | ||
account_privacyRules.md | ||
account_sentChangePhoneCode.md | ||
accountDaysTTL.md | ||
audio.md | ||
audioEmpty.md | ||
auth_authorization.md | ||
auth_checkedPhone.md | ||
auth_exportedAuthorization.md | ||
auth_sentAppCode.md | ||
auth_sentCode.md | ||
boolFalse.md | ||
boolTrue.md | ||
chat.md | ||
chatEmpty.md | ||
chatForbidden.md | ||
chatFull.md | ||
chatParticipant.md | ||
chatParticipants.md | ||
chatParticipantsForbidden.md | ||
chatPhoto.md | ||
chatPhotoEmpty.md | ||
config.md | ||
contact.md | ||
contactBlocked.md | ||
contactFound.md | ||
contacts_blocked.md | ||
contacts_blockedSlice.md | ||
contacts_contacts.md | ||
contacts_contactsNotModified.md | ||
contacts_foreignLinkMutual.md | ||
contacts_foreignLinkRequested.md | ||
contacts_foreignLinkUnknown.md | ||
contacts_found.md | ||
contacts_importedContacts.md | ||
contacts_link.md | ||
contacts_myLinkContact.md | ||
contacts_myLinkEmpty.md | ||
contacts_myLinkRequested.md | ||
contacts_suggested.md | ||
contactStatus.md | ||
contactSuggested.md | ||
dcOption.md | ||
dialog.md | ||
disabledFeature.md | ||
document.md | ||
documentAttributeAnimated.md | ||
documentAttributeAudio.md | ||
documentAttributeFilename.md | ||
documentAttributeImageSize.md | ||
documentAttributeSticker.md | ||
documentAttributeVideo.md | ||
documentEmpty.md | ||
encryptedChat.md | ||
encryptedChatDiscarded.md | ||
encryptedChatEmpty.md | ||
encryptedChatRequested.md | ||
encryptedChatWaiting.md | ||
encryptedFile.md | ||
encryptedFileEmpty.md | ||
encryptedMessage.md | ||
encryptedMessageService.md | ||
error.md | ||
fileLocation.md | ||
fileLocationUnavailable.md | ||
geoPoint.md | ||
geoPointEmpty.md | ||
help_appUpdate.md | ||
help_inviteText.md | ||
help_noAppUpdate.md | ||
help_support.md | ||
importedContact.md | ||
inputAppEvent.md | ||
inputAudio.md | ||
inputAudioEmpty.md | ||
inputAudioFileLocation.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 | ||
inputGeoPoint.md | ||
inputGeoPointEmpty.md | ||
inputMediaAudio.md | ||
inputMediaContact.md | ||
inputMediaDocument.md | ||
inputMediaEmpty.md | ||
inputMediaGeoPoint.md | ||
inputMediaPhoto.md | ||
inputMediaUploadedAudio.md | ||
inputMediaUploadedDocument.md | ||
inputMediaUploadedPhoto.md | ||
inputMediaUploadedThumbDocument.md | ||
inputMediaUploadedThumbVideo.md | ||
inputMediaUploadedVideo.md | ||
inputMediaVideo.md | ||
inputMessagesFilterAudio.md | ||
inputMessagesFilterAudioDocuments.md | ||
inputMessagesFilterDocument.md | ||
inputMessagesFilterEmpty.md | ||
inputMessagesFilterGif.md | ||
inputMessagesFilterPhotos.md | ||
inputMessagesFilterPhotoVideo.md | ||
inputMessagesFilterPhotoVideoDocuments.md | ||
inputMessagesFilterUrl.md | ||
inputMessagesFilterVideo.md | ||
inputNotifyAll.md | ||
inputNotifyChats.md | ||
inputNotifyPeer.md | ||
inputNotifyUsers.md | ||
inputPeerChat.md | ||
inputPeerContact.md | ||
inputPeerEmpty.md | ||
inputPeerForeign.md | ||
inputPeerNotifyEventsAll.md | ||
inputPeerNotifyEventsEmpty.md | ||
inputPeerNotifySettings.md | ||
inputPeerSelf.md | ||
inputPhoneContact.md | ||
inputPhoto.md | ||
inputPhotoCrop.md | ||
inputPhotoCropAuto.md | ||
inputPhotoEmpty.md | ||
inputPrivacyKeyStatusTimestamp.md | ||
inputPrivacyValueAllowAll.md | ||
inputPrivacyValueAllowContacts.md | ||
inputPrivacyValueAllowUsers.md | ||
inputPrivacyValueDisallowAll.md | ||
inputPrivacyValueDisallowContacts.md | ||
inputPrivacyValueDisallowUsers.md | ||
inputReportReasonOther.md | ||
inputReportReasonPornography.md | ||
inputReportReasonSpam.md | ||
inputReportReasonViolence.md | ||
inputUserContact.md | ||
inputUserEmpty.md | ||
inputUserForeign.md | ||
inputUserSelf.md | ||
inputVideo.md | ||
inputVideoEmpty.md | ||
inputVideoFileLocation.md | ||
message.md | ||
messageActionChatAddUser.md | ||
messageActionChatCreate.md | ||
messageActionChatDeletePhoto.md | ||
messageActionChatDeleteUser.md | ||
messageActionChatEditPhoto.md | ||
messageActionChatEditTitle.md | ||
messageActionEmpty.md | ||
messageEmpty.md | ||
messageForwarded.md | ||
messageMediaAudio.md | ||
messageMediaContact.md | ||
messageMediaDocument.md | ||
messageMediaEmpty.md | ||
messageMediaGeo.md | ||
messageMediaPhoto.md | ||
messageMediaUnsupported.md | ||
messageMediaVideo.md | ||
messages_affectedHistory.md | ||
messages_allStickers.md | ||
messages_allStickersNotModified.md | ||
messages_chatFull.md | ||
messages_chats.md | ||
messages_dhConfig.md | ||
messages_dhConfigNotModified.md | ||
messages_dialogs.md | ||
messages_dialogsSlice.md | ||
messages_messages.md | ||
messages_messagesSlice.md | ||
messages_sentEncryptedFile.md | ||
messages_sentEncryptedMessage.md | ||
messages_sentMessage.md | ||
messages_sentMessageLink.md | ||
messages_statedMessage.md | ||
messages_statedMessageLink.md | ||
messages_statedMessages.md | ||
messages_statedMessagesLinks.md | ||
messages_stickers.md | ||
messages_stickersNotModified.md | ||
messageService.md | ||
nearestDc.md | ||
notifyAll.md | ||
notifyChats.md | ||
notifyPeer.md | ||
notifyUsers.md | ||
null.md | ||
peerChat.md | ||
peerNotifyEventsAll.md | ||
peerNotifyEventsEmpty.md | ||
peerNotifySettings.md | ||
peerNotifySettingsEmpty.md | ||
peerUser.md | ||
photo.md | ||
photoCachedSize.md | ||
photoEmpty.md | ||
photos_photo.md | ||
photos_photos.md | ||
photos_photosSlice.md | ||
photoSize.md | ||
photoSizeEmpty.md | ||
privacyKeyStatusTimestamp.md | ||
privacyValueAllowAll.md | ||
privacyValueAllowContacts.md | ||
privacyValueAllowUsers.md | ||
privacyValueDisallowAll.md | ||
privacyValueDisallowContacts.md | ||
privacyValueDisallowUsers.md | ||
README.md | ||
sendMessageCancelAction.md | ||
sendMessageChooseContactAction.md | ||
sendMessageGeoLocationAction.md | ||
sendMessageRecordAudioAction.md | ||
sendMessageRecordVideoAction.md | ||
sendMessageTypingAction.md | ||
sendMessageUploadAudioAction.md | ||
sendMessageUploadDocumentAction.md | ||
sendMessageUploadPhotoAction.md | ||
sendMessageUploadVideoAction.md | ||
stickerPack.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 | ||
true.md | ||
updateChatParticipantAdd.md | ||
updateChatParticipantDelete.md | ||
updateChatParticipants.md | ||
updateChatUserTyping.md | ||
updateContactLink.md | ||
updateContactRegistered.md | ||
updateDcOptions.md | ||
updateDeleteMessages.md | ||
updateEncryptedChatTyping.md | ||
updateEncryptedMessagesRead.md | ||
updateEncryption.md | ||
updateMessageID.md | ||
updateNewAuthorization.md | ||
updateNewEncryptedMessage.md | ||
updateNewMessage.md | ||
updateNotifySettings.md | ||
updatePrivacy.md | ||
updateReadMessages.md | ||
updates_difference.md | ||
updates_differenceEmpty.md | ||
updates_differenceSlice.md | ||
updates_state.md | ||
updates.md | ||
updatesCombined.md | ||
updateServiceNotification.md | ||
updateShort.md | ||
updateShortChatMessage.md | ||
updateShortMessage.md | ||
updatesTooLong.md | ||
updateUserBlocked.md | ||
updateUserName.md | ||
updateUserPhone.md | ||
updateUserPhoto.md | ||
updateUserStatus.md | ||
updateUserTyping.md | ||
upload_file.md | ||
userContact.md | ||
userDeleted.md | ||
userEmpty.md | ||
userForeign.md | ||
userFull.md | ||
userProfilePhoto.md | ||
userProfilePhotoEmpty.md | ||
userRequest.md | ||
userSelf.md | ||
userStatusEmpty.md | ||
userStatusLastMonth.md | ||
userStatusLastWeek.md | ||
userStatusOffline.md | ||
userStatusOnline.md | ||
userStatusRecently.md | ||
vector.md | ||
video.md | ||
videoEmpty.md | ||
wallPaper.md | ||
wallPaperSolid.md |
title | description |
---|---|
Constructors | List of constructors |
Constructors
Back to API documentation index
$accountDaysTTL = ['days' => int, ];
$account_privacyRules = ['rules' => [PrivacyRule], 'users' => [User], ];
$account_sentChangePhoneCode = ['phone_code_hash' => string, 'send_call_timeout' => int, ];
$audio = ['id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ];
$audioEmpty = ['id' => long, ];
$auth_authorization = ['expires' => int, 'user' => User, ];
$auth_checkedPhone = ['phone_registered' => Bool, 'phone_invited' => Bool, ];
$auth_exportedAuthorization = ['id' => int, 'bytes' => bytes, ];
$auth_sentAppCode = ['phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ];
$auth_sentCode = ['phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ];
$boolFalse = [];
$boolTrue = [];
$chat = ['id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ];
$chatEmpty = ['id' => int, ];
$chatForbidden = ['id' => int, 'title' => string, 'date' => int, ];
$chatFull = ['id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ];
$chatParticipant = ['user_id' => int, 'inviter_id' => int, 'date' => int, ];
$chatParticipants = ['chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ];
$chatParticipantsForbidden = ['chat_id' => int, ];
$chatPhoto = ['photo_small' => FileLocation, 'photo_big' => FileLocation, ];
$chatPhotoEmpty = [];
$config = ['date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_big_size' => int, 'chat_size_max' => int, 'broadcast_size_max' => int, 'disabled_features' => [DisabledFeature], ];
$contact = ['user_id' => int, 'mutual' => Bool, ];
$contactBlocked = ['user_id' => int, 'date' => int, ];
$contactFound = ['user_id' => int, ];
$contactStatus = ['user_id' => int, 'status' => UserStatus, ];
$contactSuggested = ['user_id' => int, 'mutual_contacts' => int, ];
$contacts_blocked = ['blocked' => [ContactBlocked], 'users' => [User], ];
$contacts_blockedSlice = ['count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ];
$contacts_contacts = ['contacts' => [Contact], 'users' => [User], ];
$contacts_contactsNotModified = [];
$contacts_foreignLinkMutual = [];
$contacts_foreignLinkRequested = ['has_phone' => Bool, ];
$contacts_foreignLinkUnknown = [];
$contacts_found = ['results' => [ContactFound], 'users' => [User], ];
$contacts_importedContacts = ['imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ];
$contacts_link = ['my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User, ];
$contacts_myLinkContact = [];
$contacts_myLinkEmpty = [];
$contacts_myLinkRequested = ['contact' => Bool, ];
$contacts_suggested = ['results' => [ContactSuggested], 'users' => [User], ];
$dcOption = ['id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ];
$dialog = ['peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ];
$disabledFeature = ['feature' => string, 'description' => string, ];
$document = ['id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ];
$documentAttributeAnimated = [];
$documentAttributeAudio = ['duration' => int, ];
$documentAttributeFilename = ['file_name' => string, ];
$documentAttributeImageSize = ['w' => int, 'h' => int, ];
$documentAttributeSticker = [];
$documentAttributeVideo = ['duration' => int, 'w' => int, 'h' => int, ];
$documentEmpty = ['id' => long, ];
$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, ];
$fileLocation = ['dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ];
$fileLocationUnavailable = ['volume_id' => long, 'local_id' => int, 'secret' => long, ];
$geoPoint = ['long' => double, 'lat' => double, ];
$geoPointEmpty = [];
$help_appUpdate = ['id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ];
$help_inviteText = ['message' => string, ];
$help_noAppUpdate = [];
$help_support = ['phone_number' => string, 'user' => User, ];
$importedContact = ['user_id' => int, 'client_id' => long, ];
$inputAppEvent = ['time' => double, 'type' => string, 'peer' => long, 'data' => string, ];
$inputAudio = ['id' => long, 'access_hash' => long, ];
$inputAudioEmpty = [];
$inputAudioFileLocation = ['id' => long, 'access_hash' => long, ];
$inputChatPhoto = ['id' => InputPhoto, 'crop' => InputPhotoCrop, ];
$inputChatPhotoEmpty = [];
$inputChatUploadedPhoto = ['file' => InputFile, 'crop' => InputPhotoCrop, ];
$inputDocument = ['id' => long, 'access_hash' => long, ];
$inputDocumentEmpty = [];
$inputDocumentFileLocation = ['id' => long, 'access_hash' => long, ];
$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, ];
$inputGeoPoint = ['lat' => double, 'long' => double, ];
$inputGeoPointEmpty = [];
$inputMediaAudio = ['id' => InputAudio, ];
$inputMediaContact = ['phone_number' => string, 'first_name' => string, 'last_name' => string, ];
$inputMediaDocument = ['id' => InputDocument, ];
$inputMediaEmpty = [];
$inputMediaGeoPoint = ['geo_point' => InputGeoPoint, ];
$inputMediaPhoto = ['id' => InputPhoto, ];
$inputMediaUploadedAudio = ['file' => InputFile, 'duration' => int, 'mime_type' => string, ];
$inputMediaUploadedDocument = ['file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ];
$inputMediaUploadedPhoto = ['file' => InputFile, ];
$inputMediaUploadedThumbDocument = ['file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ];
$inputMediaUploadedThumbVideo = ['file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ];
$inputMediaUploadedVideo = ['file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ];
$inputMediaVideo = ['id' => InputVideo, ];
$inputMessagesFilterAudio = [];
$inputMessagesFilterAudioDocuments = [];
$inputMessagesFilterDocument = [];
$inputMessagesFilterEmpty = [];
$inputMessagesFilterGif = [];
$inputMessagesFilterPhotoVideo = [];
$inputMessagesFilterPhotoVideoDocuments = [];
$inputMessagesFilterPhotos = [];
$inputMessagesFilterUrl = [];
$inputMessagesFilterVideo = [];
$inputNotifyAll = [];
$inputNotifyChats = [];
$inputNotifyPeer = ['peer' => InputPeer, ];
$inputNotifyUsers = [];
$inputPeerChat = ['chat_id' => int, ];
$inputPeerContact = ['user_id' => int, ];
$inputPeerEmpty = [];
$inputPeerForeign = ['user_id' => int, 'access_hash' => long, ];
$inputPeerNotifyEventsAll = [];
$inputPeerNotifyEventsEmpty = [];
$inputPeerNotifySettings = ['mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ];
$inputPeerSelf = [];
$inputPhoneContact = ['client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ];
$inputPhoto = ['id' => long, 'access_hash' => long, ];
$inputPhotoCrop = ['crop_left' => double, 'crop_top' => double, 'crop_width' => double, ];
$inputPhotoCropAuto = [];
$inputPhotoEmpty = [];
$inputPrivacyKeyStatusTimestamp = [];
$inputPrivacyValueAllowAll = [];
$inputPrivacyValueAllowContacts = [];
$inputPrivacyValueAllowUsers = ['users' => [InputUser], ];
$inputPrivacyValueDisallowAll = [];
$inputPrivacyValueDisallowContacts = [];
$inputPrivacyValueDisallowUsers = ['users' => [InputUser], ];
$inputReportReasonOther = ['text' => string, ];
$inputReportReasonPornography = [];
$inputReportReasonSpam = [];
$inputReportReasonViolence = [];
$inputUserContact = ['user_id' => int, ];
$inputUserEmpty = [];
$inputUserForeign = ['user_id' => int, 'access_hash' => long, ];
$inputUserSelf = [];
$inputVideo = ['id' => long, 'access_hash' => long, ];
$inputVideoEmpty = [];
$inputVideoFileLocation = ['id' => long, 'access_hash' => long, ];
$message = ['id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ];
$messageActionChatAddUser = ['user_id' => int, ];
$messageActionChatCreate = ['title' => string, 'users' => [int], ];
$messageActionChatDeletePhoto = [];
$messageActionChatDeleteUser = ['user_id' => int, ];
$messageActionChatEditPhoto = ['photo' => Photo, ];
$messageActionChatEditTitle = ['title' => string, ];
$messageActionEmpty = [];
$messageEmpty = ['id' => int, ];
$messageForwarded = ['id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ];
$messageMediaAudio = ['audio' => Audio, ];
$messageMediaContact = ['phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ];
$messageMediaDocument = ['document' => Document, ];
$messageMediaEmpty = [];
$messageMediaGeo = ['geo' => GeoPoint, ];
$messageMediaPhoto = ['photo' => Photo, ];
$messageMediaUnsupported = ['bytes' => bytes, ];
$messageMediaVideo = ['video' => Video, ];
$messageService = ['id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ];
$messages_affectedHistory = ['pts' => int, 'seq' => int, 'offset' => int, ];
$messages_allStickers = ['hash' => string, 'packs' => [StickerPack], 'documents' => [Document], ];
$messages_allStickersNotModified = [];
$messages_chatFull = ['full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ];
$messages_chats = ['chats' => [Chat], 'users' => [User], ];
$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_messages = ['messages' => [Message], 'chats' => [Chat], 'users' => [User], ];
$messages_messagesSlice = ['count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ];
$messages_sentEncryptedFile = ['date' => int, 'file' => EncryptedFile, ];
$messages_sentEncryptedMessage = ['date' => int, ];
$messages_sentMessage = ['id' => int, 'date' => int, 'pts' => int, 'seq' => int, ];
$messages_sentMessageLink = ['id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link], ];
$messages_statedMessage = ['message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int, ];
$messages_statedMessageLink = ['message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ];
$messages_statedMessages = ['messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int, ];
$messages_statedMessagesLinks = ['messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ];
$messages_stickers = ['hash' => string, 'stickers' => [Document], ];
$messages_stickersNotModified = [];
$nearestDc = ['country' => string, 'this_dc' => int, 'nearest_dc' => int, ];
$notifyAll = [];
$notifyChats = [];
$notifyPeer = ['peer' => Peer, ];
$notifyUsers = [];
$null = [];
$peerChat = ['chat_id' => int, ];
$peerNotifyEventsAll = [];
$peerNotifyEventsEmpty = [];
$peerNotifySettings = ['mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ];
$peerNotifySettingsEmpty = [];
$peerUser = ['user_id' => int, ];
$photo = ['id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, '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], ];
$privacyKeyStatusTimestamp = [];
$privacyValueAllowAll = [];
$privacyValueAllowContacts = [];
$privacyValueAllowUsers = ['users' => [int], ];
$privacyValueDisallowAll = [];
$privacyValueDisallowContacts = [];
$privacyValueDisallowUsers = ['users' => [int], ];
$sendMessageCancelAction = [];
$sendMessageChooseContactAction = [];
$sendMessageGeoLocationAction = [];
$sendMessageRecordAudioAction = [];
$sendMessageRecordVideoAction = [];
$sendMessageTypingAction = [];
$sendMessageUploadAudioAction = [];
$sendMessageUploadDocumentAction = [];
$sendMessageUploadPhotoAction = [];
$sendMessageUploadVideoAction = [];
$stickerPack = ['emoticon' => string, 'documents' => [long], ];
$storage_fileGif = [];
$storage_fileJpeg = [];
$storage_fileMov = [];
$storage_fileMp3 = [];
$storage_fileMp4 = [];
$storage_filePartial = [];
$storage_filePdf = [];
$storage_filePng = [];
$storage_fileUnknown = [];
$storage_fileWebp = [];
$true = [];
$updateChatParticipantAdd = ['chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ];
$updateChatParticipantDelete = ['chat_id' => int, 'user_id' => int, 'version' => int, ];
$updateChatParticipants = ['participants' => ChatParticipants, ];
$updateChatUserTyping = ['chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ];
$updateContactLink = ['user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, ];
$updateContactRegistered = ['user_id' => int, 'date' => int, ];
$updateDcOptions = ['dc_options' => [DcOption], ];
$updateDeleteMessages = ['messages' => [int], 'pts' => int, ];
$updateEncryptedChatTyping = ['chat_id' => int, ];
$updateEncryptedMessagesRead = ['chat_id' => int, 'max_date' => int, 'date' => int, ];
$updateEncryption = ['chat' => EncryptedChat, 'date' => int, ];
$updateMessageID = ['id' => int, ];
$updateNewAuthorization = ['auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ];
$updateNewEncryptedMessage = ['message' => EncryptedMessage, 'qts' => int, ];
$updateNewMessage = ['message' => Message, 'pts' => int, ];
$updateNotifySettings = ['peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ];
$updatePrivacy = ['key' => PrivacyKey, 'rules' => [PrivacyRule], ];
$updateReadMessages = ['messages' => [int], 'pts' => int, ];
$updateServiceNotification = ['type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ];
$updateShort = ['update' => Update, 'date' => int, ];
$updateShortChatMessage = ['id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ];
$updateShortMessage = ['id' => int, 'from_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ];
$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, ];
$updates = ['updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ];
$updatesCombined = ['updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ];
$updatesTooLong = [];
$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, ];
$upload_file = ['type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ];
$userContact = ['id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
$userDeleted = ['id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ];
$userEmpty = ['id' => int, ];
$userForeign = ['id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
$userFull = ['user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ];
$userProfilePhoto = ['photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ];
$userProfilePhotoEmpty = [];
$userRequest = ['id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
$userSelf = ['id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ];
$userStatusEmpty = [];
$userStatusLastMonth = [];
$userStatusLastWeek = [];
$userStatusOffline = ['was_online' => int, ];
$userStatusOnline = ['expires' => int, ];
$userStatusRecently = [];
$vector = [];
$video = ['id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ];
$videoEmpty = ['id' => long, ];
$wallPaper = ['id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ];
$wallPaperSolid = ['id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ];