MadelineProto/old_docs/API_docs_v62/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_authorizations.md Documentation rework (#349) 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_passwordInputSettings.md AMP fixes 2017-08-20 09:05:56 +00:00
account_passwordSettings.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
accountDaysTTL.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_codeTypeCall.md More doc fixes 2017-07-23 16:33:46 +02:00
auth_codeTypeFlashCall.md More doc fixes 2017-07-23 16:33:46 +02:00
auth_codeTypeSms.md More doc fixes 2017-07-23 16:33:46 +02:00
auth_exportedAuthorization.md AMP fixes 2017-08-20 09:05:56 +00:00
auth_passwordRecovery.md AMP fixes 2017-08-20 09:05:56 +00:00
auth_sentCode.md AMP fixes 2017-08-20 09:05:56 +00:00
auth_sentCodeTypeApp.md AMP fixes 2017-08-20 09:05:56 +00:00
auth_sentCodeTypeCall.md AMP fixes 2017-08-20 09:05:56 +00:00
auth_sentCodeTypeFlashCall.md AMP fixes 2017-08-20 09:05:56 +00:00
auth_sentCodeTypeSms.md AMP fixes 2017-08-20 09:05:56 +00:00
authorization.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
botCommand.md AMP fixes 2017-08-20 09:05:56 +00:00
botInfo.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
botInlineMediaResult.md AMP fixes 2017-08-20 09:05:56 +00:00
botInlineMessageMediaAuto.md AMP fixes 2017-08-20 09:05:56 +00:00
botInlineMessageMediaContact.md AMP fixes 2017-08-20 09:05:56 +00:00
botInlineMessageMediaGeo.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
botInlineMessageMediaVenue.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
botInlineMessageText.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
botInlineResult.md AMP fixes 2017-08-20 09:05:56 +00:00
channel.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
channelForbidden.md AMP fixes 2017-08-20 09:05:56 +00:00
channelFull.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
channelMessagesFilter.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
channelMessagesFilterEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
channelParticipant.md AMP fixes 2017-08-20 09:05:56 +00:00
channelParticipantCreator.md AMP fixes 2017-08-20 09:05:56 +00:00
channelParticipantEditor.md AMP fixes 2017-08-20 09:05:56 +00:00
channelParticipantKicked.md AMP fixes 2017-08-20 09:05:56 +00:00
channelParticipantModerator.md AMP fixes 2017-08-20 09:05:56 +00:00
channelParticipantsAdmins.md More doc fixes 2017-07-23 16:33:46 +02:00
channelParticipantsBots.md More doc fixes 2017-07-23 16:33:46 +02:00
channelParticipantSelf.md AMP fixes 2017-08-20 09:05:56 +00:00
channelParticipantsKicked.md More doc fixes 2017-07-23 16:33:46 +02:00
channelParticipantsRecent.md More doc fixes 2017-07-23 16:33:46 +02:00
channelRoleEditor.md More doc fixes 2017-07-23 16:33:46 +02:00
channelRoleEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
channelRoleModerator.md More doc fixes 2017-07-23 16:33:46 +02:00
channels_channelParticipant.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
channels_channelParticipants.md Documentation rework (#349) 2018-03-20 12:48:05 +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 Documentation rework (#349) 2018-03-20 12:48:05 +01:00
chatInvite.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
chatInviteAlready.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
chatInviteEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
chatInviteExported.md AMP fixes 2017-08-20 09:05:56 +00:00
chatParticipant.md AMP fixes 2017-08-20 09:05:56 +00:00
chatParticipantAdmin.md AMP fixes 2017-08-20 09:05:56 +00:00
chatParticipantCreator.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
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_resolvedPeer.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
contacts_topPeers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
contacts_topPeersNotModified.md More doc fixes 2017-07-23 16:33:46 +02:00
contactStatus.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
dcOption.md AMP fixes 2017-08-20 09:05:56 +00:00
destroy_auth_key_fail.md More doc fixes 2017-07-23 16:33:46 +02:00
destroy_auth_key_none.md More doc fixes 2017-07-23 16:33:46 +02:00
destroy_auth_key_ok.md More doc fixes 2017-07-23 16:33:46 +02: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
documentAttributeHasStickers.md More doc fixes 2017-07-23 16:33:46 +02:00
documentAttributeImageSize.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
documentAttributeSticker.md Http refactor (#307) 2018-02-18 14:18:18 +01: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
draftMessage.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
draftMessageEmpty.md More doc fixes 2017-07-23 16:33:46 +02: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
exportedMessageLink.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
foundGif.md AMP fixes 2017-08-20 09:05:56 +00:00
foundGifCached.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
game.md Http refactor (#307) 2018-02-18 14:18:18 +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_appChangelog.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
help_appChangelogEmpty.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
help_termsOfService.md AMP fixes 2017-08-20 09:05:56 +00:00
highScore.md AMP fixes 2017-08-20 09:05:56 +00:00
importedContact.md AMP fixes 2017-08-20 09:05:56 +00:00
inlineBotSwitchPM.md AMP fixes 2017-08-20 09:05:56 +00:00
inputAppEvent.md AMP fixes 2017-08-20 09:05:56 +00:00
inputBotInlineMessageGame.md AMP fixes 2017-08-20 09:05:56 +00:00
inputBotInlineMessageID.md AMP fixes 2017-08-20 09:05:56 +00:00
inputBotInlineMessageMediaAuto.md AMP fixes 2017-08-20 09:05:56 +00:00
inputBotInlineMessageMediaContact.md AMP fixes 2017-08-20 09:05:56 +00:00
inputBotInlineMessageMediaGeo.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
inputBotInlineMessageMediaVenue.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
inputBotInlineMessageText.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputBotInlineResult.md AMP fixes 2017-08-20 09:05:56 +00:00
inputBotInlineResultDocument.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputBotInlineResultGame.md AMP fixes 2017-08-20 09:05:56 +00:00
inputBotInlineResultPhoto.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputChannel.md AMP fixes 2017-08-20 09:05:56 +00:00
inputChannelEmpty.md More doc fixes 2017-07-23 16:33:46 +02: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
inputGameID.md AMP fixes 2017-08-20 09:05:56 +00:00
inputGameShortName.md Documentation rework (#349) 2018-03-20 12:48:05 +01: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
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
inputMediaDocumentExternal.md AMP fixes 2017-08-20 09:05:56 +00:00
inputMediaEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMediaGame.md AMP fixes 2017-08-20 09:05:56 +00:00
inputMediaGeoPoint.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
inputMediaGifExternal.md AMP fixes 2017-08-20 09:05:56 +00:00
inputMediaPhoto.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputMediaPhotoExternal.md AMP fixes 2017-08-20 09:05:56 +00: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
inputMediaVenue.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
inputMessageEntityMentionName.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
inputMessagesFilterChatPhotos.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
inputMessagesFilterGif.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMessagesFilterMusic.md More doc fixes 2017-07-23 16:33:46 +02:00
inputMessagesFilterPhoneCalls.md AMP fixes 2017-08-20 09:05:56 +00: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
inputMessagesFilterUrl.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
inputMessagesFilterVoice.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
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
inputPeerChannel.md AMP fixes 2017-08-20 09:05:56 +00:00
inputPeerChat.md AMP fixes 2017-08-20 09:05:56 +00:00
inputPeerEmpty.md More doc fixes 2017-07-23 16:33:46 +02: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
inputPeerUser.md AMP fixes 2017-08-20 09:05:56 +00:00
inputPhoneCall.md AMP fixes 2017-08-20 09:05:56 +00: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
inputPhotoEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPrivacyKeyChatInvite.md More doc fixes 2017-07-23 16:33:46 +02:00
inputPrivacyKeyPhoneCall.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
inputReportReasonOther.md AMP fixes 2017-08-20 09:05:56 +00:00
inputReportReasonPornography.md More doc fixes 2017-07-23 16:33:46 +02:00
inputReportReasonSpam.md More doc fixes 2017-07-23 16:33:46 +02:00
inputReportReasonViolence.md More doc fixes 2017-07-23 16:33:46 +02:00
inputStickeredMediaDocument.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputStickeredMediaPhoto.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
inputStickerSetEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputStickerSetID.md AMP fixes 2017-08-20 09:05:56 +00:00
inputStickerSetShortName.md AMP fixes 2017-08-20 09:05:56 +00:00
inputUser.md AMP fixes 2017-08-20 09:05:56 +00:00
inputUserEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
inputUserSelf.md More doc fixes 2017-07-23 16:33:46 +02:00
keyboardButton.md AMP fixes 2017-08-20 09:05:56 +00:00
keyboardButtonCallback.md AMP fixes 2017-08-20 09:05:56 +00:00
keyboardButtonGame.md AMP fixes 2017-08-20 09:05:56 +00:00
keyboardButtonRequestGeoLocation.md AMP fixes 2017-08-20 09:05:56 +00:00
keyboardButtonRequestPhone.md AMP fixes 2017-08-20 09:05:56 +00:00
keyboardButtonRow.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
keyboardButtonSwitchInline.md AMP fixes 2017-08-20 09:05:56 +00:00
keyboardButtonUrl.md AMP fixes 2017-08-20 09:05:56 +00:00
maskCoords.md AMP fixes 2017-08-20 09:05:56 +00:00
message.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messageActionChannelCreate.md AMP fixes 2017-08-20 09:05:56 +00:00
messageActionChannelMigrateFrom.md AMP fixes 2017-08-20 09:05:56 +00:00
messageActionChatAddUser.md Documentation rework (#349) 2018-03-20 12:48:05 +01: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
messageActionChatJoinedByLink.md AMP fixes 2017-08-20 09:05:56 +00:00
messageActionChatMigrateTo.md AMP fixes 2017-08-20 09:05:56 +00:00
messageActionEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
messageActionGameScore.md AMP fixes 2017-08-20 09:05:56 +00:00
messageActionHistoryClear.md More doc fixes 2017-07-23 16:33:46 +02:00
messageActionPhoneCall.md AMP fixes 2017-08-20 09:05:56 +00:00
messageActionPinMessage.md More doc fixes 2017-07-23 16:33:46 +02:00
messageEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityBold.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityBotCommand.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityCode.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityEmail.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityHashtag.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityItalic.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityMention.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityMentionName.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityPre.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityTextUrl.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityUnknown.md AMP fixes 2017-08-20 09:05:56 +00:00
messageEntityUrl.md AMP fixes 2017-08-20 09:05:56 +00:00
messageFwdHeader.md AMP fixes 2017-08-20 09:05:56 +00: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
messageMediaGame.md AMP fixes 2017-08-20 09:05:56 +00: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
messageMediaVenue.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
messageMediaWebPage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
messageRange.md AMP fixes 2017-08-20 09:05:56 +00: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_archivedStickers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_botCallbackAnswer.md AMP fixes 2017-08-20 09:05:56 +00:00
messages_botResults.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_channelMessages.md Documentation rework (#349) 2018-03-20 12:48:05 +01: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_chatsSlice.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_featuredStickers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_featuredStickersNotModified.md More doc fixes 2017-07-23 16:33:46 +02:00
messages_foundGifs.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_highScores.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_messageEditData.md AMP fixes 2017-08-20 09:05:56 +00: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_peerDialogs.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_recentStickers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_recentStickersNotModified.md More doc fixes 2017-07-23 16:33:46 +02:00
messages_savedGifs.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_savedGifsNotModified.md More doc fixes 2017-07-23 16:33:46 +02: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_stickers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_stickerSet.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_stickerSetInstallResultArchive.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
messages_stickerSetInstallResultSuccess.md More doc fixes 2017-07-23 16:33:46 +02: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
pageBlockAnchor.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockAuthorDate.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockBlockquote.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockCollage.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
pageBlockCover.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockDivider.md More doc fixes 2017-07-23 16:33:46 +02:00
pageBlockEmbed.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockEmbedPost.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
pageBlockFooter.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockHeader.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockList.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
pageBlockParagraph.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockPhoto.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockPreformatted.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockPullquote.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockSlideshow.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
pageBlockSubheader.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockSubtitle.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockTitle.md AMP fixes 2017-08-20 09:05:56 +00:00
pageBlockUnsupported.md More doc fixes 2017-07-23 16:33:46 +02:00
pageBlockVideo.md AMP fixes 2017-08-20 09:05:56 +00:00
pageFull.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
pagePart.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
peerChannel.md AMP fixes 2017-08-20 09:05:56 +00: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
peerSettings.md AMP fixes 2017-08-20 09:05:56 +00:00
peerUser.md AMP fixes 2017-08-20 09:05:56 +00:00
phone_phoneCall.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
phoneCall.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
phoneCallDiscarded.md AMP fixes 2017-08-20 09:05:56 +00:00
phoneCallDiscardReasonBusy.md More doc fixes 2017-07-23 16:33:46 +02:00
phoneCallDiscardReasonDisconnect.md More doc fixes 2017-07-23 16:33:46 +02:00
phoneCallDiscardReasonHangup.md More doc fixes 2017-07-23 16:33:46 +02:00
phoneCallDiscardReasonMissed.md More doc fixes 2017-07-23 16:33:46 +02:00
phoneCallEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
phoneCallProtocol.md AMP fixes 2017-08-20 09:05:56 +00:00
phoneCallRequested.md AMP fixes 2017-08-20 09:05:56 +00:00
phoneCallWaiting.md AMP fixes 2017-08-20 09:05:56 +00:00
phoneConnection.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
privacyKeyChatInvite.md More doc fixes 2017-07-23 16:33:46 +02:00
privacyKeyPhoneCall.md More doc fixes 2017-07-23 16:33:46 +02: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
receivedNotifyMessage.md AMP fixes 2017-08-20 09:05:56 +00:00
replyInlineMarkup.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
replyKeyboardForceReply.md AMP fixes 2017-08-20 09:05:56 +00:00
replyKeyboardHide.md AMP fixes 2017-08-20 09:05:56 +00:00
replyKeyboardMarkup.md Documentation rework (#349) 2018-03-20 12:48:05 +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
sendMessageGamePlayAction.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 AMP fixes 2017-08-20 09:05:56 +00:00
sendMessageUploadDocumentAction.md AMP fixes 2017-08-20 09:05:56 +00:00
sendMessageUploadPhotoAction.md AMP fixes 2017-08-20 09:05:56 +00:00
sendMessageUploadVideoAction.md AMP fixes 2017-08-20 09:05:56 +00:00
stickerPack.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
stickerSet.md AMP fixes 2017-08-20 09:05:56 +00:00
stickerSetCovered.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
stickerSetMultiCovered.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
textBold.md AMP fixes 2017-08-20 09:05:56 +00:00
textConcat.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
textEmail.md AMP fixes 2017-08-20 09:05:56 +00:00
textEmpty.md More doc fixes 2017-07-23 16:33:46 +02:00
textFixed.md AMP fixes 2017-08-20 09:05:56 +00:00
textItalic.md AMP fixes 2017-08-20 09:05:56 +00:00
textPlain.md AMP fixes 2017-08-20 09:05:56 +00:00
textStrike.md AMP fixes 2017-08-20 09:05:56 +00:00
textUnderline.md AMP fixes 2017-08-20 09:05:56 +00:00
textUrl.md AMP fixes 2017-08-20 09:05:56 +00:00
topPeer.md AMP fixes 2017-08-20 09:05:56 +00:00
topPeerCategoryBotsInline.md More doc fixes 2017-07-23 16:33:46 +02:00
topPeerCategoryBotsPM.md More doc fixes 2017-07-23 16:33:46 +02:00
topPeerCategoryChannels.md More doc fixes 2017-07-23 16:33:46 +02:00
topPeerCategoryCorrespondents.md More doc fixes 2017-07-23 16:33:46 +02:00
topPeerCategoryGroups.md More doc fixes 2017-07-23 16:33:46 +02:00
topPeerCategoryPeers.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
true.md More doc fixes 2017-07-23 16:33:46 +02:00
updateBotCallbackQuery.md AMP fixes 2017-08-20 09:05:56 +00:00
updateBotInlineQuery.md AMP fixes 2017-08-20 09:05:56 +00:00
updateBotInlineSend.md AMP fixes 2017-08-20 09:05:56 +00:00
updateChannel.md AMP fixes 2017-08-20 09:05:56 +00:00
updateChannelMessageViews.md AMP fixes 2017-08-20 09:05:56 +00:00
updateChannelPinnedMessage.md AMP fixes 2017-08-20 09:05:56 +00:00
updateChannelTooLong.md AMP fixes 2017-08-20 09:05:56 +00:00
updateChannelWebPage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateChatAdmins.md AMP fixes 2017-08-20 09:05:56 +00:00
updateChatParticipantAdd.md AMP fixes 2017-08-20 09:05:56 +00:00
updateChatParticipantAdmin.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
updateConfig.md More doc fixes 2017-07-23 16:33:46 +02: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
updateDeleteChannelMessages.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
updateDialogPinned.md AMP fixes 2017-08-20 09:05:56 +00:00
updateDraftMessage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateEditChannelMessage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateEditMessage.md Http refactor (#307) 2018-02-18 14:18:18 +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
updateInlineBotCallbackQuery.md AMP fixes 2017-08-20 09:05:56 +00:00
updateMessageID.md AMP fixes 2017-08-20 09:05:56 +00:00
updateNewChannelMessage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateNewEncryptedMessage.md AMP fixes 2017-08-20 09:05:56 +00:00
updateNewMessage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updateNewStickerSet.md AMP fixes 2017-08-20 09:05:56 +00:00
updateNotifySettings.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updatePhoneCall.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
updatePinnedDialogs.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updatePrivacy.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updatePtsChanged.md More doc fixes 2017-07-23 16:33:46 +02:00
updateReadChannelInbox.md AMP fixes 2017-08-20 09:05:56 +00:00
updateReadChannelOutbox.md AMP fixes 2017-08-20 09:05:56 +00:00
updateReadFeaturedStickers.md More doc fixes 2017-07-23 16:33:46 +02: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
updateReadMessagesContents.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updateRecentStickers.md More doc fixes 2017-07-23 16:33:46 +02:00
updates_channelDifference.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updates_channelDifferenceEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
updates_channelDifferenceTooLong.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_differenceTooLong.md AMP fixes 2017-08-20 09:05:56 +00: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
updateSavedGifs.md More doc fixes 2017-07-23 16:33:46 +02:00
updatesCombined.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updateServiceNotification.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updateShort.md AMP fixes 2017-08-20 09:05:56 +00:00
updateShortChatMessage.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updateShortMessage.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updateShortSentMessage.md Documentation rework (#349) 2018-03-20 12:48:05 +01:00
updateStickerSets.md More doc fixes 2017-07-23 16:33:46 +02:00
updateStickerSetsOrder.md Documentation rework (#349) 2018-03-20 12:48:05 +01: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
updateWebPage.md Http refactor (#307) 2018-02-18 14:18:18 +01:00
upload_file.md AMP fixes 2017-08-20 09:05:56 +00:00
user.md AMP fixes 2017-08-20 09:05:56 +00:00
userEmpty.md AMP fixes 2017-08-20 09:05:56 +00: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
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
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
webPage.md AMP fixes 2017-08-20 09:05:56 +00:00
webPageEmpty.md AMP fixes 2017-08-20 09:05:56 +00:00
webPageNotModified.md More doc fixes 2017-07-23 16:33:46 +02:00
webPagePending.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_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], ];




$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 = ['phonecalls_enabled' => Bool, '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, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => 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, ];




$destroy_auth_key_fail = [];

$destroy_auth_key_none = [];

$destroy_auth_key_ok = [];




$dialog = ['pinned' => Bool, '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 = ['message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ];

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




$inputMessagesFilterPhoneCalls = ['missed' => Bool, ];




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




$inputPhoneCall = ['id' => long, 'access_hash' => long, ];




$inputPhoneContact = ['client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ];




$inputPhoto = ['id' => long, 'access_hash' => long, ];




$inputPhotoEmpty = [];




$inputPrivacyKeyChatInvite = [];




$inputPrivacyKeyPhoneCall = [];




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




$messageActionPhoneCall = ['call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ];




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

$messages_botResults = ['gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ];

$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_chatsSlice = ['count' => int, '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 = [];




$pageBlockAnchor = ['name' => string, ];




$pageBlockAuthorDate = ['author' => RichText, 'published_date' => int, ];




$pageBlockBlockquote = ['text' => RichText, 'caption' => RichText, ];




$pageBlockCollage = ['items' => [PageBlock], 'caption' => RichText, ];




$pageBlockCover = ['cover' => PageBlock, ];




$pageBlockDivider = [];




$pageBlockEmbed = ['full_width' => Bool, 'allow_scrolling' => Bool, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ];




$pageBlockEmbedPost = ['url' => string, 'webpage_id' => long, 'author_photo_id' => long, 'author' => string, 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText, ];




$pageBlockFooter = ['text' => RichText, ];




$pageBlockHeader = ['text' => RichText, ];




$pageBlockList = ['ordered' => Bool, 'items' => [RichText], ];




$pageBlockParagraph = ['text' => RichText, ];




$pageBlockPhoto = ['photo_id' => long, 'caption' => RichText, ];




$pageBlockPreformatted = ['text' => RichText, 'language' => string, ];




$pageBlockPullquote = ['text' => RichText, 'caption' => RichText, ];




$pageBlockSlideshow = ['items' => [PageBlock], 'caption' => RichText, ];




$pageBlockSubheader = ['text' => RichText, ];




$pageBlockSubtitle = ['text' => RichText, ];




$pageBlockTitle = ['text' => RichText, ];




$pageBlockUnsupported = [];




$pageBlockVideo = ['autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText, ];




$pageFull = ['blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ];




$pagePart = ['blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ];




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




$phoneCall = ['id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection], 'start_date' => int, ];




$phoneCallDiscardReasonBusy = [];




$phoneCallDiscardReasonDisconnect = [];




$phoneCallDiscardReasonHangup = [];




$phoneCallDiscardReasonMissed = [];




$phoneCallDiscarded = ['id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ];




$phoneCallEmpty = ['id' => long, ];




$phoneCallProtocol = ['udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, ];




$phoneCallRequested = ['id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, 'protocol' => PhoneCallProtocol, ];




$phoneCallWaiting = ['id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int, ];




$phoneConnection = ['id' => long, 'ip' => string, 'ipv6' => string, 'port' => int, 'peer_tag' => bytes, ];




$phone_phoneCall = ['phone_call' => PhoneCall, 'users' => [User], ];




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




$privacyKeyPhoneCall = [];




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




$textBold = ['text' => RichText, ];




$textConcat = ['texts' => [RichText], ];




$textEmail = ['text' => RichText, 'email' => string, ];




$textEmpty = [];




$textFixed = ['text' => RichText, ];




$textItalic = ['text' => RichText, ];




$textPlain = ['text' => string, ];




$textStrike = ['text' => RichText, ];




$textUnderline = ['text' => RichText, ];




$textUrl = ['text' => RichText, 'url' => string, 'webpage_id' => long, ];




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




$updateChannelWebPage = ['channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => 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, ];




$updateDialogPinned = ['pinned' => Bool, 'peer' => Peer, ];




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




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




$updatePhoneCall = ['phone_call' => PhoneCall, ];




$updatePinnedDialogs = ['order' => [Peer], ];




$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 = ['popup' => Bool, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ];




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




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




$updatesTooLong = [];




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

$updates_state = ['pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ];




$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, 'phone_calls_available' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int, ];




$userProfilePhoto = ['photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ];




$userProfilePhotoEmpty = [];




$userStatusEmpty = [];




$userStatusLastMonth = [];




$userStatusLastWeek = [];




$userStatusOffline = ['was_online' => int, ];




$userStatusOnline = ['expires' => int, ];




$userStatusRecently = [];




$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, 'hash' => int, '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, 'cached_page' => Page, ];




$webPageEmpty = ['id' => long, ];




$webPageNotModified = [];




$webPagePending = ['id' => long, 'date' => int, ];