diff --git a/docs/API_docs/methods/messages.sendEncrypted.md b/docs/API_docs/methods/messages.sendEncrypted.md index 4f52e694..5c647e4f 100644 --- a/docs/API_docs/methods/messages.sendEncrypted.md +++ b/docs/API_docs/methods/messages.sendEncrypted.md @@ -17,7 +17,7 @@ Sends a text message to a secret chat. |----------|---------------|-------------|----------| |silent|[Bool](../types/Bool.md) | | Optional| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/docs/API_docs/methods/messages.sendEncryptedFile.md b/docs/API_docs/methods/messages.sendEncryptedFile.md index fafbb35c..4e581bfc 100644 --- a/docs/API_docs/methods/messages.sendEncryptedFile.md +++ b/docs/API_docs/methods/messages.sendEncryptedFile.md @@ -17,7 +17,7 @@ Sends a message with a file attachment to a secret chat |----------|---------------|-------------|----------| |silent|[Bool](../types/Bool.md) | | Optional| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/docs/API_docs/methods/messages.sendEncryptedService.md b/docs/API_docs/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/docs/API_docs/methods/messages.sendEncryptedService.md +++ b/docs/API_docs/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v0/methods/messages.sendEncrypted.md b/old_docs/API_docs_v0/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v0/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v0/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v0/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v0/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v0/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v0/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v0/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v0/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v0/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v0/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v1/methods/messages.sendEncrypted.md b/old_docs/API_docs_v1/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v1/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v1/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v1/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v1/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v1/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v1/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v1/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v1/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v1/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v1/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v10/methods/messages.sendEncrypted.md b/old_docs/API_docs_v10/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v10/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v10/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v10/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v10/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v10/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v10/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v10/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v10/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v10/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v10/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v11/methods/messages.sendEncrypted.md b/old_docs/API_docs_v11/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v11/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v11/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v11/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v11/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v11/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v11/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v11/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v11/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v11/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v11/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v12/methods/messages.sendEncrypted.md b/old_docs/API_docs_v12/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v12/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v12/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v12/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v12/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v12/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v12/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v12/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v12/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v12/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v12/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v13/methods/messages.sendEncrypted.md b/old_docs/API_docs_v13/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v13/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v13/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v13/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v13/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v13/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v13/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v13/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v13/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v13/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v13/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v14/methods/messages.sendEncrypted.md b/old_docs/API_docs_v14/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v14/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v14/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v14/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v14/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v14/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v14/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v14/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v14/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v14/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v14/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v15/methods/messages.sendEncrypted.md b/old_docs/API_docs_v15/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v15/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v15/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v15/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v15/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v15/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v15/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v15/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v15/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v15/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v15/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v16/methods/messages.sendEncrypted.md b/old_docs/API_docs_v16/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v16/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v16/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v16/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v16/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v16/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v16/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v16/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v16/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v16/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v16/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v17/methods/messages.sendEncrypted.md b/old_docs/API_docs_v17/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v17/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v17/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v17/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v17/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v17/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v17/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v17/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v17/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v17/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v17/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v18/methods/messages.sendEncrypted.md b/old_docs/API_docs_v18/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v18/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v18/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v18/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v18/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v18/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v18/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v18/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v18/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v18/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v18/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v19/methods/messages.sendEncrypted.md b/old_docs/API_docs_v19/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v19/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v19/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v19/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v19/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v19/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v19/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v19/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v19/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v19/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v19/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v2/methods/messages.sendEncrypted.md b/old_docs/API_docs_v2/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v2/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v2/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v2/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v2/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v2/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v2/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v2/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v2/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v2/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v2/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v20/methods/messages.sendEncrypted.md b/old_docs/API_docs_v20/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v20/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v20/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v20/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v20/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v20/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v20/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v20/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v20/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v20/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v20/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v21/methods/messages.sendEncrypted.md b/old_docs/API_docs_v21/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v21/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v21/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v21/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v21/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v21/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v21/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v21/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v21/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v21/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v21/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v22/methods/messages.sendEncrypted.md b/old_docs/API_docs_v22/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v22/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v22/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v22/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v22/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v22/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v22/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v22/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v22/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v22/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v22/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v23/methods/messages.sendEncrypted.md b/old_docs/API_docs_v23/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v23/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v23/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v23/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v23/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v23/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v23/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v23/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v23/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v23/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v23/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v24/methods/messages.sendEncrypted.md b/old_docs/API_docs_v24/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v24/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v24/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v24/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v24/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v24/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v24/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v24/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v24/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v24/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v24/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v25/methods/messages.sendEncrypted.md b/old_docs/API_docs_v25/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v25/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v25/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v25/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v25/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v25/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v25/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v25/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v25/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v25/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v25/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v26/methods/messages.sendEncrypted.md b/old_docs/API_docs_v26/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v26/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v26/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v26/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v26/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v26/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v26/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v26/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v26/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v26/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v26/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v27/methods/messages.sendEncrypted.md b/old_docs/API_docs_v27/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v27/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v27/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v27/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v27/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v27/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v27/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v27/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v27/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v27/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v27/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v28/methods/messages.sendEncrypted.md b/old_docs/API_docs_v28/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v28/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v28/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v28/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v28/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v28/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v28/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v28/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v28/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v28/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v28/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v29/methods/messages.sendEncrypted.md b/old_docs/API_docs_v29/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v29/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v29/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v29/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v29/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v29/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v29/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v29/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v29/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v29/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v29/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v3/methods/messages.sendEncrypted.md b/old_docs/API_docs_v3/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v3/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v3/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v3/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v3/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v3/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v3/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v3/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v3/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v3/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v3/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v30/methods/messages.sendEncrypted.md b/old_docs/API_docs_v30/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v30/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v30/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v30/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v30/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v30/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v30/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v30/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v30/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v30/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v30/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v31/methods/messages.sendEncrypted.md b/old_docs/API_docs_v31/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v31/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v31/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v31/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v31/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v31/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v31/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v31/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v31/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v31/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v31/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v32/methods/messages.sendEncrypted.md b/old_docs/API_docs_v32/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v32/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v32/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v32/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v32/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v32/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v32/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v32/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v32/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v32/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v32/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v33/methods/messages.sendEncrypted.md b/old_docs/API_docs_v33/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v33/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v33/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v33/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v33/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v33/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v33/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v33/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v33/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v33/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v33/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v34/methods/messages.sendEncrypted.md b/old_docs/API_docs_v34/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v34/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v34/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v34/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v34/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v34/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v34/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v34/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v34/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v34/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v34/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v35/methods/messages.sendEncrypted.md b/old_docs/API_docs_v35/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v35/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v35/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v35/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v35/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v35/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v35/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v35/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v35/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v35/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v35/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v36/methods/messages.sendEncrypted.md b/old_docs/API_docs_v36/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v36/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v36/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v36/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v36/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v36/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v36/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v36/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v36/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v36/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v36/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v37/methods/messages.sendEncrypted.md b/old_docs/API_docs_v37/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v37/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v37/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v37/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v37/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v37/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v37/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v37/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v37/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v37/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v37/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v38/methods/messages.sendEncrypted.md b/old_docs/API_docs_v38/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v38/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v38/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v38/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v38/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v38/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v38/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v38/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v38/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v38/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v38/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v39/methods/messages.sendEncrypted.md b/old_docs/API_docs_v39/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v39/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v39/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v39/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v39/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v39/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v39/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v39/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v39/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v39/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v39/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v4/methods/messages.sendEncrypted.md b/old_docs/API_docs_v4/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v4/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v4/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v4/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v4/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v4/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v4/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v4/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v4/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v4/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v4/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v40/methods/messages.sendEncrypted.md b/old_docs/API_docs_v40/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v40/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v40/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v40/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v40/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v40/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v40/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v40/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v40/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v40/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v40/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v41/methods/messages.sendEncrypted.md b/old_docs/API_docs_v41/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v41/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v41/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v41/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v41/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v41/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v41/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v41/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v41/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v41/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v41/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v42/methods/messages.sendEncrypted.md b/old_docs/API_docs_v42/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v42/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v42/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v42/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v42/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v42/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v42/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v42/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v42/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v42/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v42/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v43/methods/messages.sendEncrypted.md b/old_docs/API_docs_v43/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v43/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v43/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v43/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v43/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v43/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v43/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v43/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v43/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v43/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v43/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v44/methods/messages.sendEncrypted.md b/old_docs/API_docs_v44/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v44/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v44/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v44/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v44/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v44/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v44/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v44/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v44/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v44/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v44/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v5/methods/messages.sendEncrypted.md b/old_docs/API_docs_v5/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v5/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v5/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v5/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v5/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v5/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v5/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v5/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v5/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v5/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v5/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v6/methods/messages.sendEncrypted.md b/old_docs/API_docs_v6/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v6/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v6/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v6/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v6/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v6/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v6/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v6/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v6/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v6/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v6/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v7/methods/messages.sendEncrypted.md b/old_docs/API_docs_v7/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v7/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v7/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v7/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v7/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v7/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v7/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v7/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v7/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v7/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v7/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v8/methods/messages.sendEncrypted.md b/old_docs/API_docs_v8/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v8/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v8/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v8/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v8/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v8/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v8/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v8/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v8/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v8/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v8/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v9/methods/messages.sendEncrypted.md b/old_docs/API_docs_v9/methods/messages.sendEncrypted.md index ef7dbe53..cfa32a8f 100644 --- a/old_docs/API_docs_v9/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v9/methods/messages.sendEncrypted.md @@ -16,7 +16,7 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) diff --git a/old_docs/API_docs_v9/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v9/methods/messages.sendEncryptedFile.md index ddc82a90..fc0319bc 100644 --- a/old_docs/API_docs_v9/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v9/methods/messages.sendEncryptedFile.md @@ -16,7 +16,7 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| diff --git a/old_docs/API_docs_v9/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v9/methods/messages.sendEncryptedService.md index bd7ebc63..7c3419e9 100644 --- a/old_docs/API_docs_v9/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v9/methods/messages.sendEncryptedService.md @@ -16,7 +16,7 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| +|data|[bytes](../types/bytes.md) | [DecryptedMessage](../types/DecryptedMessage.md) type | Yes| ### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md)