Upload encrypted file and associate it to a secret chat (without actually sending it to the chat).
Method schema is available as of layer 73. Switch ยป
| Name | Type | Description |
|---|---|---|
| peer | InputEncryptedChat | The secret chat to associate the file to |
| file | InputEncryptedFile | The file |
| Code | Type | Description |
|---|---|---|
| 400 | CHAT_ID_INVALID | The provided chat id is invalid. |