MadelineProto/old_docs/API_docs_v25/constructors
Daniil Gentili 7a0153a139
Documentation rework (#349)
* 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
2018-03-20 12:48:05 +01:00
..
account_noPassword.md AMP fixes 2017-08-20 09:05:56 +00:00
account_password.md AMP fixes 2017-08-20 09:05:56 +00:00
account_privacyRules.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
account_sentChangePhoneCode.md AMP fixes 2017-08-20 09:05:56 +00:00
accountDaysTTL.md AMP fixes 2017-08-20 09:05:56 +00:00
audio.md AMP fixes 2017-08-20 09:05:56 +00:00
audioEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
auth_authorization.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
auth_checkedPhone.md AMP fixes 2017-08-20 09:05:56 +00:00
auth_exportedAuthorization.md AMP fixes 2017-08-20 09:05:56 +00:00
auth_sentAppCode.md AMP fixes 2017-08-20 09:05:56 +00:00
auth_sentCode.md AMP fixes 2017-08-20 09:05:56 +00:00
boolFalse.md Style fixes 2017-05-10 11:05:34 +01:00
boolTrue.md Style fixes 2017-05-10 11:05:34 +01:00
chat.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
chatEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
chatForbidden.md AMP fixes 2017-08-20 09:05:56 +00:00
chatFull.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
chatLocated.md AMP fixes 2017-08-20 09:05:56 +00:00
chatParticipant.md AMP fixes 2017-08-20 09:05:56 +00:00
chatParticipants.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
chatParticipantsForbidden.md AMP fixes 2017-08-20 09:05:56 +00:00
chatPhoto.md AMP fixes 2017-08-20 09:05:56 +00:00
chatPhotoEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
config.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
contact.md AMP fixes 2017-08-20 09:05:56 +00:00
contactBlocked.md AMP fixes 2017-08-20 09:05:56 +00:00
contactFound.md AMP fixes 2017-08-20 09:05:56 +00:00
contactLinkContact.md More doc fixes 2017-07-23 16:33:46 +02:00
contactLinkHasPhone.md More doc fixes 2017-07-23 16:33:46 +02:00
contactLinkNone.md More doc fixes 2017-07-23 16:33:46 +02:00
contactLinkUnknown.md More doc fixes 2017-07-23 16:33:46 +02:00
contacts_blocked.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
contacts_blockedSlice.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
contacts_contacts.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
contacts_contactsNotModified.md More doc fixes 2017-07-23 16:33:46 +02:00
contacts_found.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
contacts_importedContacts.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
contacts_link.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
contacts_suggested.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
contactStatus.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
contactSuggested.md AMP fixes 2017-08-20 09:05:56 +00:00
dcOption.md AMP fixes 2017-08-20 09:05:56 +00:00
dialog.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
disabledFeature.md AMP fixes 2017-08-20 09:05:56 +00:00
document.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
documentAttributeAnimated.md More doc fixes 2017-07-23 16:33:46 +02:00
documentAttributeAudio.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
documentAttributeFilename.md AMP fixes 2017-08-20 09:05:56 +00:00
documentAttributeImageSize.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
documentAttributeSticker.md AMP fixes 2017-08-20 09:05:56 +00:00
documentAttributeVideo.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
documentEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
encryptedChat.md AMP fixes 2017-08-20 09:05:56 +00:00
encryptedChatDiscarded.md AMP fixes 2017-08-20 09:05:56 +00:00
encryptedChatEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
encryptedChatRequested.md AMP fixes 2017-08-20 09:05:56 +00:00
encryptedChatWaiting.md AMP fixes 2017-08-20 09:05:56 +00:00
encryptedFile.md AMP fixes 2017-08-20 09:05:56 +00:00
encryptedFileEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
encryptedMessage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
encryptedMessageService.md AMP fixes 2017-08-20 09:05:56 +00:00
error.md AMP fixes 2017-08-20 09:05:56 +00:00
fileLocation.md AMP fixes 2017-08-20 09:05:56 +00:00
fileLocationUnavailable.md AMP fixes 2017-08-20 09:05:56 +00:00
geoChat.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
geoChatMessage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
geoChatMessageEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
geoChatMessageService.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
geochats_located.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
geochats_messages.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
geochats_messagesSlice.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
geochats_statedMessage.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
geoPoint.md AMP fixes 2017-08-20 09:05:56 +00:00
geoPointEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
help_appUpdate.md AMP fixes 2017-08-20 09:05:56 +00:00
help_inviteText.md AMP fixes 2017-08-20 09:05:56 +00:00
help_noAppUpdate.md More doc fixes 2017-07-23 16:33:46 +02:00
help_support.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
importedContact.md AMP fixes 2017-08-20 09:05:56 +00:00
inputAppEvent.md AMP fixes 2017-08-20 09:05:56 +00:00
inputAudio.md AMP fixes 2017-08-20 09:05:56 +00:00
inputAudioEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputAudioFileLocation.md AMP fixes 2017-08-20 09:05:56 +00:00
inputChatPhoto.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputChatPhotoEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputChatUploadedPhoto.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputDocument.md AMP fixes 2017-08-20 09:05:56 +00:00
inputDocumentEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputDocumentFileLocation.md AMP fixes 2017-08-20 09:05:56 +00:00
inputEncryptedChat.md AMP fixes 2017-08-20 09:05:56 +00:00
inputEncryptedFile.md AMP fixes 2017-08-20 09:05:56 +00:00
inputEncryptedFileBigUploaded.md AMP fixes 2017-08-20 09:05:56 +00:00
inputEncryptedFileEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputEncryptedFileLocation.md AMP fixes 2017-08-20 09:05:56 +00:00
inputEncryptedFileUploaded.md AMP fixes 2017-08-20 09:05:56 +00:00
inputFile.md AMP fixes 2017-08-20 09:05:56 +00:00
inputFileBig.md AMP fixes 2017-08-20 09:05:56 +00:00
inputFileLocation.md AMP fixes 2017-08-20 09:05:56 +00:00
inputGeoChat.md AMP fixes 2017-08-20 09:05:56 +00:00
inputGeoPoint.md AMP fixes 2017-08-20 09:05:56 +00:00
inputGeoPointEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMediaAudio.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
inputMediaContact.md AMP fixes 2017-08-20 09:05:56 +00:00
inputMediaDocument.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputMediaEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMediaGeoPoint.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
inputMediaPhoto.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputMediaUploadedAudio.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputMediaUploadedDocument.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputMediaUploadedPhoto.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputMediaUploadedThumbDocument.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputMediaUploadedThumbVideo.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputMediaUploadedVideo.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputMediaVideo.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
inputMessagesFilterAudio.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMessagesFilterDocument.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMessagesFilterEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMessagesFilterPhotos.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMessagesFilterPhotoVideo.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMessagesFilterPhotoVideoDocuments.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMessagesFilterVideo.md More doc fixes 2017-07-23 16:33:46 +02:00
inputNotifyAll.md More doc fixes 2017-07-23 16:33:46 +02:00
inputNotifyChats.md More doc fixes 2017-07-23 16:33:46 +02:00
inputNotifyGeoChatPeer.md AMP fixes 2017-08-20 09:05:56 +00:00
inputNotifyPeer.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputNotifyUsers.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPeerChat.md AMP fixes 2017-08-20 09:05:56 +00:00
inputPeerContact.md AMP fixes 2017-08-20 09:05:56 +00:00
inputPeerEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPeerForeign.md AMP fixes 2017-08-20 09:05:56 +00:00
inputPeerNotifyEventsAll.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPeerNotifyEventsEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPeerNotifySettings.md AMP fixes 2017-08-20 09:05:56 +00:00
inputPeerSelf.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPhoneContact.md AMP fixes 2017-08-20 09:05:56 +00:00
inputPhoto.md AMP fixes 2017-08-20 09:05:56 +00:00
inputPhotoCrop.md AMP fixes 2017-08-20 09:05:56 +00:00
inputPhotoCropAuto.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPhotoEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPrivacyKeyStatusTimestamp.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPrivacyValueAllowAll.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPrivacyValueAllowContacts.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPrivacyValueAllowUsers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputPrivacyValueDisallowAll.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPrivacyValueDisallowContacts.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPrivacyValueDisallowUsers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputUserContact.md AMP fixes 2017-08-20 09:05:56 +00:00
inputUserEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputUserForeign.md AMP fixes 2017-08-20 09:05:56 +00:00
inputUserSelf.md More doc fixes 2017-07-23 16:33:46 +02:00
inputVideo.md AMP fixes 2017-08-20 09:05:56 +00:00
inputVideoEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputVideoFileLocation.md AMP fixes 2017-08-20 09:05:56 +00:00
message.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
messageActionChatAddUser.md AMP fixes 2017-08-20 09:05:56 +00:00
messageActionChatCreate.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messageActionChatDeletePhoto.md More doc fixes 2017-07-23 16:33:46 +02:00
messageActionChatDeleteUser.md AMP fixes 2017-08-20 09:05:56 +00:00
messageActionChatEditPhoto.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
messageActionChatEditTitle.md AMP fixes 2017-08-20 09:05:56 +00:00
messageActionEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
messageActionGeoChatCheckin.md More doc fixes 2017-07-23 16:33:46 +02:00
messageActionGeoChatCreate.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
messageMediaAudio.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
messageMediaContact.md AMP fixes 2017-08-20 09:05:56 +00:00
messageMediaDocument.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
messageMediaEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
messageMediaGeo.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
messageMediaPhoto.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
messageMediaUnsupported.md More doc fixes 2017-07-23 16:33:46 +02:00
messageMediaVideo.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
messages_affectedHistory.md AMP fixes 2017-08-20 09:05:56 +00:00
messages_affectedMessages.md AMP fixes 2017-08-20 09:05:56 +00:00
messages_allStickers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_allStickersNotModified.md More doc fixes 2017-07-23 16:33:46 +02:00
messages_chatFull.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_chats.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_dhConfig.md AMP fixes 2017-08-20 09:05:56 +00:00
messages_dhConfigNotModified.md AMP fixes 2017-08-20 09:05:56 +00:00
messages_dialogs.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_dialogsSlice.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_messageEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
messages_messages.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_messagesSlice.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_sentEncryptedFile.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
messages_sentEncryptedMessage.md AMP fixes 2017-08-20 09:05:56 +00:00
messages_sentMessage.md AMP fixes 2017-08-20 09:05:56 +00:00
messages_sentMessageLink.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_statedMessage.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_statedMessageLink.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_statedMessages.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_statedMessagesLinks.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_stickers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_stickersNotModified.md More doc fixes 2017-07-23 16:33:46 +02:00
messageService.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
nearestDc.md AMP fixes 2017-08-20 09:05:56 +00:00
notifyAll.md More doc fixes 2017-07-23 16:33:46 +02:00
notifyChats.md More doc fixes 2017-07-23 16:33:46 +02:00
notifyPeer.md AMP fixes 2017-08-20 09:05:56 +00:00
notifyUsers.md More doc fixes 2017-07-23 16:33:46 +02:00
null.md Style fixes 2017-05-10 11:05:34 +01:00
peerChat.md AMP fixes 2017-08-20 09:05:56 +00:00
peerNotifyEventsAll.md More doc fixes 2017-07-23 16:33:46 +02:00
peerNotifyEventsEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
peerNotifySettings.md AMP fixes 2017-08-20 09:05:56 +00:00
peerNotifySettingsEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
peerUser.md AMP fixes 2017-08-20 09:05:56 +00:00
photo.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
photoCachedSize.md AMP fixes 2017-08-20 09:05:56 +00:00
photoEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
photos_photo.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
photos_photos.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
photos_photosSlice.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
photoSize.md AMP fixes 2017-08-20 09:05:56 +00:00
photoSizeEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
privacyKeyStatusTimestamp.md More doc fixes 2017-07-23 16:33:46 +02:00
privacyValueAllowAll.md More doc fixes 2017-07-23 16:33:46 +02:00
privacyValueAllowContacts.md More doc fixes 2017-07-23 16:33:46 +02:00
privacyValueAllowUsers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
privacyValueDisallowAll.md More doc fixes 2017-07-23 16:33:46 +02:00
privacyValueDisallowContacts.md More doc fixes 2017-07-23 16:33:46 +02:00
privacyValueDisallowUsers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
README.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
sendMessageCancelAction.md More doc fixes 2017-07-23 16:33:46 +02:00
sendMessageChooseContactAction.md More doc fixes 2017-07-23 16:33:46 +02:00
sendMessageGeoLocationAction.md More doc fixes 2017-07-23 16:33:46 +02:00
sendMessageRecordAudioAction.md More doc fixes 2017-07-23 16:33:46 +02:00
sendMessageRecordVideoAction.md More doc fixes 2017-07-23 16:33:46 +02:00
sendMessageTypingAction.md More doc fixes 2017-07-23 16:33:46 +02:00
sendMessageUploadAudioAction.md More doc fixes 2017-07-23 16:33:46 +02:00
sendMessageUploadDocumentAction.md More doc fixes 2017-07-23 16:33:46 +02:00
sendMessageUploadPhotoAction.md More doc fixes 2017-07-23 16:33:46 +02:00
sendMessageUploadVideoAction.md More doc fixes 2017-07-23 16:33:46 +02:00
stickerPack.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
storage_fileGif.md More doc fixes 2017-07-23 16:33:46 +02:00
storage_fileJpeg.md More doc fixes 2017-07-23 16:33:46 +02:00
storage_fileMov.md More doc fixes 2017-07-23 16:33:46 +02:00
storage_fileMp3.md More doc fixes 2017-07-23 16:33:46 +02:00
storage_fileMp4.md More doc fixes 2017-07-23 16:33:46 +02:00
storage_filePartial.md More doc fixes 2017-07-23 16:33:46 +02:00
storage_filePdf.md More doc fixes 2017-07-23 16:33:46 +02:00
storage_filePng.md More doc fixes 2017-07-23 16:33:46 +02:00
storage_fileUnknown.md More doc fixes 2017-07-23 16:33:46 +02:00
storage_fileWebp.md More doc fixes 2017-07-23 16:33:46 +02:00
updateChatParticipantAdd.md AMP fixes 2017-08-20 09:05:56 +00:00
updateChatParticipantDelete.md AMP fixes 2017-08-20 09:05:56 +00:00
updateChatParticipants.md AMP fixes 2017-08-20 09:05:56 +00:00
updateChatUserTyping.md AMP fixes 2017-08-20 09:05:56 +00:00
updateContactLink.md AMP fixes 2017-08-20 09:05:56 +00:00
updateContactRegistered.md AMP fixes 2017-08-20 09:05:56 +00:00
updateDcOptions.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updateDeleteMessages.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updateEncryptedChatTyping.md AMP fixes 2017-08-20 09:05:56 +00:00
updateEncryptedMessagesRead.md AMP fixes 2017-08-20 09:05:56 +00:00
updateEncryption.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateMessageID.md AMP fixes 2017-08-20 09:05:56 +00:00
updateNewAuthorization.md AMP fixes 2017-08-20 09:05:56 +00:00
updateNewEncryptedMessage.md AMP fixes 2017-08-20 09:05:56 +00:00
updateNewGeoChatMessage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateNewMessage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateNotifySettings.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updatePrivacy.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updateReadHistoryInbox.md AMP fixes 2017-08-20 09:05:56 +00:00
updateReadHistoryOutbox.md AMP fixes 2017-08-20 09:05:56 +00:00
updateReadMessages.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updates_difference.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updates_differenceEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
updates_differenceSlice.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updates_state.md AMP fixes 2017-08-20 09:05:56 +00:00
updates.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updatesCombined.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updateServiceNotification.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateShort.md AMP fixes 2017-08-20 09:05:56 +00:00
updateShortChatMessage.md AMP fixes 2017-08-20 09:05:56 +00:00
updateShortMessage.md AMP fixes 2017-08-20 09:05:56 +00:00
updatesTooLong.md More doc fixes 2017-07-23 16:33:46 +02:00
updateUserBlocked.md AMP fixes 2017-08-20 09:05:56 +00:00
updateUserName.md AMP fixes 2017-08-20 09:05:56 +00:00
updateUserPhone.md AMP fixes 2017-08-20 09:05:56 +00:00
updateUserPhoto.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateUserStatus.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateUserTyping.md AMP fixes 2017-08-20 09:05:56 +00:00
upload_file.md AMP fixes 2017-08-20 09:05:56 +00:00
userContact.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
userDeleted.md AMP fixes 2017-08-20 09:05:56 +00:00
userEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
userForeign.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
userFull.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
userProfilePhoto.md AMP fixes 2017-08-20 09:05:56 +00:00
userProfilePhotoEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
userRequest.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
userSelf.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
userStatusEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
userStatusLastMonth.md More doc fixes 2017-07-23 16:33:46 +02:00
userStatusLastWeek.md More doc fixes 2017-07-23 16:33:46 +02:00
userStatusOffline.md AMP fixes 2017-08-20 09:05:56 +00:00
userStatusOnline.md AMP fixes 2017-08-20 09:05:56 +00:00
userStatusRecently.md More doc fixes 2017-07-23 16:33:46 +02:00
vector.md More doc fixes 2017-07-23 16:33:46 +02:00
video.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
videoEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
wallPaper.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
wallPaperSolid.md AMP fixes 2017-08-20 09:05:56 +00:00

title description
Constructors List of constructors

Constructors

Back to API documentation index




$accountDaysTTL = ['days' => int, ];




$account_noPassword = ['new_salt' => bytes, ];

$account_password = ['current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, ];

$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, ];

$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, ];




