diff --git a/docs/API_docs/constructors/pageBlockDivider.md b/docs/API_docs/constructors/pageBlockDivider.md index d2bfbc92..154ad13a 100644 --- a/docs/API_docs/constructors/pageBlockDivider.md +++ b/docs/API_docs/constructors/pageBlockDivider.md @@ -9,10 +9,6 @@ description: An empty block separating parts of a page An empty block separating parts of a page -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/API_docs/constructors/privacyKeyChatInvite.md b/docs/API_docs/constructors/privacyKeyChatInvite.md index b0eff2df..5ff172e8 100644 --- a/docs/API_docs/constructors/privacyKeyChatInvite.md +++ b/docs/API_docs/constructors/privacyKeyChatInvite.md @@ -9,10 +9,6 @@ description: Privacy key for managing ability of invitation of the user to chats Privacy key for managing ability of invitation of the user to chats -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/API_docs/constructors/userStatusEmpty.md b/docs/API_docs/constructors/userStatusEmpty.md index 7960dd1d..cbcbfd1d 100644 --- a/docs/API_docs/constructors/userStatusEmpty.md +++ b/docs/API_docs/constructors/userStatusEmpty.md @@ -9,10 +9,6 @@ description: User status was newer changed User status was newer changed -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/API_docs/constructors/userStatusLastMonth.md b/docs/API_docs/constructors/userStatusLastMonth.md index 19af27e4..029cfdf8 100644 --- a/docs/API_docs/constructors/userStatusLastMonth.md +++ b/docs/API_docs/constructors/userStatusLastMonth.md @@ -9,10 +9,6 @@ description: User is offline, but was online last month User is offline, but was online last month -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/API_docs/constructors/userStatusLastWeek.md b/docs/API_docs/constructors/userStatusLastWeek.md index 24871470..ea1dc13c 100644 --- a/docs/API_docs/constructors/userStatusLastWeek.md +++ b/docs/API_docs/constructors/userStatusLastWeek.md @@ -9,10 +9,6 @@ description: User is offline, but was online last week User is offline, but was online last week -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/API_docs/constructors/userStatusRecently.md b/docs/API_docs/constructors/userStatusRecently.md index c1ef0fd5..5aba98b0 100644 --- a/docs/API_docs/constructors/userStatusRecently.md +++ b/docs/API_docs/constructors/userStatusRecently.md @@ -9,10 +9,6 @@ description: User was online recently User was online recently -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/API_docs/methods/account_getAccountTTL.md b/docs/API_docs/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/docs/API_docs/methods/account_getAccountTTL.md +++ b/docs/API_docs/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/docs/API_docs/methods/account_getAuthorizations.md b/docs/API_docs/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/docs/API_docs/methods/account_getAuthorizations.md +++ b/docs/API_docs/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/docs/API_docs/methods/account_getPassword.md b/docs/API_docs/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/docs/API_docs/methods/account_getPassword.md +++ b/docs/API_docs/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/docs/API_docs/methods/account_getPasswordSettings.md b/docs/API_docs/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/docs/API_docs/methods/account_getPasswordSettings.md +++ b/docs/API_docs/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/docs/API_docs/methods/account_getWallPapers.md b/docs/API_docs/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/docs/API_docs/methods/account_getWallPapers.md +++ b/docs/API_docs/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/docs/API_docs/methods/account_getWebAuthorizations.md b/docs/API_docs/methods/account_getWebAuthorizations.md index 5c009a38..856af6b2 100644 --- a/docs/API_docs/methods/account_getWebAuthorizations.md +++ b/docs/API_docs/methods/account_getWebAuthorizations.md @@ -8,10 +8,6 @@ description: Get telegram web login authorizations Get telegram web login authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) diff --git a/docs/API_docs/methods/account_resetNotifySettings.md b/docs/API_docs/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/docs/API_docs/methods/account_resetNotifySettings.md +++ b/docs/API_docs/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/docs/API_docs/methods/account_resetWebAuthorizations.md b/docs/API_docs/methods/account_resetWebAuthorizations.md index f9f09bc8..318c0cbf 100644 --- a/docs/API_docs/methods/account_resetWebAuthorizations.md +++ b/docs/API_docs/methods/account_resetWebAuthorizations.md @@ -8,10 +8,6 @@ description: Reset all telegram web login authorizations Reset all telegram web login authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/docs/API_docs/methods/account_updatePasswordSettings.md b/docs/API_docs/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/docs/API_docs/methods/account_updatePasswordSettings.md +++ b/docs/API_docs/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/docs/API_docs/methods/auth_requestPasswordRecovery.md b/docs/API_docs/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/docs/API_docs/methods/auth_requestPasswordRecovery.md +++ b/docs/API_docs/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/docs/API_docs/methods/auth_resetAuthorizations.md b/docs/API_docs/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/docs/API_docs/methods/auth_resetAuthorizations.md +++ b/docs/API_docs/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/docs/API_docs/methods/contacts_exportCard.md b/docs/API_docs/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/docs/API_docs/methods/contacts_exportCard.md +++ b/docs/API_docs/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/docs/API_docs/methods/contacts_getContacts.md b/docs/API_docs/methods/contacts_getContacts.md index 32877d62..6ccb9545 100644 --- a/docs/API_docs/methods/contacts_getContacts.md +++ b/docs/API_docs/methods/contacts_getContacts.md @@ -12,7 +12,7 @@ Get info about a certain contact | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|hash|[CLICK ME int](../types/int.md) | Yes|$ids is the list ids of previously fetched contacts, $hash = $MadelineProto->gen_vector_hash($ids);| +|hash|[CLICK ME int](../types/int.md) | Yes|$ids is the list ids of previously fetched contacts, `$hash = $MadelineProto->gen_vector_hash($ids);`| ### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) diff --git a/docs/API_docs/methods/contacts_getStatuses.md b/docs/API_docs/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/docs/API_docs/methods/contacts_getStatuses.md +++ b/docs/API_docs/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/docs/TD_docs/constructors/authStateLoggingOut.md b/docs/TD_docs/constructors/authStateLoggingOut.md index 438bc370..60e38c0a 100644 --- a/docs/TD_docs/constructors/authStateLoggingOut.md +++ b/docs/TD_docs/constructors/authStateLoggingOut.md @@ -9,10 +9,6 @@ description: User is currently logging out User is currently logging out -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/authStateOk.md b/docs/TD_docs/constructors/authStateOk.md index b70653ed..059fd03b 100644 --- a/docs/TD_docs/constructors/authStateOk.md +++ b/docs/TD_docs/constructors/authStateOk.md @@ -9,10 +9,6 @@ description: User is successfully authorized. TDLib can answer queries User is successfully authorized. TDLib can answer queries -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/authStateWaitPhoneNumber.md b/docs/TD_docs/constructors/authStateWaitPhoneNumber.md index 592fb8bc..60b51edc 100644 --- a/docs/TD_docs/constructors/authStateWaitPhoneNumber.md +++ b/docs/TD_docs/constructors/authStateWaitPhoneNumber.md @@ -9,10 +9,6 @@ description: TDLib needs user's phone number to authorize TDLib needs user's phone number to authorize -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/callDiscardReasonDeclined.md b/docs/TD_docs/constructors/callDiscardReasonDeclined.md index e316b7c8..de00c589 100644 --- a/docs/TD_docs/constructors/callDiscardReasonDeclined.md +++ b/docs/TD_docs/constructors/callDiscardReasonDeclined.md @@ -9,10 +9,6 @@ description: Call has ended before conversation begins. It was declined by the c Call has ended before conversation begins. It was declined by the callee -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/callDiscardReasonDisconnected.md b/docs/TD_docs/constructors/callDiscardReasonDisconnected.md index 75566102..d8603262 100644 --- a/docs/TD_docs/constructors/callDiscardReasonDisconnected.md +++ b/docs/TD_docs/constructors/callDiscardReasonDisconnected.md @@ -9,10 +9,6 @@ description: Call has ended during conversation because users was disconnected Call has ended during conversation because users was disconnected -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/callDiscardReasonEmpty.md b/docs/TD_docs/constructors/callDiscardReasonEmpty.md index 2e12b17a..db4698f6 100644 --- a/docs/TD_docs/constructors/callDiscardReasonEmpty.md +++ b/docs/TD_docs/constructors/callDiscardReasonEmpty.md @@ -9,10 +9,6 @@ description: Call wasn't discarded or the reason is unknown Call wasn't discarded or the reason is unknown -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/callDiscardReasonHungUp.md b/docs/TD_docs/constructors/callDiscardReasonHungUp.md index 4ea4ed52..7197d698 100644 --- a/docs/TD_docs/constructors/callDiscardReasonHungUp.md +++ b/docs/TD_docs/constructors/callDiscardReasonHungUp.md @@ -9,10 +9,6 @@ description: Call was hung up by the caller or by the callee Call was hung up by the caller or by the callee -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/callDiscardReasonMissed.md b/docs/TD_docs/constructors/callDiscardReasonMissed.md index daf0a5e8..7bb99dfa 100644 --- a/docs/TD_docs/constructors/callDiscardReasonMissed.md +++ b/docs/TD_docs/constructors/callDiscardReasonMissed.md @@ -9,10 +9,6 @@ description: Call has ended before conversation begins. It was cancelled by the Call has ended before conversation begins. It was cancelled by the caller or was missed by the callee -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/callStateExchangingKeys.md b/docs/TD_docs/constructors/callStateExchangingKeys.md index 64730b97..40ae87ac 100644 --- a/docs/TD_docs/constructors/callStateExchangingKeys.md +++ b/docs/TD_docs/constructors/callStateExchangingKeys.md @@ -9,10 +9,6 @@ description: Call is answered and encryption keys are exchanged Call is answered and encryption keys are exchanged -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/callStateHangingUp.md b/docs/TD_docs/constructors/callStateHangingUp.md index df7d74c6..25fb35e1 100644 --- a/docs/TD_docs/constructors/callStateHangingUp.md +++ b/docs/TD_docs/constructors/callStateHangingUp.md @@ -9,10 +9,6 @@ description: Call is hanging up after discardCall is called Call is hanging up after discardCall is called -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/channelMembersFilterAdministrators.md b/docs/TD_docs/constructors/channelMembersFilterAdministrators.md index 2c2ae807..4cef1a32 100644 --- a/docs/TD_docs/constructors/channelMembersFilterAdministrators.md +++ b/docs/TD_docs/constructors/channelMembersFilterAdministrators.md @@ -9,10 +9,6 @@ description: Return creator and administrators Return creator and administrators -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/channelMembersFilterBots.md b/docs/TD_docs/constructors/channelMembersFilterBots.md index 2a398416..f9bb01e1 100644 --- a/docs/TD_docs/constructors/channelMembersFilterBots.md +++ b/docs/TD_docs/constructors/channelMembersFilterBots.md @@ -9,10 +9,6 @@ description: Return bot members of the channel Return bot members of the channel -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/channelMembersFilterRecent.md b/docs/TD_docs/constructors/channelMembersFilterRecent.md index 601d1ee3..0906a7e8 100644 --- a/docs/TD_docs/constructors/channelMembersFilterRecent.md +++ b/docs/TD_docs/constructors/channelMembersFilterRecent.md @@ -9,10 +9,6 @@ description: Return recently active users in reverse chronological order Return recently active users in reverse chronological order -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatActionCancel.md b/docs/TD_docs/constructors/chatActionCancel.md index 68c1ab5e..68eae2e1 100644 --- a/docs/TD_docs/constructors/chatActionCancel.md +++ b/docs/TD_docs/constructors/chatActionCancel.md @@ -9,10 +9,6 @@ description: User cancels previous action User cancels previous action -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatActionChoosingContact.md b/docs/TD_docs/constructors/chatActionChoosingContact.md index bfc418a5..041aea12 100644 --- a/docs/TD_docs/constructors/chatActionChoosingContact.md +++ b/docs/TD_docs/constructors/chatActionChoosingContact.md @@ -9,10 +9,6 @@ description: User chooses contact to send User chooses contact to send -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatActionChoosingLocation.md b/docs/TD_docs/constructors/chatActionChoosingLocation.md index f69c5cc7..2ff083a0 100644 --- a/docs/TD_docs/constructors/chatActionChoosingLocation.md +++ b/docs/TD_docs/constructors/chatActionChoosingLocation.md @@ -9,10 +9,6 @@ description: User chooses location or venue to send User chooses location or venue to send -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatActionRecordingVideo.md b/docs/TD_docs/constructors/chatActionRecordingVideo.md index bbb38411..ecae8c5f 100644 --- a/docs/TD_docs/constructors/chatActionRecordingVideo.md +++ b/docs/TD_docs/constructors/chatActionRecordingVideo.md @@ -9,10 +9,6 @@ description: User records a video User records a video -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatActionRecordingVideoNote.md b/docs/TD_docs/constructors/chatActionRecordingVideoNote.md index 422d97cd..d8af6787 100644 --- a/docs/TD_docs/constructors/chatActionRecordingVideoNote.md +++ b/docs/TD_docs/constructors/chatActionRecordingVideoNote.md @@ -9,10 +9,6 @@ description: User records video note User records video note -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatActionRecordingVoice.md b/docs/TD_docs/constructors/chatActionRecordingVoice.md index be9b2f7e..8ba29343 100644 --- a/docs/TD_docs/constructors/chatActionRecordingVoice.md +++ b/docs/TD_docs/constructors/chatActionRecordingVoice.md @@ -9,10 +9,6 @@ description: User records voice message User records voice message -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatActionStartPlayingGame.md b/docs/TD_docs/constructors/chatActionStartPlayingGame.md index 1a133de6..2808061b 100644 --- a/docs/TD_docs/constructors/chatActionStartPlayingGame.md +++ b/docs/TD_docs/constructors/chatActionStartPlayingGame.md @@ -9,10 +9,6 @@ description: User starts to play a game User starts to play a game -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatActionTyping.md b/docs/TD_docs/constructors/chatActionTyping.md index 10591ceb..3a0bba35 100644 --- a/docs/TD_docs/constructors/chatActionTyping.md +++ b/docs/TD_docs/constructors/chatActionTyping.md @@ -9,10 +9,6 @@ description: User typing a message User typing a message -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatEventMemberJoined.md b/docs/TD_docs/constructors/chatEventMemberJoined.md index a7e4456b..414be50a 100644 --- a/docs/TD_docs/constructors/chatEventMemberJoined.md +++ b/docs/TD_docs/constructors/chatEventMemberJoined.md @@ -9,10 +9,6 @@ description: New chat member joined New chat member joined -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatEventMemberLeft.md b/docs/TD_docs/constructors/chatEventMemberLeft.md index d9f345e9..155aea40 100644 --- a/docs/TD_docs/constructors/chatEventMemberLeft.md +++ b/docs/TD_docs/constructors/chatEventMemberLeft.md @@ -9,10 +9,6 @@ description: A chat member left A chat member left -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatEventMessageUnpinned.md b/docs/TD_docs/constructors/chatEventMessageUnpinned.md index 66676744..3b77816d 100644 --- a/docs/TD_docs/constructors/chatEventMessageUnpinned.md +++ b/docs/TD_docs/constructors/chatEventMessageUnpinned.md @@ -9,10 +9,6 @@ description: A message was unpinned A message was unpinned -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatMemberStatusCreator.md b/docs/TD_docs/constructors/chatMemberStatusCreator.md index 45055ebd..9e846b44 100644 --- a/docs/TD_docs/constructors/chatMemberStatusCreator.md +++ b/docs/TD_docs/constructors/chatMemberStatusCreator.md @@ -9,10 +9,6 @@ description: User is creator of the chat which has all administrator priviledges User is creator of the chat which has all administrator priviledges -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatMemberStatusLeft.md b/docs/TD_docs/constructors/chatMemberStatusLeft.md index 89ce0eff..41215b98 100644 --- a/docs/TD_docs/constructors/chatMemberStatusLeft.md +++ b/docs/TD_docs/constructors/chatMemberStatusLeft.md @@ -9,10 +9,6 @@ description: User is not a chat member User is not a chat member -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatMemberStatusMember.md b/docs/TD_docs/constructors/chatMemberStatusMember.md index b2089674..8d2822a3 100644 --- a/docs/TD_docs/constructors/chatMemberStatusMember.md +++ b/docs/TD_docs/constructors/chatMemberStatusMember.md @@ -9,10 +9,6 @@ description: User is a member of the chat, but have no any additional privileges User is a member of the chat, but have no any additional privileges or restrictions -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatReportReasonPornography.md b/docs/TD_docs/constructors/chatReportReasonPornography.md index bdfae825..8c602ec5 100644 --- a/docs/TD_docs/constructors/chatReportReasonPornography.md +++ b/docs/TD_docs/constructors/chatReportReasonPornography.md @@ -9,10 +9,6 @@ description: The chat contains pornography messages The chat contains pornography messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatReportReasonSpam.md b/docs/TD_docs/constructors/chatReportReasonSpam.md index de19c3a8..ed21b33d 100644 --- a/docs/TD_docs/constructors/chatReportReasonSpam.md +++ b/docs/TD_docs/constructors/chatReportReasonSpam.md @@ -9,10 +9,6 @@ description: The chat contains spam messages The chat contains spam messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/chatReportReasonViolence.md b/docs/TD_docs/constructors/chatReportReasonViolence.md index 690ae7fb..bc786ea2 100644 --- a/docs/TD_docs/constructors/chatReportReasonViolence.md +++ b/docs/TD_docs/constructors/chatReportReasonViolence.md @@ -9,10 +9,6 @@ description: The chat contains violent messages The chat contains violent messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/connectionStateConnecting.md b/docs/TD_docs/constructors/connectionStateConnecting.md index 0ab028cb..6246aa96 100644 --- a/docs/TD_docs/constructors/connectionStateConnecting.md +++ b/docs/TD_docs/constructors/connectionStateConnecting.md @@ -9,10 +9,6 @@ description: Establishing connection to Telegram servers Establishing connection to Telegram servers -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/connectionStateConnectingToProxy.md b/docs/TD_docs/constructors/connectionStateConnectingToProxy.md index c217dd45..f4a8f6c0 100644 --- a/docs/TD_docs/constructors/connectionStateConnectingToProxy.md +++ b/docs/TD_docs/constructors/connectionStateConnectingToProxy.md @@ -9,10 +9,6 @@ description: Establishing connection to set up proxy server Establishing connection to set up proxy server -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/connectionStateReady.md b/docs/TD_docs/constructors/connectionStateReady.md index f74b803f..52b51b0f 100644 --- a/docs/TD_docs/constructors/connectionStateReady.md +++ b/docs/TD_docs/constructors/connectionStateReady.md @@ -9,10 +9,6 @@ description: There is a working connection to the Telegram servers There is a working connection to the Telegram servers -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/connectionStateUpdating.md b/docs/TD_docs/constructors/connectionStateUpdating.md index 5e3cedd7..2a38fb82 100644 --- a/docs/TD_docs/constructors/connectionStateUpdating.md +++ b/docs/TD_docs/constructors/connectionStateUpdating.md @@ -9,10 +9,6 @@ description: Downloading date received, while client was offline Downloading date received, while client was offline -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/connectionStateWaitingForNetwork.md b/docs/TD_docs/constructors/connectionStateWaitingForNetwork.md index 335df0c6..73b00350 100644 --- a/docs/TD_docs/constructors/connectionStateWaitingForNetwork.md +++ b/docs/TD_docs/constructors/connectionStateWaitingForNetwork.md @@ -9,10 +9,6 @@ description: Waiting for network to be available. Use SetNetworkType to change a Waiting for network to be available. Use SetNetworkType to change available network type -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeAnimation.md b/docs/TD_docs/constructors/fileTypeAnimation.md index 5c04ccf1..6cc13e13 100644 --- a/docs/TD_docs/constructors/fileTypeAnimation.md +++ b/docs/TD_docs/constructors/fileTypeAnimation.md @@ -9,10 +9,6 @@ description: File is an animation File is an animation -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeAudio.md b/docs/TD_docs/constructors/fileTypeAudio.md index 064eda2b..d89d2bee 100644 --- a/docs/TD_docs/constructors/fileTypeAudio.md +++ b/docs/TD_docs/constructors/fileTypeAudio.md @@ -9,10 +9,6 @@ description: File is an audio File is an audio -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeDocument.md b/docs/TD_docs/constructors/fileTypeDocument.md index 8903702e..bf4b3ed5 100644 --- a/docs/TD_docs/constructors/fileTypeDocument.md +++ b/docs/TD_docs/constructors/fileTypeDocument.md @@ -9,10 +9,6 @@ description: File is a document File is a document -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeNone.md b/docs/TD_docs/constructors/fileTypeNone.md index 96ec4c0d..109f6277 100644 --- a/docs/TD_docs/constructors/fileTypeNone.md +++ b/docs/TD_docs/constructors/fileTypeNone.md @@ -9,10 +9,6 @@ description: Data is not a file Data is not a file -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypePhoto.md b/docs/TD_docs/constructors/fileTypePhoto.md index 51f53d71..660c03e4 100644 --- a/docs/TD_docs/constructors/fileTypePhoto.md +++ b/docs/TD_docs/constructors/fileTypePhoto.md @@ -9,10 +9,6 @@ description: File is a photo File is a photo -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeProfilePhoto.md b/docs/TD_docs/constructors/fileTypeProfilePhoto.md index 95c6c2a3..df21de54 100644 --- a/docs/TD_docs/constructors/fileTypeProfilePhoto.md +++ b/docs/TD_docs/constructors/fileTypeProfilePhoto.md @@ -9,10 +9,6 @@ description: File is a profile photo File is a profile photo -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeSecret.md b/docs/TD_docs/constructors/fileTypeSecret.md index 15444ee0..250c7ee0 100644 --- a/docs/TD_docs/constructors/fileTypeSecret.md +++ b/docs/TD_docs/constructors/fileTypeSecret.md @@ -9,10 +9,6 @@ description: File sent to a secret chat File sent to a secret chat -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeSecretThumb.md b/docs/TD_docs/constructors/fileTypeSecretThumb.md index 6fc1387a..ad95fe01 100644 --- a/docs/TD_docs/constructors/fileTypeSecretThumb.md +++ b/docs/TD_docs/constructors/fileTypeSecretThumb.md @@ -9,10 +9,6 @@ description: File is a thumbnail of a file from a secret chat File is a thumbnail of a file from a secret chat -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeSticker.md b/docs/TD_docs/constructors/fileTypeSticker.md index e9ce234d..c2f74a4c 100644 --- a/docs/TD_docs/constructors/fileTypeSticker.md +++ b/docs/TD_docs/constructors/fileTypeSticker.md @@ -9,10 +9,6 @@ description: File is a sticker File is a sticker -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeThumb.md b/docs/TD_docs/constructors/fileTypeThumb.md index 4a240e18..82082e83 100644 --- a/docs/TD_docs/constructors/fileTypeThumb.md +++ b/docs/TD_docs/constructors/fileTypeThumb.md @@ -9,10 +9,6 @@ description: File is a thumbnail of another file File is a thumbnail of another file -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeUnknown.md b/docs/TD_docs/constructors/fileTypeUnknown.md index b05fd135..b9ac494f 100644 --- a/docs/TD_docs/constructors/fileTypeUnknown.md +++ b/docs/TD_docs/constructors/fileTypeUnknown.md @@ -9,10 +9,6 @@ description: File type is yet unknown File type is yet unknown -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeVideo.md b/docs/TD_docs/constructors/fileTypeVideo.md index d2ba0dff..2c2eaf0f 100644 --- a/docs/TD_docs/constructors/fileTypeVideo.md +++ b/docs/TD_docs/constructors/fileTypeVideo.md @@ -9,10 +9,6 @@ description: File is a video File is a video -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeVideoNote.md b/docs/TD_docs/constructors/fileTypeVideoNote.md index 69ef809c..b922160f 100644 --- a/docs/TD_docs/constructors/fileTypeVideoNote.md +++ b/docs/TD_docs/constructors/fileTypeVideoNote.md @@ -9,10 +9,6 @@ description: File is a video note File is a video note -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeVoice.md b/docs/TD_docs/constructors/fileTypeVoice.md index 0c545cb0..3eb9f168 100644 --- a/docs/TD_docs/constructors/fileTypeVoice.md +++ b/docs/TD_docs/constructors/fileTypeVoice.md @@ -9,10 +9,6 @@ description: File is a voice audio File is a voice audio -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/fileTypeWallpaper.md b/docs/TD_docs/constructors/fileTypeWallpaper.md index 294911b4..fd2ee56d 100644 --- a/docs/TD_docs/constructors/fileTypeWallpaper.md +++ b/docs/TD_docs/constructors/fileTypeWallpaper.md @@ -9,10 +9,6 @@ description: File is a wallpaper File is a wallpaper -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/inlineKeyboardButtonTypeBuy.md b/docs/TD_docs/constructors/inlineKeyboardButtonTypeBuy.md index dbd7f1cc..8d3d528a 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButtonTypeBuy.md +++ b/docs/TD_docs/constructors/inlineKeyboardButtonTypeBuy.md @@ -9,10 +9,6 @@ description: A button for buying, must be in the first column and row of the key A button for buying, must be in the first column and row of the keyboard, can be attached only to a message with content of the type messageInvoice -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md b/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md index e42a38fc..da79db68 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md +++ b/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md @@ -9,10 +9,6 @@ description: A button with a game which sends to the bot special callback query, A button with a game which sends to the bot special callback query, must be in the first column and row of the keyboard, can be attached only to a message with content of the type messageGame -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md b/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md index 59f6101e..8eb442f7 100644 --- a/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md +++ b/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md @@ -9,10 +9,6 @@ description: A button which sends user location when pressed, available only in A button which sends user location when pressed, available only in private chats -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md b/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md index 16a2585d..d6f72509 100644 --- a/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md +++ b/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md @@ -9,10 +9,6 @@ description: A button which sends user's phone number when pressed, available on A button which sends user's phone number when pressed, available only in private chats -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/keyboardButtonTypeText.md b/docs/TD_docs/constructors/keyboardButtonTypeText.md index 303e191e..51cab70a 100644 --- a/docs/TD_docs/constructors/keyboardButtonTypeText.md +++ b/docs/TD_docs/constructors/keyboardButtonTypeText.md @@ -9,10 +9,6 @@ description: Simple button with a text, which should be sent when the button is Simple button with a text, which should be sent when the button is pressed -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/linkStateContact.md b/docs/TD_docs/constructors/linkStateContact.md index 408e9003..9378d12f 100644 --- a/docs/TD_docs/constructors/linkStateContact.md +++ b/docs/TD_docs/constructors/linkStateContact.md @@ -9,10 +9,6 @@ description: Other user is in contacts list, particularly its phone number is kn Other user is in contacts list, particularly its phone number is known -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md b/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md index 58d9fc34..a695d1a9 100644 --- a/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md +++ b/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md @@ -9,10 +9,6 @@ description: Other user's phone number is known but user not in contacts list Other user's phone number is known but user not in contacts list -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/linkStateNone.md b/docs/TD_docs/constructors/linkStateNone.md index ae868c29..38d22596 100644 --- a/docs/TD_docs/constructors/linkStateNone.md +++ b/docs/TD_docs/constructors/linkStateNone.md @@ -9,10 +9,6 @@ description: Other user's phone number doesn't known Other user's phone number doesn't known -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageChatDeletePhoto.md b/docs/TD_docs/constructors/messageChatDeletePhoto.md index 2c5bd4bc..f24a0bd3 100644 --- a/docs/TD_docs/constructors/messageChatDeletePhoto.md +++ b/docs/TD_docs/constructors/messageChatDeletePhoto.md @@ -9,10 +9,6 @@ description: Chat photo deleted Chat photo deleted -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageChatJoinByLink.md b/docs/TD_docs/constructors/messageChatJoinByLink.md index b3f4d81f..c6791732 100644 --- a/docs/TD_docs/constructors/messageChatJoinByLink.md +++ b/docs/TD_docs/constructors/messageChatJoinByLink.md @@ -9,10 +9,6 @@ description: Chat member joined by invite link Chat member joined by invite link -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageContactRegistered.md b/docs/TD_docs/constructors/messageContactRegistered.md index 8b744518..4a460328 100644 --- a/docs/TD_docs/constructors/messageContactRegistered.md +++ b/docs/TD_docs/constructors/messageContactRegistered.md @@ -9,10 +9,6 @@ description: Contact has registered Contact has registered -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageExpiredPhoto.md b/docs/TD_docs/constructors/messageExpiredPhoto.md index 873d2f36..c1f51a86 100644 --- a/docs/TD_docs/constructors/messageExpiredPhoto.md +++ b/docs/TD_docs/constructors/messageExpiredPhoto.md @@ -9,10 +9,6 @@ description: Photo message expired by TTL Photo message expired by TTL -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageExpiredVideo.md b/docs/TD_docs/constructors/messageExpiredVideo.md index 2781a717..9c93e1ce 100644 --- a/docs/TD_docs/constructors/messageExpiredVideo.md +++ b/docs/TD_docs/constructors/messageExpiredVideo.md @@ -9,10 +9,6 @@ description: Video message expired by TTL Video message expired by TTL -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageIsBeingSent.md b/docs/TD_docs/constructors/messageIsBeingSent.md index 0f62d396..97842bc5 100644 --- a/docs/TD_docs/constructors/messageIsBeingSent.md +++ b/docs/TD_docs/constructors/messageIsBeingSent.md @@ -9,10 +9,6 @@ description: Message is outgoing but is yet not delivered to the server Message is outgoing but is yet not delivered to the server -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageIsFailedToSend.md b/docs/TD_docs/constructors/messageIsFailedToSend.md index ea43b2ca..f13f1686 100644 --- a/docs/TD_docs/constructors/messageIsFailedToSend.md +++ b/docs/TD_docs/constructors/messageIsFailedToSend.md @@ -9,10 +9,6 @@ description: Message is failed to send Message is failed to send -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageIsIncoming.md b/docs/TD_docs/constructors/messageIsIncoming.md index 6dce5e45..5497001d 100644 --- a/docs/TD_docs/constructors/messageIsIncoming.md +++ b/docs/TD_docs/constructors/messageIsIncoming.md @@ -9,10 +9,6 @@ description: Message is incoming Message is incoming -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageIsSuccessfullySent.md b/docs/TD_docs/constructors/messageIsSuccessfullySent.md index 6733f87f..b3e12018 100644 --- a/docs/TD_docs/constructors/messageIsSuccessfullySent.md +++ b/docs/TD_docs/constructors/messageIsSuccessfullySent.md @@ -9,10 +9,6 @@ description: Message was synchronized with the server Message was synchronized with the server -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageScreenshotTaken.md b/docs/TD_docs/constructors/messageScreenshotTaken.md index e206fce8..1ee1750d 100644 --- a/docs/TD_docs/constructors/messageScreenshotTaken.md +++ b/docs/TD_docs/constructors/messageScreenshotTaken.md @@ -9,10 +9,6 @@ description: Screenshot of messages in the chat was taken Screenshot of messages in the chat was taken -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/messageUnsupported.md b/docs/TD_docs/constructors/messageUnsupported.md index b52c44ee..3f11bfc2 100644 --- a/docs/TD_docs/constructors/messageUnsupported.md +++ b/docs/TD_docs/constructors/messageUnsupported.md @@ -9,10 +9,6 @@ description: Unsupported message content Unsupported message content -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/networkTypeMobile.md b/docs/TD_docs/constructors/networkTypeMobile.md index 76a9d8f8..be4b49c3 100644 --- a/docs/TD_docs/constructors/networkTypeMobile.md +++ b/docs/TD_docs/constructors/networkTypeMobile.md @@ -9,10 +9,6 @@ description: Mobile network Mobile network -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/networkTypeMobileRoaming.md b/docs/TD_docs/constructors/networkTypeMobileRoaming.md index ac7ed506..bf06ea4e 100644 --- a/docs/TD_docs/constructors/networkTypeMobileRoaming.md +++ b/docs/TD_docs/constructors/networkTypeMobileRoaming.md @@ -9,10 +9,6 @@ description: Mobile roaming network Mobile roaming network -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/networkTypeNone.md b/docs/TD_docs/constructors/networkTypeNone.md index ca1157a8..dac5f77e 100644 --- a/docs/TD_docs/constructors/networkTypeNone.md +++ b/docs/TD_docs/constructors/networkTypeNone.md @@ -9,10 +9,6 @@ description: Network is not available Network is not available -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/networkTypeOther.md b/docs/TD_docs/constructors/networkTypeOther.md index b99cef2c..58f0fcb0 100644 --- a/docs/TD_docs/constructors/networkTypeOther.md +++ b/docs/TD_docs/constructors/networkTypeOther.md @@ -9,10 +9,6 @@ description: Other network type, for example, Ethernet network Other network type, for example, Ethernet network -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/networkTypeWiFi.md b/docs/TD_docs/constructors/networkTypeWiFi.md index d641d1e0..98ab19ac 100644 --- a/docs/TD_docs/constructors/networkTypeWiFi.md +++ b/docs/TD_docs/constructors/networkTypeWiFi.md @@ -9,10 +9,6 @@ description: Wi-Fi network Wi-Fi network -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/notificationSettingsScopeAllChats.md b/docs/TD_docs/constructors/notificationSettingsScopeAllChats.md index c4c1e163..6e953e11 100644 --- a/docs/TD_docs/constructors/notificationSettingsScopeAllChats.md +++ b/docs/TD_docs/constructors/notificationSettingsScopeAllChats.md @@ -9,10 +9,6 @@ description: Notification settings applied to all chats Notification settings applied to all chats -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/notificationSettingsScopeGroupChats.md b/docs/TD_docs/constructors/notificationSettingsScopeGroupChats.md index abf24e0d..acbf3a9b 100644 --- a/docs/TD_docs/constructors/notificationSettingsScopeGroupChats.md +++ b/docs/TD_docs/constructors/notificationSettingsScopeGroupChats.md @@ -9,10 +9,6 @@ description: Notification settings applied to all group and broadcast channel ch Notification settings applied to all group and broadcast channel chats (supergroup channels have no common settings) -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/notificationSettingsScopePrivateChats.md b/docs/TD_docs/constructors/notificationSettingsScopePrivateChats.md index 710712b8..719a7c0e 100644 --- a/docs/TD_docs/constructors/notificationSettingsScopePrivateChats.md +++ b/docs/TD_docs/constructors/notificationSettingsScopePrivateChats.md @@ -9,10 +9,6 @@ description: Notification settings applied to all private chats Notification settings applied to all private chats -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/ok.md b/docs/TD_docs/constructors/ok.md index 4953a67c..ee8bcc74 100644 --- a/docs/TD_docs/constructors/ok.md +++ b/docs/TD_docs/constructors/ok.md @@ -9,10 +9,6 @@ description: Object of this type returns on successful function call for some fu Object of this type returns on successful function call for some functions -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/optionValueEmpty.md b/docs/TD_docs/constructors/optionValueEmpty.md index f0203680..21f3b70d 100644 --- a/docs/TD_docs/constructors/optionValueEmpty.md +++ b/docs/TD_docs/constructors/optionValueEmpty.md @@ -9,10 +9,6 @@ description: Unknown option or option having default value Unknown option or option having default value -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/pageBlockDivider.md b/docs/TD_docs/constructors/pageBlockDivider.md index c3597567..634afb92 100644 --- a/docs/TD_docs/constructors/pageBlockDivider.md +++ b/docs/TD_docs/constructors/pageBlockDivider.md @@ -9,10 +9,6 @@ description: An empty block separating parts of a page An empty block separating parts of a page -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/privacyKeyCall.md b/docs/TD_docs/constructors/privacyKeyCall.md index 0b972d9b..775f6ad6 100644 --- a/docs/TD_docs/constructors/privacyKeyCall.md +++ b/docs/TD_docs/constructors/privacyKeyCall.md @@ -9,10 +9,6 @@ description: Privacy key for managing ability to call the user Privacy key for managing ability to call the user -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/privacyKeyChatInvite.md b/docs/TD_docs/constructors/privacyKeyChatInvite.md index d810f3f4..0a454200 100644 --- a/docs/TD_docs/constructors/privacyKeyChatInvite.md +++ b/docs/TD_docs/constructors/privacyKeyChatInvite.md @@ -9,10 +9,6 @@ description: Privacy key for managing ability of invitation of the user to chats Privacy key for managing ability of invitation of the user to chats -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/privacyKeyUserStatus.md b/docs/TD_docs/constructors/privacyKeyUserStatus.md index 12106810..cea396ec 100644 --- a/docs/TD_docs/constructors/privacyKeyUserStatus.md +++ b/docs/TD_docs/constructors/privacyKeyUserStatus.md @@ -9,10 +9,6 @@ description: Privacy key for managing visibility of the user status Privacy key for managing visibility of the user status -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/privacyRuleAllowAll.md b/docs/TD_docs/constructors/privacyRuleAllowAll.md index 2a2817d0..bb7e1bbe 100644 --- a/docs/TD_docs/constructors/privacyRuleAllowAll.md +++ b/docs/TD_docs/constructors/privacyRuleAllowAll.md @@ -9,10 +9,6 @@ description: Rule to allow all users Rule to allow all users -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/privacyRuleAllowContacts.md b/docs/TD_docs/constructors/privacyRuleAllowContacts.md index d77da41a..fd2fb464 100644 --- a/docs/TD_docs/constructors/privacyRuleAllowContacts.md +++ b/docs/TD_docs/constructors/privacyRuleAllowContacts.md @@ -9,10 +9,6 @@ description: Rule to allow all user contacts Rule to allow all user contacts -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/privacyRuleDisallowAll.md b/docs/TD_docs/constructors/privacyRuleDisallowAll.md index 58a1d9ce..d23a2c20 100644 --- a/docs/TD_docs/constructors/privacyRuleDisallowAll.md +++ b/docs/TD_docs/constructors/privacyRuleDisallowAll.md @@ -9,10 +9,6 @@ description: Rule to disallow all users Rule to disallow all users -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/privacyRuleDisallowContacts.md b/docs/TD_docs/constructors/privacyRuleDisallowContacts.md index a510f8b6..19dc54d4 100644 --- a/docs/TD_docs/constructors/privacyRuleDisallowContacts.md +++ b/docs/TD_docs/constructors/privacyRuleDisallowContacts.md @@ -9,10 +9,6 @@ description: Rule to disallow all user contacts Rule to disallow all user contacts -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/proxyEmpty.md b/docs/TD_docs/constructors/proxyEmpty.md index c479858c..123850d6 100644 --- a/docs/TD_docs/constructors/proxyEmpty.md +++ b/docs/TD_docs/constructors/proxyEmpty.md @@ -9,10 +9,6 @@ description: An empty proxy An empty proxy -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterAnimation.md b/docs/TD_docs/constructors/searchMessagesFilterAnimation.md index a7bf4dd4..b86e51eb 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterAnimation.md +++ b/docs/TD_docs/constructors/searchMessagesFilterAnimation.md @@ -9,10 +9,6 @@ description: Return only animation messages Return only animation messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterAudio.md b/docs/TD_docs/constructors/searchMessagesFilterAudio.md index 71c93594..2773ef80 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterAudio.md +++ b/docs/TD_docs/constructors/searchMessagesFilterAudio.md @@ -9,10 +9,6 @@ description: Return only audio messages Return only audio messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterCall.md b/docs/TD_docs/constructors/searchMessagesFilterCall.md index 0ab39325..2e5fb868 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterCall.md +++ b/docs/TD_docs/constructors/searchMessagesFilterCall.md @@ -9,10 +9,6 @@ description: Return only call messages Return only call messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md b/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md index 8e8aff27..66bf7714 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md +++ b/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md @@ -9,10 +9,6 @@ description: Return only messages containing chat photos Return only messages containing chat photos -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterDocument.md b/docs/TD_docs/constructors/searchMessagesFilterDocument.md index f8d0a0f9..a9fbc325 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterDocument.md +++ b/docs/TD_docs/constructors/searchMessagesFilterDocument.md @@ -9,10 +9,6 @@ description: Return only document messages Return only document messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterEmpty.md b/docs/TD_docs/constructors/searchMessagesFilterEmpty.md index 041bc98b..fb9a845f 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterEmpty.md +++ b/docs/TD_docs/constructors/searchMessagesFilterEmpty.md @@ -9,10 +9,6 @@ description: Return all found messages Return all found messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterMention.md b/docs/TD_docs/constructors/searchMessagesFilterMention.md index 28573896..6daa0f6e 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterMention.md +++ b/docs/TD_docs/constructors/searchMessagesFilterMention.md @@ -9,10 +9,6 @@ description: Return only messages with mentions of current logged in user or whi Return only messages with mentions of current logged in user or which are replies to his messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterMissedCall.md b/docs/TD_docs/constructors/searchMessagesFilterMissedCall.md index 3dc967be..6be3b411 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterMissedCall.md +++ b/docs/TD_docs/constructors/searchMessagesFilterMissedCall.md @@ -9,10 +9,6 @@ description: Return only incoming call messages with missed/declined discard rea Return only incoming call messages with missed/declined discard reason -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterPhoto.md b/docs/TD_docs/constructors/searchMessagesFilterPhoto.md index 5a2985fa..f4b96796 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterPhoto.md +++ b/docs/TD_docs/constructors/searchMessagesFilterPhoto.md @@ -9,10 +9,6 @@ description: Return only photo messages Return only photo messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md b/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md index 6bcdd20a..c27dd2a2 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md +++ b/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md @@ -9,10 +9,6 @@ description: Return only photo and video messages Return only photo and video messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterUnreadMention.md b/docs/TD_docs/constructors/searchMessagesFilterUnreadMention.md index 333a5949..dab09f45 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterUnreadMention.md +++ b/docs/TD_docs/constructors/searchMessagesFilterUnreadMention.md @@ -9,10 +9,6 @@ description: Return only messages with unread mentions of current logged in user Return only messages with unread mentions of current logged in user or which are replies to his messages. When this filter is used result can't be additionally filtered by a query or a sender user -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterUrl.md b/docs/TD_docs/constructors/searchMessagesFilterUrl.md index 13552b2c..8402fdf0 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterUrl.md +++ b/docs/TD_docs/constructors/searchMessagesFilterUrl.md @@ -9,10 +9,6 @@ description: Return only messages containing url Return only messages containing url -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterVideo.md b/docs/TD_docs/constructors/searchMessagesFilterVideo.md index 063a238f..fc4a5300 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterVideo.md +++ b/docs/TD_docs/constructors/searchMessagesFilterVideo.md @@ -9,10 +9,6 @@ description: Return only video messages Return only video messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterVideoNote.md b/docs/TD_docs/constructors/searchMessagesFilterVideoNote.md index 3dda697b..4953620c 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterVideoNote.md +++ b/docs/TD_docs/constructors/searchMessagesFilterVideoNote.md @@ -9,10 +9,6 @@ description: Return only video note messages Return only video note messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterVoice.md b/docs/TD_docs/constructors/searchMessagesFilterVoice.md index 762e418f..d9c41e03 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterVoice.md +++ b/docs/TD_docs/constructors/searchMessagesFilterVoice.md @@ -9,10 +9,6 @@ description: Return only voice messages Return only voice messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/searchMessagesFilterVoiceAndVideoNote.md b/docs/TD_docs/constructors/searchMessagesFilterVoiceAndVideoNote.md index e3491fbe..1ae2d424 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterVoiceAndVideoNote.md +++ b/docs/TD_docs/constructors/searchMessagesFilterVoiceAndVideoNote.md @@ -9,10 +9,6 @@ description: Return only voice and video note messages Return only voice and video note messages -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textEntityTypeBold.md b/docs/TD_docs/constructors/textEntityTypeBold.md index 5193a8a4..da7aa357 100644 --- a/docs/TD_docs/constructors/textEntityTypeBold.md +++ b/docs/TD_docs/constructors/textEntityTypeBold.md @@ -9,10 +9,6 @@ description: Bold text Bold text -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textEntityTypeBotCommand.md b/docs/TD_docs/constructors/textEntityTypeBotCommand.md index c3485ecb..6abfaa93 100644 --- a/docs/TD_docs/constructors/textEntityTypeBotCommand.md +++ b/docs/TD_docs/constructors/textEntityTypeBotCommand.md @@ -9,10 +9,6 @@ description: Bot command beginning with /. It shouldn't be highlighted if there Bot command beginning with /. It shouldn't be highlighted if there is no bots in the chat -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textEntityTypeCode.md b/docs/TD_docs/constructors/textEntityTypeCode.md index 7063dc64..04a2019a 100644 --- a/docs/TD_docs/constructors/textEntityTypeCode.md +++ b/docs/TD_docs/constructors/textEntityTypeCode.md @@ -9,10 +9,6 @@ description: Text needs to be formatted as inside of code HTML tag Text needs to be formatted as inside of code HTML tag -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textEntityTypeEmail.md b/docs/TD_docs/constructors/textEntityTypeEmail.md index 25f0f79e..27df6523 100644 --- a/docs/TD_docs/constructors/textEntityTypeEmail.md +++ b/docs/TD_docs/constructors/textEntityTypeEmail.md @@ -9,10 +9,6 @@ description: Email Email -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textEntityTypeHashtag.md b/docs/TD_docs/constructors/textEntityTypeHashtag.md index d28eabb7..ca90f4d5 100644 --- a/docs/TD_docs/constructors/textEntityTypeHashtag.md +++ b/docs/TD_docs/constructors/textEntityTypeHashtag.md @@ -9,10 +9,6 @@ description: Hashtag beginning with # Hashtag beginning with # -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textEntityTypeItalic.md b/docs/TD_docs/constructors/textEntityTypeItalic.md index 428772ab..8b8151c9 100644 --- a/docs/TD_docs/constructors/textEntityTypeItalic.md +++ b/docs/TD_docs/constructors/textEntityTypeItalic.md @@ -9,10 +9,6 @@ description: Italic text Italic text -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textEntityTypeMention.md b/docs/TD_docs/constructors/textEntityTypeMention.md index 2f6bc8ce..25b6f0d5 100644 --- a/docs/TD_docs/constructors/textEntityTypeMention.md +++ b/docs/TD_docs/constructors/textEntityTypeMention.md @@ -9,10 +9,6 @@ description: Mention of the user by his username Mention of the user by his username -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textEntityTypePre.md b/docs/TD_docs/constructors/textEntityTypePre.md index 21c53b0f..849ba35c 100644 --- a/docs/TD_docs/constructors/textEntityTypePre.md +++ b/docs/TD_docs/constructors/textEntityTypePre.md @@ -9,10 +9,6 @@ description: Text needs to be formatted as inside of pre HTML tag Text needs to be formatted as inside of pre HTML tag -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textEntityTypeUrl.md b/docs/TD_docs/constructors/textEntityTypeUrl.md index cdc67e52..5dd524a2 100644 --- a/docs/TD_docs/constructors/textEntityTypeUrl.md +++ b/docs/TD_docs/constructors/textEntityTypeUrl.md @@ -9,10 +9,6 @@ description: Url beginning with http Url beginning with http -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textParseModeHTML.md b/docs/TD_docs/constructors/textParseModeHTML.md index 5881c0db..80b3e8b6 100644 --- a/docs/TD_docs/constructors/textParseModeHTML.md +++ b/docs/TD_docs/constructors/textParseModeHTML.md @@ -9,10 +9,6 @@ description: Text should be parsed in the HTML-style way Text should be parsed in the HTML-style way -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/textParseModeMarkdown.md b/docs/TD_docs/constructors/textParseModeMarkdown.md index 7a7b13d9..5889b272 100644 --- a/docs/TD_docs/constructors/textParseModeMarkdown.md +++ b/docs/TD_docs/constructors/textParseModeMarkdown.md @@ -9,10 +9,6 @@ description: Text should be parsed in markdown-style way Text should be parsed in markdown-style way -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/topChatCategoryBots.md b/docs/TD_docs/constructors/topChatCategoryBots.md index a7f83f85..2ef17aee 100644 --- a/docs/TD_docs/constructors/topChatCategoryBots.md +++ b/docs/TD_docs/constructors/topChatCategoryBots.md @@ -9,10 +9,6 @@ description: The category containing private chats with bot users The category containing private chats with bot users -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/topChatCategoryCalls.md b/docs/TD_docs/constructors/topChatCategoryCalls.md index 7fe6f31e..98b385a4 100644 --- a/docs/TD_docs/constructors/topChatCategoryCalls.md +++ b/docs/TD_docs/constructors/topChatCategoryCalls.md @@ -9,10 +9,6 @@ description: The category containing chats frequently used for calls The category containing chats frequently used for calls -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/topChatCategoryChannels.md b/docs/TD_docs/constructors/topChatCategoryChannels.md index 00cd8679..96894e62 100644 --- a/docs/TD_docs/constructors/topChatCategoryChannels.md +++ b/docs/TD_docs/constructors/topChatCategoryChannels.md @@ -9,10 +9,6 @@ description: The category containing broadcast channel chats The category containing broadcast channel chats -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/topChatCategoryGroups.md b/docs/TD_docs/constructors/topChatCategoryGroups.md index 974c0ee6..7e4357e1 100644 --- a/docs/TD_docs/constructors/topChatCategoryGroups.md +++ b/docs/TD_docs/constructors/topChatCategoryGroups.md @@ -9,10 +9,6 @@ description: The category containing group chats and supergroup channel chats The category containing group chats and supergroup channel chats -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/topChatCategoryInlineBots.md b/docs/TD_docs/constructors/topChatCategoryInlineBots.md index 1d742d3f..73b76ce6 100644 --- a/docs/TD_docs/constructors/topChatCategoryInlineBots.md +++ b/docs/TD_docs/constructors/topChatCategoryInlineBots.md @@ -9,10 +9,6 @@ description: The category containing chats with inline bots sorted by their usag The category containing chats with inline bots sorted by their usage in the inline mode -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/topChatCategoryUsers.md b/docs/TD_docs/constructors/topChatCategoryUsers.md index 885735c1..743a1afb 100644 --- a/docs/TD_docs/constructors/topChatCategoryUsers.md +++ b/docs/TD_docs/constructors/topChatCategoryUsers.md @@ -9,10 +9,6 @@ description: The category containing private chats with non-bot users The category containing private chats with non-bot users -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/userStatusEmpty.md b/docs/TD_docs/constructors/userStatusEmpty.md index 1f88cd61..1d67db2e 100644 --- a/docs/TD_docs/constructors/userStatusEmpty.md +++ b/docs/TD_docs/constructors/userStatusEmpty.md @@ -9,10 +9,6 @@ description: User status was newer changed User status was newer changed -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/userStatusLastMonth.md b/docs/TD_docs/constructors/userStatusLastMonth.md index 9b6ded37..9b545c64 100644 --- a/docs/TD_docs/constructors/userStatusLastMonth.md +++ b/docs/TD_docs/constructors/userStatusLastMonth.md @@ -9,10 +9,6 @@ description: User is offline, but was online last month User is offline, but was online last month -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/userStatusLastWeek.md b/docs/TD_docs/constructors/userStatusLastWeek.md index fd70953d..01ca600f 100644 --- a/docs/TD_docs/constructors/userStatusLastWeek.md +++ b/docs/TD_docs/constructors/userStatusLastWeek.md @@ -9,10 +9,6 @@ description: User is offline, but was online last week User is offline, but was online last week -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/userStatusRecently.md b/docs/TD_docs/constructors/userStatusRecently.md index a1ef0e9d..eb1ba3e3 100644 --- a/docs/TD_docs/constructors/userStatusRecently.md +++ b/docs/TD_docs/constructors/userStatusRecently.md @@ -9,10 +9,6 @@ description: User was online recently User was online recently -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/userTypeDeleted.md b/docs/TD_docs/constructors/userTypeDeleted.md index d02a4f5e..e9ff1ed6 100644 --- a/docs/TD_docs/constructors/userTypeDeleted.md +++ b/docs/TD_docs/constructors/userTypeDeleted.md @@ -9,10 +9,6 @@ description: Deleted user or deleted bot. There is no any information about it e Deleted user or deleted bot. There is no any information about it except user_id. None of active action can be performed with deleted user -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/userTypeGeneral.md b/docs/TD_docs/constructors/userTypeGeneral.md index d3493b20..b37a41df 100644 --- a/docs/TD_docs/constructors/userTypeGeneral.md +++ b/docs/TD_docs/constructors/userTypeGeneral.md @@ -9,10 +9,6 @@ description: General user General user -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/constructors/userTypeUnknown.md b/docs/TD_docs/constructors/userTypeUnknown.md index b3942cd9..add060b7 100644 --- a/docs/TD_docs/constructors/userTypeUnknown.md +++ b/docs/TD_docs/constructors/userTypeUnknown.md @@ -9,10 +9,6 @@ description: Currently there is no any information about the user except user_id Currently there is no any information about the user except user_id. It can happens very-very rarely. None of active action can be performed with unknown user -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| diff --git a/docs/TD_docs/methods/deleteImportedContacts.md b/docs/TD_docs/methods/deleteImportedContacts.md index e351205e..73283300 100644 --- a/docs/TD_docs/methods/deleteImportedContacts.md +++ b/docs/TD_docs/methods/deleteImportedContacts.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Deletes all imported contacts -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Ok](../types/Ok.md) diff --git a/docs/TD_docs/methods/deleteRecentlyFoundChats.md b/docs/TD_docs/methods/deleteRecentlyFoundChats.md index c6126ba0..485f8a34 100644 --- a/docs/TD_docs/methods/deleteRecentlyFoundChats.md +++ b/docs/TD_docs/methods/deleteRecentlyFoundChats.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Clears list of recently found chats -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Ok](../types/Ok.md) diff --git a/docs/TD_docs/methods/deleteSavedCredentials.md b/docs/TD_docs/methods/deleteSavedCredentials.md index fd1dfa4b..c68e7fd5 100644 --- a/docs/TD_docs/methods/deleteSavedCredentials.md +++ b/docs/TD_docs/methods/deleteSavedCredentials.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Deletes saved credentials for all payments provider bots -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Ok](../types/Ok.md) diff --git a/docs/TD_docs/methods/deleteSavedOrderInfo.md b/docs/TD_docs/methods/deleteSavedOrderInfo.md index 4ee8cbc3..2f84f10e 100644 --- a/docs/TD_docs/methods/deleteSavedOrderInfo.md +++ b/docs/TD_docs/methods/deleteSavedOrderInfo.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Deletes saved order info -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Ok](../types/Ok.md) diff --git a/docs/TD_docs/methods/getAccountTtl.md b/docs/TD_docs/methods/getAccountTtl.md index 95a53962..17fe86fa 100644 --- a/docs/TD_docs/methods/getAccountTtl.md +++ b/docs/TD_docs/methods/getAccountTtl.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns period of inactivity, after which the account of currently logged in user will be automatically deleted -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountTtl](../types/AccountTtl.md) diff --git a/docs/TD_docs/methods/getActiveSessions.md b/docs/TD_docs/methods/getActiveSessions.md index 856fd054..574f3dc6 100644 --- a/docs/TD_docs/methods/getActiveSessions.md +++ b/docs/TD_docs/methods/getActiveSessions.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns all active sessions of logged in user -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Sessions](../types/Sessions.md) diff --git a/docs/TD_docs/methods/getAuthState.md b/docs/TD_docs/methods/getAuthState.md index 41e964af..8ad443e6 100644 --- a/docs/TD_docs/methods/getAuthState.md +++ b/docs/TD_docs/methods/getAuthState.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns current authorization state, offline request -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AuthState](../types/AuthState.md) diff --git a/docs/TD_docs/methods/getCreatedPublicChats.md b/docs/TD_docs/methods/getCreatedPublicChats.md index 6d127be5..1d289b38 100644 --- a/docs/TD_docs/methods/getCreatedPublicChats.md +++ b/docs/TD_docs/methods/getCreatedPublicChats.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns list of created public chats -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Chats](../types/Chats.md) diff --git a/docs/TD_docs/methods/getFavoriteStickers.md b/docs/TD_docs/methods/getFavoriteStickers.md index 57f5eadb..7f2e6c72 100644 --- a/docs/TD_docs/methods/getFavoriteStickers.md +++ b/docs/TD_docs/methods/getFavoriteStickers.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns favorite stickers -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Stickers](../types/Stickers.md) diff --git a/docs/TD_docs/methods/getImportedContactCount.md b/docs/TD_docs/methods/getImportedContactCount.md index d82b0b1e..40b52d74 100644 --- a/docs/TD_docs/methods/getImportedContactCount.md +++ b/docs/TD_docs/methods/getImportedContactCount.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns total number of imported contacts -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Count](../types/Count.md) diff --git a/docs/TD_docs/methods/getInviteText.md b/docs/TD_docs/methods/getInviteText.md index e49f84dc..dcb194b7 100644 --- a/docs/TD_docs/methods/getInviteText.md +++ b/docs/TD_docs/methods/getInviteText.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns invite text for invitation of new users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Text](../types/Text.md) diff --git a/docs/TD_docs/methods/getMe.md b/docs/TD_docs/methods/getMe.md index 136d9ce2..9b0333ae 100644 --- a/docs/TD_docs/methods/getMe.md +++ b/docs/TD_docs/methods/getMe.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns current logged in user -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [User](../types/User.md) diff --git a/docs/TD_docs/methods/getPasswordState.md b/docs/TD_docs/methods/getPasswordState.md index ab4da3fa..276ed532 100644 --- a/docs/TD_docs/methods/getPasswordState.md +++ b/docs/TD_docs/methods/getPasswordState.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns current state of two-step verification -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [PasswordState](../types/PasswordState.md) diff --git a/docs/TD_docs/methods/getProxy.md b/docs/TD_docs/methods/getProxy.md index 5532bb77..0736c877 100644 --- a/docs/TD_docs/methods/getProxy.md +++ b/docs/TD_docs/methods/getProxy.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns current set up proxy. Can be called before authorization -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Proxy](../types/Proxy.md) diff --git a/docs/TD_docs/methods/getRecentInlineBots.md b/docs/TD_docs/methods/getRecentInlineBots.md index c42c3594..5c1b1647 100644 --- a/docs/TD_docs/methods/getRecentInlineBots.md +++ b/docs/TD_docs/methods/getRecentInlineBots.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns up to 20 recently used inline bots in the order of the last usage -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Users](../types/Users.md) diff --git a/docs/TD_docs/methods/getSavedAnimations.md b/docs/TD_docs/methods/getSavedAnimations.md index 3e01e420..075213ca 100644 --- a/docs/TD_docs/methods/getSavedAnimations.md +++ b/docs/TD_docs/methods/getSavedAnimations.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns saved animations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Animations](../types/Animations.md) diff --git a/docs/TD_docs/methods/getSavedOrderInfo.md b/docs/TD_docs/methods/getSavedOrderInfo.md index adbe5109..014d4624 100644 --- a/docs/TD_docs/methods/getSavedOrderInfo.md +++ b/docs/TD_docs/methods/getSavedOrderInfo.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns saved order info if any -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [OrderInfo](../types/OrderInfo.md) diff --git a/docs/TD_docs/methods/getStorageStatisticsFast.md b/docs/TD_docs/methods/getStorageStatisticsFast.md index d8f4acc0..15a0929a 100644 --- a/docs/TD_docs/methods/getStorageStatisticsFast.md +++ b/docs/TD_docs/methods/getStorageStatisticsFast.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Quickly returns approximate storage usage statistics -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [StorageStatisticsFast](../types/StorageStatisticsFast.md) diff --git a/docs/TD_docs/methods/getSupportUser.md b/docs/TD_docs/methods/getSupportUser.md index 6a586718..d1a55dff 100644 --- a/docs/TD_docs/methods/getSupportUser.md +++ b/docs/TD_docs/methods/getSupportUser.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns user that can be contacted to get support -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [User](../types/User.md) diff --git a/docs/TD_docs/methods/getTemporaryPasswordState.md b/docs/TD_docs/methods/getTemporaryPasswordState.md index 021c427a..291e0fa7 100644 --- a/docs/TD_docs/methods/getTemporaryPasswordState.md +++ b/docs/TD_docs/methods/getTemporaryPasswordState.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns information about current temporary password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [TemporaryPasswordState](../types/TemporaryPasswordState.md) diff --git a/docs/TD_docs/methods/getTermsOfService.md b/docs/TD_docs/methods/getTermsOfService.md index 8eaf0992..84d56cea 100644 --- a/docs/TD_docs/methods/getTermsOfService.md +++ b/docs/TD_docs/methods/getTermsOfService.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns terms of service. Can be called before authorization -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Text](../types/Text.md) diff --git a/docs/TD_docs/methods/getTrendingStickerSets.md b/docs/TD_docs/methods/getTrendingStickerSets.md index 224b4b68..ec00cac2 100644 --- a/docs/TD_docs/methods/getTrendingStickerSets.md +++ b/docs/TD_docs/methods/getTrendingStickerSets.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns list of trending sticker sets -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [StickerSets](../types/StickerSets.md) diff --git a/docs/TD_docs/methods/getWallpapers.md b/docs/TD_docs/methods/getWallpapers.md index ba0bd714..ea41f3cd 100644 --- a/docs/TD_docs/methods/getWallpapers.md +++ b/docs/TD_docs/methods/getWallpapers.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns background wallpapers -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Wallpapers](../types/Wallpapers.md) diff --git a/docs/TD_docs/methods/requestAuthPasswordRecovery.md b/docs/TD_docs/methods/requestAuthPasswordRecovery.md index 5f3f79d3..0ee9bdf1 100644 --- a/docs/TD_docs/methods/requestAuthPasswordRecovery.md +++ b/docs/TD_docs/methods/requestAuthPasswordRecovery.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Requests to send password recovery code to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateWaitPassword on success -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AuthState](../types/AuthState.md) diff --git a/docs/TD_docs/methods/requestPasswordRecovery.md b/docs/TD_docs/methods/requestPasswordRecovery.md index e2776c47..c9ec36d7 100644 --- a/docs/TD_docs/methods/requestPasswordRecovery.md +++ b/docs/TD_docs/methods/requestPasswordRecovery.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Requests to send password recovery code to email -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [PasswordRecoveryInfo](../types/PasswordRecoveryInfo.md) diff --git a/docs/TD_docs/methods/resendAuthCode.md b/docs/TD_docs/methods/resendAuthCode.md index 1f135ee4..79b46f4d 100644 --- a/docs/TD_docs/methods/resendAuthCode.md +++ b/docs/TD_docs/methods/resendAuthCode.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Resends authentication code to the user. Works only when getAuthState returns authStateWaitCode and next_code_type of result is not null. Returns authStateWaitCode on success -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AuthState](../types/AuthState.md) diff --git a/docs/TD_docs/methods/resendChangePhoneNumberCode.md b/docs/TD_docs/methods/resendChangePhoneNumberCode.md index 5504d368..3e3cbdbf 100644 --- a/docs/TD_docs/methods/resendChangePhoneNumberCode.md +++ b/docs/TD_docs/methods/resendChangePhoneNumberCode.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Resends authentication code sent to change user's phone number. Wotks only if in previously received authStateWaitCode next_code_type was not null. Returns authStateWaitCode on success -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AuthState](../types/AuthState.md) diff --git a/docs/TD_docs/methods/resetAllNotificationSettings.md b/docs/TD_docs/methods/resetAllNotificationSettings.md index 8f0d7c16..9b53950b 100644 --- a/docs/TD_docs/methods/resetAllNotificationSettings.md +++ b/docs/TD_docs/methods/resetAllNotificationSettings.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Resets all notification settings to the default value. By default the only muted chats are supergroups, sound is set to 'default' and message previews are showed -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Ok](../types/Ok.md) diff --git a/docs/TD_docs/methods/resetNetworkStatistics.md b/docs/TD_docs/methods/resetNetworkStatistics.md index 0ab29b58..d7660839 100644 --- a/docs/TD_docs/methods/resetNetworkStatistics.md +++ b/docs/TD_docs/methods/resetNetworkStatistics.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Resets all network data usage statistics to zero. Can be called before authorization -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Ok](../types/Ok.md) diff --git a/docs/TD_docs/methods/terminateAllOtherSessions.md b/docs/TD_docs/methods/terminateAllOtherSessions.md index 45978e83..50b5bf54 100644 --- a/docs/TD_docs/methods/terminateAllOtherSessions.md +++ b/docs/TD_docs/methods/terminateAllOtherSessions.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Terminates all other sessions of logged in user -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Ok](../types/Ok.md) diff --git a/docs/TD_docs/methods/testCallEmpty.md b/docs/TD_docs/methods/testCallEmpty.md index 821acf81..0ad761e7 100644 --- a/docs/TD_docs/methods/testCallEmpty.md +++ b/docs/TD_docs/methods/testCallEmpty.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Test request. Does nothing -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Ok](../types/Ok.md) diff --git a/docs/TD_docs/methods/testGetDifference.md b/docs/TD_docs/methods/testGetDifference.md index 8ae080ba..78412e40 100644 --- a/docs/TD_docs/methods/testGetDifference.md +++ b/docs/TD_docs/methods/testGetDifference.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Test request. Forces updates.getDifference call to telegram servers -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Ok](../types/Ok.md) diff --git a/docs/TD_docs/methods/testNetwork.md b/docs/TD_docs/methods/testNetwork.md index f80b51e4..a358ee7f 100644 --- a/docs/TD_docs/methods/testNetwork.md +++ b/docs/TD_docs/methods/testNetwork.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Test request. Sends simple network request to telegram servers -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Ok](../types/Ok.md) diff --git a/docs/TD_docs/methods/testUseError.md b/docs/TD_docs/methods/testUseError.md index 8682c30c..a8314e1e 100644 --- a/docs/TD_docs/methods/testUseError.md +++ b/docs/TD_docs/methods/testUseError.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Test request. Does nothing, ensures that the Error object is used -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Error](../types/Error.md) diff --git a/docs/TD_docs/methods/testUseUpdate.md b/docs/TD_docs/methods/testUseUpdate.md index ff06c6a3..9251d75d 100644 --- a/docs/TD_docs/methods/testUseUpdate.md +++ b/docs/TD_docs/methods/testUseUpdate.md @@ -11,10 +11,6 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO Test request. Does nothing, ensures that the Update object is used -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Update](../types/Update.md) diff --git a/docs/index.md b/docs/index.md index ca309d1f..85f85746 100644 --- a/docs/index.md +++ b/docs/index.md @@ -46,7 +46,7 @@ echo 'OK, done!'.PHP_EOL; Run this code in a browser or in a console. -Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgroup) the error message and the `Madeline.log` file that was created in the same directory (if running from a browser). +Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgroup) the error message and the `MadelineProto.log` file that was created in the same directory (if running from a browser). ## Documentation diff --git a/old_docs/API_docs_v18/methods/account_getWallPapers.md b/old_docs/API_docs_v18/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v18/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v18/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v18/methods/contacts_exportCard.md b/old_docs/API_docs_v18/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v18/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v18/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v18/methods/contacts_getStatuses.md b/old_docs/API_docs_v18/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v18/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v18/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v23/methods/account_getAccountTTL.md b/old_docs/API_docs_v23/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v23/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v23/methods/account_getWallPapers.md b/old_docs/API_docs_v23/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v23/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v23/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v23/methods/contacts_exportCard.md b/old_docs/API_docs_v23/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v23/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v23/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v23/methods/contacts_getStatuses.md b/old_docs/API_docs_v23/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v23/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v23/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v25/methods/account_getAccountTTL.md b/old_docs/API_docs_v25/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v25/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v25/methods/account_getPassword.md b/old_docs/API_docs_v25/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v25/methods/account_getPassword.md +++ b/old_docs/API_docs_v25/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v25/methods/account_getWallPapers.md b/old_docs/API_docs_v25/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v25/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v25/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v25/methods/contacts_exportCard.md b/old_docs/API_docs_v25/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v25/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v25/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v25/methods/contacts_getStatuses.md b/old_docs/API_docs_v25/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v25/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v25/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v27/methods/account_getAccountTTL.md b/old_docs/API_docs_v27/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v27/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v27/methods/account_getAuthorizations.md b/old_docs/API_docs_v27/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v27/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v27/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v27/methods/account_getPassword.md b/old_docs/API_docs_v27/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v27/methods/account_getPassword.md +++ b/old_docs/API_docs_v27/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v27/methods/account_getWallPapers.md b/old_docs/API_docs_v27/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v27/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v27/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v27/methods/contacts_exportCard.md b/old_docs/API_docs_v27/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v27/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v27/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v27/methods/contacts_getStatuses.md b/old_docs/API_docs_v27/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v27/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v27/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v33/methods/account_getAccountTTL.md b/old_docs/API_docs_v33/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v33/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v33/methods/account_getAuthorizations.md b/old_docs/API_docs_v33/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v33/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v33/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v33/methods/account_getPassword.md b/old_docs/API_docs_v33/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v33/methods/account_getPassword.md +++ b/old_docs/API_docs_v33/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v33/methods/account_getWallPapers.md b/old_docs/API_docs_v33/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v33/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v33/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v33/methods/contacts_exportCard.md b/old_docs/API_docs_v33/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v33/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v33/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v33/methods/contacts_getStatuses.md b/old_docs/API_docs_v33/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v33/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v33/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v38/methods/account_getAccountTTL.md b/old_docs/API_docs_v38/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v38/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v38/methods/account_getAuthorizations.md b/old_docs/API_docs_v38/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v38/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v38/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v38/methods/account_getPassword.md b/old_docs/API_docs_v38/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v38/methods/account_getPassword.md +++ b/old_docs/API_docs_v38/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v38/methods/account_getWallPapers.md b/old_docs/API_docs_v38/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v38/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v38/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v38/methods/contacts_exportCard.md b/old_docs/API_docs_v38/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v38/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v38/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v38/methods/contacts_getStatuses.md b/old_docs/API_docs_v38/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v38/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v38/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v40/methods/account_getAccountTTL.md b/old_docs/API_docs_v40/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v40/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v40/methods/account_getAuthorizations.md b/old_docs/API_docs_v40/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v40/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v40/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v40/methods/account_getPassword.md b/old_docs/API_docs_v40/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v40/methods/account_getPassword.md +++ b/old_docs/API_docs_v40/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v40/methods/account_getWallPapers.md b/old_docs/API_docs_v40/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v40/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v40/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v40/methods/contacts_exportCard.md b/old_docs/API_docs_v40/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v40/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v40/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v40/methods/contacts_getStatuses.md b/old_docs/API_docs_v40/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v40/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v40/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v41/methods/account_getAccountTTL.md b/old_docs/API_docs_v41/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v41/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v41/methods/account_getAuthorizations.md b/old_docs/API_docs_v41/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v41/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v41/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v41/methods/account_getPassword.md b/old_docs/API_docs_v41/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v41/methods/account_getPassword.md +++ b/old_docs/API_docs_v41/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v41/methods/account_getWallPapers.md b/old_docs/API_docs_v41/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v41/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v41/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v41/methods/contacts_exportCard.md b/old_docs/API_docs_v41/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v41/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v41/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v41/methods/contacts_getStatuses.md b/old_docs/API_docs_v41/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v41/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v41/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v42/methods/account_getAccountTTL.md b/old_docs/API_docs_v42/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v42/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v42/methods/account_getAuthorizations.md b/old_docs/API_docs_v42/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v42/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v42/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v42/methods/account_getPassword.md b/old_docs/API_docs_v42/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v42/methods/account_getPassword.md +++ b/old_docs/API_docs_v42/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v42/methods/account_getWallPapers.md b/old_docs/API_docs_v42/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v42/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v42/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v42/methods/contacts_exportCard.md b/old_docs/API_docs_v42/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v42/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v42/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v42/methods/contacts_getStatuses.md b/old_docs/API_docs_v42/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v42/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v42/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v44/methods/account_getAccountTTL.md b/old_docs/API_docs_v44/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v44/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v44/methods/account_getAuthorizations.md b/old_docs/API_docs_v44/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v44/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v44/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v44/methods/account_getPassword.md b/old_docs/API_docs_v44/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v44/methods/account_getPassword.md +++ b/old_docs/API_docs_v44/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v44/methods/account_getWallPapers.md b/old_docs/API_docs_v44/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v44/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v44/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v44/methods/contacts_exportCard.md b/old_docs/API_docs_v44/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v44/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v44/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v44/methods/contacts_getStatuses.md b/old_docs/API_docs_v44/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v44/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v44/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v45/methods/account_getAccountTTL.md b/old_docs/API_docs_v45/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v45/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v45/methods/account_getAuthorizations.md b/old_docs/API_docs_v45/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v45/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v45/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v45/methods/account_getPassword.md b/old_docs/API_docs_v45/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v45/methods/account_getPassword.md +++ b/old_docs/API_docs_v45/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v45/methods/account_getWallPapers.md b/old_docs/API_docs_v45/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v45/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v45/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v45/methods/contacts_exportCard.md b/old_docs/API_docs_v45/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v45/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v45/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v45/methods/contacts_getStatuses.md b/old_docs/API_docs_v45/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v45/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v45/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v46/methods/account_getAccountTTL.md b/old_docs/API_docs_v46/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v46/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v46/methods/account_getAuthorizations.md b/old_docs/API_docs_v46/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v46/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v46/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v46/methods/account_getPassword.md b/old_docs/API_docs_v46/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v46/methods/account_getPassword.md +++ b/old_docs/API_docs_v46/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v46/methods/account_getWallPapers.md b/old_docs/API_docs_v46/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v46/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v46/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v46/methods/contacts_exportCard.md b/old_docs/API_docs_v46/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v46/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v46/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v46/methods/contacts_getStatuses.md b/old_docs/API_docs_v46/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v46/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v46/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v51/methods/account_getAccountTTL.md b/old_docs/API_docs_v51/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v51/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v51/methods/account_getAuthorizations.md b/old_docs/API_docs_v51/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v51/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v51/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v51/methods/account_getPassword.md b/old_docs/API_docs_v51/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v51/methods/account_getPassword.md +++ b/old_docs/API_docs_v51/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v51/methods/account_getWallPapers.md b/old_docs/API_docs_v51/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v51/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v51/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v51/methods/contacts_exportCard.md b/old_docs/API_docs_v51/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v51/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v51/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v51/methods/contacts_getStatuses.md b/old_docs/API_docs_v51/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v51/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v51/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v53/methods/account_getAccountTTL.md b/old_docs/API_docs_v53/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v53/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v53/methods/account_getAuthorizations.md b/old_docs/API_docs_v53/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v53/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v53/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v53/methods/account_getPassword.md b/old_docs/API_docs_v53/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v53/methods/account_getPassword.md +++ b/old_docs/API_docs_v53/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v53/methods/account_getWallPapers.md b/old_docs/API_docs_v53/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v53/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v53/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v53/methods/contacts_exportCard.md b/old_docs/API_docs_v53/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v53/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v53/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v53/methods/contacts_getStatuses.md b/old_docs/API_docs_v53/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v53/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v53/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v55/methods/account_getAccountTTL.md b/old_docs/API_docs_v55/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v55/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v55/methods/account_getAuthorizations.md b/old_docs/API_docs_v55/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v55/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v55/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v55/methods/account_getPassword.md b/old_docs/API_docs_v55/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v55/methods/account_getPassword.md +++ b/old_docs/API_docs_v55/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v55/methods/account_getWallPapers.md b/old_docs/API_docs_v55/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v55/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v55/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v55/methods/contacts_exportCard.md b/old_docs/API_docs_v55/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v55/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v55/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v55/methods/contacts_getStatuses.md b/old_docs/API_docs_v55/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v55/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v55/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v57/methods/account_getAccountTTL.md b/old_docs/API_docs_v57/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v57/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v57/methods/account_getAuthorizations.md b/old_docs/API_docs_v57/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v57/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v57/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v57/methods/account_getPassword.md b/old_docs/API_docs_v57/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v57/methods/account_getPassword.md +++ b/old_docs/API_docs_v57/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v57/methods/account_getWallPapers.md b/old_docs/API_docs_v57/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v57/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v57/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v57/methods/contacts_exportCard.md b/old_docs/API_docs_v57/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v57/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v57/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v57/methods/contacts_getStatuses.md b/old_docs/API_docs_v57/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v57/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v57/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v62/methods/account_getAccountTTL.md b/old_docs/API_docs_v62/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v62/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v62/methods/account_getAuthorizations.md b/old_docs/API_docs_v62/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v62/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v62/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v62/methods/account_getPassword.md b/old_docs/API_docs_v62/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v62/methods/account_getPassword.md +++ b/old_docs/API_docs_v62/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v62/methods/account_getWallPapers.md b/old_docs/API_docs_v62/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v62/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v62/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v62/methods/contacts_exportCard.md b/old_docs/API_docs_v62/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v62/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v62/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v62/methods/contacts_getStatuses.md b/old_docs/API_docs_v62/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v62/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v62/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v65/methods/account_getAccountTTL.md b/old_docs/API_docs_v65/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v65/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v65/methods/account_getAuthorizations.md b/old_docs/API_docs_v65/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v65/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v65/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v65/methods/account_getPassword.md b/old_docs/API_docs_v65/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v65/methods/account_getPassword.md +++ b/old_docs/API_docs_v65/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v65/methods/account_getWallPapers.md b/old_docs/API_docs_v65/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v65/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v65/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v65/methods/contacts_exportCard.md b/old_docs/API_docs_v65/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v65/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v65/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v65/methods/contacts_getStatuses.md b/old_docs/API_docs_v65/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v65/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v65/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v66/methods/account_getAccountTTL.md b/old_docs/API_docs_v66/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v66/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v66/methods/account_getAuthorizations.md b/old_docs/API_docs_v66/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v66/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v66/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v66/methods/account_getPassword.md b/old_docs/API_docs_v66/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v66/methods/account_getPassword.md +++ b/old_docs/API_docs_v66/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v66/methods/account_getPasswordSettings.md b/old_docs/API_docs_v66/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v66/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v66/methods/account_getWallPapers.md b/old_docs/API_docs_v66/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v66/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v66/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v66/methods/contacts_exportCard.md b/old_docs/API_docs_v66/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v66/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v66/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v66/methods/contacts_getStatuses.md b/old_docs/API_docs_v66/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v66/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v66/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v68/methods/account_getAccountTTL.md b/old_docs/API_docs_v68/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v68/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v68/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v68/methods/account_getAuthorizations.md b/old_docs/API_docs_v68/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v68/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v68/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v68/methods/account_getPassword.md b/old_docs/API_docs_v68/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v68/methods/account_getPassword.md +++ b/old_docs/API_docs_v68/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v68/methods/account_getPasswordSettings.md b/old_docs/API_docs_v68/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v68/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v68/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v68/methods/account_getWallPapers.md b/old_docs/API_docs_v68/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v68/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v68/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v68/methods/account_resetNotifySettings.md b/old_docs/API_docs_v68/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v68/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v68/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v68/methods/contacts_exportCard.md b/old_docs/API_docs_v68/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v68/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v68/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v68/methods/contacts_getStatuses.md b/old_docs/API_docs_v68/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v68/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v68/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v70/methods/account_getAccountTTL.md b/old_docs/API_docs_v70/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v70/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v70/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v70/methods/account_getAuthorizations.md b/old_docs/API_docs_v70/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v70/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v70/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v70/methods/account_getPassword.md b/old_docs/API_docs_v70/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v70/methods/account_getPassword.md +++ b/old_docs/API_docs_v70/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v70/methods/account_getPasswordSettings.md b/old_docs/API_docs_v70/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v70/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v70/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v70/methods/account_getWallPapers.md b/old_docs/API_docs_v70/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v70/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v70/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v70/methods/account_resetNotifySettings.md b/old_docs/API_docs_v70/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v70/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v70/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v70/methods/contacts_exportCard.md b/old_docs/API_docs_v70/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v70/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v70/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v70/methods/contacts_getStatuses.md b/old_docs/API_docs_v70/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v70/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v70/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v71/methods/account_getAccountTTL.md b/old_docs/API_docs_v71/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v71/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v71/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v71/methods/account_getAuthorizations.md b/old_docs/API_docs_v71/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v71/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v71/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v71/methods/account_getPassword.md b/old_docs/API_docs_v71/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v71/methods/account_getPassword.md +++ b/old_docs/API_docs_v71/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v71/methods/account_getPasswordSettings.md b/old_docs/API_docs_v71/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v71/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v71/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v71/methods/account_getWallPapers.md b/old_docs/API_docs_v71/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v71/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v71/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v71/methods/account_resetNotifySettings.md b/old_docs/API_docs_v71/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v71/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v71/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v71/methods/contacts_exportCard.md b/old_docs/API_docs_v71/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v71/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v71/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v71/methods/contacts_getContacts.md b/old_docs/API_docs_v71/methods/contacts_getContacts.md index 32877d62..6ccb9545 100644 --- a/old_docs/API_docs_v71/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v71/methods/contacts_getContacts.md @@ -12,7 +12,7 @@ Get info about a certain contact | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|hash|[CLICK ME int](../types/int.md) | Yes|$ids is the list ids of previously fetched contacts, $hash = $MadelineProto->gen_vector_hash($ids);| +|hash|[CLICK ME int](../types/int.md) | Yes|$ids is the list ids of previously fetched contacts, `$hash = $MadelineProto->gen_vector_hash($ids);`| ### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) diff --git a/old_docs/API_docs_v71/methods/contacts_getStatuses.md b/old_docs/API_docs_v71/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v71/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v71/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v72/methods/account_getAccountTTL.md b/old_docs/API_docs_v72/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v72/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v72/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v72/methods/account_getAuthorizations.md b/old_docs/API_docs_v72/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v72/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v72/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v72/methods/account_getPassword.md b/old_docs/API_docs_v72/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v72/methods/account_getPassword.md +++ b/old_docs/API_docs_v72/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v72/methods/account_getPasswordSettings.md b/old_docs/API_docs_v72/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v72/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v72/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v72/methods/account_getWallPapers.md b/old_docs/API_docs_v72/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v72/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v72/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v72/methods/account_resetNotifySettings.md b/old_docs/API_docs_v72/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v72/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v72/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v72/methods/contacts_exportCard.md b/old_docs/API_docs_v72/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v72/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v72/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v72/methods/contacts_getContacts.md b/old_docs/API_docs_v72/methods/contacts_getContacts.md index 32877d62..6ccb9545 100644 --- a/old_docs/API_docs_v72/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v72/methods/contacts_getContacts.md @@ -12,7 +12,7 @@ Get info about a certain contact | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|hash|[CLICK ME int](../types/int.md) | Yes|$ids is the list ids of previously fetched contacts, $hash = $MadelineProto->gen_vector_hash($ids);| +|hash|[CLICK ME int](../types/int.md) | Yes|$ids is the list ids of previously fetched contacts, `$hash = $MadelineProto->gen_vector_hash($ids);`| ### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) diff --git a/old_docs/API_docs_v72/methods/contacts_getStatuses.md b/old_docs/API_docs_v72/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v72/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v72/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/old_docs/API_docs_v73/methods/account_getAccountTTL.md b/old_docs/API_docs_v73/methods/account_getAccountTTL.md index d06af3be..dbf76d9e 100644 --- a/old_docs/API_docs_v73/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v73/methods/account_getAccountTTL.md @@ -8,10 +8,6 @@ description: Get account TTL Get account TTL -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) diff --git a/old_docs/API_docs_v73/methods/account_getAuthorizations.md b/old_docs/API_docs_v73/methods/account_getAuthorizations.md index a5376f80..413e4607 100644 --- a/old_docs/API_docs_v73/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v73/methods/account_getAuthorizations.md @@ -8,10 +8,6 @@ description: Get all logged-in authorizations Get all logged-in authorizations -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Authorizations](../types/account_Authorizations.md) diff --git a/old_docs/API_docs_v73/methods/account_getPassword.md b/old_docs/API_docs_v73/methods/account_getPassword.md index 6b1a7cc1..b342c30e 100644 --- a/old_docs/API_docs_v73/methods/account_getPassword.md +++ b/old_docs/API_docs_v73/methods/account_getPassword.md @@ -8,10 +8,6 @@ description: Get the current password Get the current password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [account\_Password](../types/account_Password.md) diff --git a/old_docs/API_docs_v73/methods/account_getPasswordSettings.md b/old_docs/API_docs_v73/methods/account_getPasswordSettings.md index 961d56f8..2f295d3a 100644 --- a/old_docs/API_docs_v73/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v73/methods/account_getPasswordSettings.md @@ -12,7 +12,7 @@ Get the current 2FA settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| ### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) diff --git a/old_docs/API_docs_v73/methods/account_getWallPapers.md b/old_docs/API_docs_v73/methods/account_getWallPapers.md index 74e1a73f..405542ad 100644 --- a/old_docs/API_docs_v73/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v73/methods/account_getWallPapers.md @@ -8,10 +8,6 @@ description: Returns a list of available wallpapers. Returns a list of available wallpapers. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) diff --git a/old_docs/API_docs_v73/methods/account_resetNotifySettings.md b/old_docs/API_docs_v73/methods/account_resetNotifySettings.md index fc2f36b5..b7d492af 100644 --- a/old_docs/API_docs_v73/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v73/methods/account_resetNotifySettings.md @@ -8,10 +8,6 @@ description: Reset all notification settings Reset all notification settings -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md index 710f5bfa..81ab83b7 100644 --- a/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md @@ -12,7 +12,7 @@ Update the 2FA password settings | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);| +|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt, true);`| |new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings| diff --git a/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md index dbf77a6d..0786f7ee 100644 --- a/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md @@ -8,10 +8,6 @@ description: Send an email to recover the 2FA password Send an email to recover the 2FA password -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) diff --git a/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md index 47b28171..525ba2c9 100644 --- a/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md @@ -8,10 +8,6 @@ description: Delete all logged-in sessions. Delete all logged-in sessions. -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v73/methods/contacts_exportCard.md b/old_docs/API_docs_v73/methods/contacts_exportCard.md index 3c582da3..c39814b4 100644 --- a/old_docs/API_docs_v73/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v73/methods/contacts_exportCard.md @@ -8,10 +8,6 @@ description: Export contact as card Export contact as card -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_int](../types/int.md) diff --git a/old_docs/API_docs_v73/methods/contacts_getContacts.md b/old_docs/API_docs_v73/methods/contacts_getContacts.md index 32877d62..6ccb9545 100644 --- a/old_docs/API_docs_v73/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v73/methods/contacts_getContacts.md @@ -12,7 +12,7 @@ Get info about a certain contact | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|hash|[CLICK ME int](../types/int.md) | Yes|$ids is the list ids of previously fetched contacts, $hash = $MadelineProto->gen_vector_hash($ids);| +|hash|[CLICK ME int](../types/int.md) | Yes|$ids is the list ids of previously fetched contacts, `$hash = $MadelineProto->gen_vector_hash($ids);`| ### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) diff --git a/old_docs/API_docs_v73/methods/contacts_getStatuses.md b/old_docs/API_docs_v73/methods/contacts_getStatuses.md index f5d4636a..20b348a2 100644 --- a/old_docs/API_docs_v73/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v73/methods/contacts_getStatuses.md @@ -8,10 +8,6 @@ description: Get online status of all users Get online status of all users -### Parameters: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| ### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) diff --git a/src/danog/MadelineProto/DocsBuilder/Constructors.php b/src/danog/MadelineProto/DocsBuilder/Constructors.php index 99a34b9a..279d9bf2 100644 --- a/src/danog/MadelineProto/DocsBuilder/Constructors.php +++ b/src/danog/MadelineProto/DocsBuilder/Constructors.php @@ -86,7 +86,7 @@ trait Constructors } } - if (isset($this->td_descriptions['constructors'][$data['predicate']])) { + if (isset($this->td_descriptions['constructors'][$data['predicate']]) && !empty($data['params'])) { $table = '### Attributes: | Name | Type | Required | Description | diff --git a/src/danog/MadelineProto/DocsBuilder/Methods.php b/src/danog/MadelineProto/DocsBuilder/Methods.php index cb342311..b5f48615 100644 --- a/src/danog/MadelineProto/DocsBuilder/Methods.php +++ b/src/danog/MadelineProto/DocsBuilder/Methods.php @@ -78,7 +78,7 @@ trait Methods $this->td_descriptions['methods'][$data['method']]['description'] = \danog\MadelineProto\Lang::$lang['en']['method_'.$data['method']]; } } - if (isset($this->td_descriptions['methods'][$data['method']])) { + if (isset($this->td_descriptions['methods'][$data['method']]) && !empty($data['params'])) { $table = '### Parameters: | Name | Type | Required | Description | diff --git a/src/danog/MadelineProto/Lang.php b/src/danog/MadelineProto/Lang.php index 1776445e..425f7e01 100644 --- a/src/danog/MadelineProto/Lang.php +++ b/src/danog/MadelineProto/Lang.php @@ -452,9 +452,9 @@ class Lang 'method_account.resetAuthorization_param_hash_type_long' => 'The session hash, obtained from $MadelineProto->account->getAuthorizations', 'method_account.getPassword' => 'Get the current password', 'method_account.getPasswordSettings' => 'Get the current 2FA settings', - 'method_account.getPasswordSettings_param_current_password_hash_type_bytes' => '$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt);', + 'method_account.getPasswordSettings_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`', 'method_account.updatePasswordSettings' => 'Update the 2FA password settings', - 'method_account.updatePasswordSettings_param_current_password_hash_type_bytes' => '$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt);', + 'method_account.updatePasswordSettings_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`', 'method_account.updatePasswordSettings_param_new_settings_type_account.PasswordInputSettings' => 'New 2FA settings', 'method_account.sendConfirmPhoneCode' => 'Send confirmation phone code', 'method_account.sendConfirmPhoneCode_param_allow_flashcall_type_true' => 'Can telegram call you instead of sending an SMS?', @@ -476,7 +476,7 @@ class Lang 'method_users.getFullUser_param_id_type_InputUser' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_contacts.getStatuses' => 'Get online status of all users', 'method_contacts.getContacts' => 'Get info about a certain contact', - 'method_contacts.getContacts_param_hash_type_int' => '$ids is the list ids of previously fetched contacts, $hash = $MadelineProto->gen_vector_hash($ids);', + 'method_contacts.getContacts_param_hash_type_int' => '$ids is the list ids of previously fetched contacts, `$hash = $MadelineProto->gen_vector_hash($ids);`', 'method_contacts.importContacts' => 'Add phone number as contact', 'method_contacts.importContacts_param_contacts_type_Vector t' => 'The numbers to import', 'method_contacts.deleteContact' => 'Delete a contact', @@ -1196,9 +1196,9 @@ class Lang 'method_geochats.createGeoChat_param_address_type_string' => '', 'method_geochats.createGeoChat_param_venue_type_string' => '', 'method_account.setPassword' => '', - 'method_account.setPassword_param_current_password_hash_type_bytes' => '', + 'method_account.setPassword_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`', 'method_account.setPassword_param_new_salt_type_bytes' => '', - 'method_account.setPassword_param_new_password_hash_type_bytes' => '', + 'method_account.setPassword_param_new_password_hash_type_bytes' => '`hash(\'sha256\', $new_salt.$new_password.$new_salt, true)`', 'method_account.setPassword_param_hint_type_string' => '', 'method_messages.installStickerSet_param_disabled_type_Bool' => '', 'method_messages.startBot_param_chat_id_type_InputPeer' => '', @@ -2605,8 +2605,8 @@ class Lang 'object_account.passwordSettings' => '', 'object_account.passwordSettings_param_email_type_string' => '', 'object_account.passwordInputSettings' => '', - 'object_account.passwordInputSettings_param_new_salt_type_bytes' => '', - 'object_account.passwordInputSettings_param_new_password_hash_type_bytes' => '', + 'object_account.passwordInputSettings_param_new_salt_type_bytes' => '`$new_salt = $MadelineProto->account->getPassword()[\'new_salt\'].$MadelineProto->random(8);`', + 'object_account.passwordInputSettings_param_new_password_hash_type_bytes' => '`hash(\'sha256\', $new_salt.$new_password.$new_salt, true)`', 'object_account.passwordInputSettings_param_hint_type_string' => '', 'object_account.passwordInputSettings_param_email_type_string' => '', 'object_auth.passwordRecovery' => '', @@ -5150,9 +5150,9 @@ class Lang 'method_geochats.createGeoChat_param_address_type_string' => '', 'method_geochats.createGeoChat_param_venue_type_string' => '', 'method_account.setPassword' => '', - 'method_account.setPassword_param_current_password_hash_type_bytes' => '', - 'method_account.setPassword_param_new_salt_type_bytes' => '', - 'method_account.setPassword_param_new_password_hash_type_bytes' => '', + 'method_account.setPassword_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt);`', + 'method_account.setPassword_param_new_salt_type_bytes' => '`$new_salt = $MadelineProto->account->getPassword()[\'new_salt\'].$MadelineProto->random(8);`', + 'method_account.setPassword_param_new_password_hash_type_bytes' => '`hash(\'sha256\', $new_salt.$new_password.$new_salt, true)`', 'method_account.setPassword_param_hint_type_string' => '', 'method_messages.installStickerSet_param_disabled_type_Bool' => '', 'method_messages.startBot_param_chat_id_type_InputPeer' => '', @@ -6559,8 +6559,8 @@ class Lang 'object_account.passwordSettings' => '', 'object_account.passwordSettings_param_email_type_string' => '', 'object_account.passwordInputSettings' => '', - 'object_account.passwordInputSettings_param_new_salt_type_bytes' => '', - 'object_account.passwordInputSettings_param_new_password_hash_type_bytes' => '', + 'object_account.passwordInputSettings_param_new_salt_type_bytes' => '`$new_salt = $MadelineProto->account->getPassword()[\'new_salt\'].$MadelineProto->random(8);`', + 'object_account.passwordInputSettings_param_new_password_hash_type_bytes' => '`hash(\'sha256\', $new_salt.$new_password.$new_salt, true)`', 'object_account.passwordInputSettings_param_hint_type_string' => '', 'object_account.passwordInputSettings_param_email_type_string' => '', 'object_auth.passwordRecovery' => '',