messages.discardEncryption
Cancels a request for creation and/or delete info on secret chat.
Example
TL schema
Parameters
Name | Type | Description |
chat_id | Secret chat ID |
Result
Possible errors
Code | Type | Description |
400 | CHAT_ID_EMPTY | The provided chat ID is empty |
400 | ENCRYPTION_ALREADY_DECLINED | The secret chat was already declined |
400 | ENCRYPTION_ID_INVALID | The provided secret chat ID is invalid |
Can bots use this methd ?
yes
Related pages
Last updated