messages.discardEncryption
Cancels a request for creation and/or delete info on secret chat.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
delete_history | true | いいえ | Whether to delete the entire chat history for the other user as well |
chat_id | int | はい | Secret chat ID |
レスポンス
Bool
MTProto RPC
- 400 · CHAT_ID_EMPTY — The provided chat ID is empty.
- 400 · ENCRYPTION_ALREADY_ACCEPTED — Secret chat already accepted.
- 400 · ENCRYPTION_ALREADY_DECLINED — The secret chat was already declined.
- 400 · ENCRYPTION_ID_INVALID — The provided secret chat ID is invalid.