This commit is contained in:
Daniil Gentili 2018-03-20 19:39:53 +01:00
parent 11037bd9f6
commit 24414ad22f
439 changed files with 63 additions and 1611 deletions

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User status was newer changed
User status was newer changed
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User was online recently
User was online recently
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -8,10 +8,6 @@ description: Get account TTL
Get account TTL
### Parameters:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -8,10 +8,6 @@ description: Reset all notification settings
Reset all notification settings
### Parameters:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
### Return type: [Bool](../types/Bool.md)

View File

@ -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)

View File

@ -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|

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -9,10 +9,6 @@ description: User is currently logging out
User is currently logging out
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Return creator and administrators
Return creator and administrators
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Return bot members of the channel
Return bot members of the channel
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User cancels previous action
User cancels previous action
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User chooses contact to send
User chooses contact to send
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User chooses location or venue to send
User chooses location or venue to send
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User records a video
User records a video
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User records video note
User records video note
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User records voice message
User records voice message
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User starts to play a game
User starts to play a game
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User typing a message
User typing a message
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: New chat member joined
New chat member joined
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: A chat member left
A chat member left
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: A message was unpinned
A message was unpinned
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: User is not a chat member
User is not a chat member
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: The chat contains pornography messages
The chat contains pornography messages
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: The chat contains spam messages
The chat contains spam messages
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: The chat contains violent messages
The chat contains violent messages
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Establishing connection to Telegram servers
Establishing connection to Telegram servers
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Establishing connection to set up proxy server
Establishing connection to set up proxy server
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Downloading date received, while client was offline
Downloading date received, while client was offline
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is an animation
File is an animation
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is an audio
File is an audio
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is a document
File is a document
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Data is not a file
Data is not a file
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is a photo
File is a photo
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is a profile photo
File is a profile photo
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File sent to a secret chat
File sent to a secret chat
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is a sticker
File is a sticker
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is a thumbnail of another file
File is a thumbnail of another file
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File type is yet unknown
File type is yet unknown
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is a video
File is a video
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is a video note
File is a video note
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is a voice audio
File is a voice audio
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: File is a wallpaper
File is a wallpaper
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Chat photo deleted
Chat photo deleted
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Chat member joined by invite link
Chat member joined by invite link
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Contact has registered
Contact has registered
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Photo message expired by TTL
Photo message expired by TTL
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Video message expired by TTL
Video message expired by TTL
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Message is failed to send
Message is failed to send
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Message is incoming
Message is incoming
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Message was synchronized with the server
Message was synchronized with the server
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Unsupported message content
Unsupported message content
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Mobile network
Mobile network
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Mobile roaming network
Mobile roaming network
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Network is not available
Network is not available
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Other network type, for example, Ethernet network
Other network type, for example, Ethernet network
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Wi-Fi network
Wi-Fi network
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Notification settings applied to all chats
Notification settings applied to all chats
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Notification settings applied to all private chats
Notification settings applied to all private chats
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

View File

@ -9,10 +9,6 @@ description: Unknown option or option having default value
Unknown option or option having default value
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|

View File

@ -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 |
|----------|---------------|----------|-------------|

Some files were not shown because too many files have changed in this diff Show More