$chatLocated = ['chat_id' => int, 'distance' => int, ];




$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_size_max' => int, 'broadcast_size_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, 'disabled_features' => [DisabledFeature], ];




$contact = ['user_id' => int, 'mutual' => Bool, ];




$contactBlocked = ['user_id' => int, 'date' => int, ];




$contactFound = ['user_id' => int, ];




$contactLinkContact = [];




$contactLinkHasPhone = [];




$contactLinkNone = [];




$contactLinkUnknown = [];




$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_found = ['results' => [ContactFound], 'users' => [User], ];

$contacts_importedContacts = ['imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ];

$contacts_link = ['my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ];

$contacts_suggested = ['results' => [ContactSuggested], 'users' => [User], ];




$dcOption = ['id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ];




$dialog = ['peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => 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 = ['alt' => string, ];




$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, ];




$geoChat = ['id' => int, 'access_hash' => long, 'title' => string, 'address' => string, 'venue' => string, 'geo' => GeoPoint, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'checked_in' => Bool, 'version' => int, ];




$geoChatMessage = ['chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ];




$geoChatMessageEmpty = ['chat_id' => int, 'id' => int, ];




$geoChatMessageService = ['chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction, ];




$geoPoint = ['long' => double, 'lat' => double, ];




$geoPointEmpty = [];




$geochats_located = ['results' => [ChatLocated], 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ];

$geochats_messages = ['messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ];

$geochats_messagesSlice = ['count' => int, 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ];

$geochats_statedMessage = ['message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int, ];




$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, ];




$inputGeoChat = ['chat_id' => int, 'access_hash' => 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 = [];




$inputMessagesFilterDocument = [];




$inputMessagesFilterEmpty = [];




$inputMessagesFilterPhotoVideo = [];




$inputMessagesFilterPhotoVideoDocuments = [];




$inputMessagesFilterPhotos = [];




$inputMessagesFilterVideo = [];




$inputNotifyAll = [];




$inputNotifyChats = [];




$inputNotifyGeoChatPeer = ['peer' => InputGeoChat, ];




$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], ];




$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, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, '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 = [];




$messageActionGeoChatCheckin = [];




$messageActionGeoChatCreate = ['title' => string, 'address' => string, ];




$messageEmpty = ['id' => int, ];




$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 = [];




$messageMediaVideo = ['video' => Video, ];




$messageService = ['id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ];




$messages_affectedHistory = ['pts' => int, 'pts_count' => int, 'offset' => int, ];

$messages_affectedMessages = ['pts' => int, 'pts_count' => int, ];

$messages_allStickers = ['hash' => string, 'packs' => [StickerPack], 'documents' => [Document], ];

$messages_allStickersNotModified = [];

$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_messageEmpty = [];

$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, 'pts_count' => int, ];

$messages_sentMessageLink = ['id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ];

$messages_statedMessage = ['message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, ];

$messages_statedMessageLink = ['message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ];

$messages_statedMessages = ['messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, ];

$messages_statedMessagesLinks = ['messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], '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 = [];




$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' => ContactLink, 'foreign_link' => ContactLink, ];




$updateContactRegistered = ['user_id' => int, 'date' => int, ];




$updateDcOptions = ['dc_options' => [DcOption], ];




$updateDeleteMessages = ['messages' => [int], 'pts' => int, 'pts_count' => 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, ];




$updateNewGeoChatMessage = ['message' => GeoChatMessage, ];




$updateNewMessage = ['message' => Message, 'pts' => int, 'pts_count' => int, ];




$updateNotifySettings = ['peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ];




$updatePrivacy = ['key' => PrivacyKey, 'rules' => [PrivacyRule], ];




$updateReadHistoryInbox = ['peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ];




$updateReadHistoryOutbox = ['peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ];




$updateReadMessages = ['messages' => [int], 'pts' => int, 'pts_count' => 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, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, ];




$updateShortMessage = ['id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => 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, ];




$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, ];