messages.DiscardEncryption
- class pyrogram.raw.functions.messages.DiscardEncryption
Cancels a request for creation and/or delete info on secret chat.
- Details:
Layer:
223ID:
F393AEA0
- Parameters:
chat_id (
int32-bit) – Secret chat IDdelete_history (
bool, optional) – Whether to delete the entire chat history for the other user as well
- Returns:
bool
TL Schema
messages.discardEncryption#f393aea0
flags:#
delete_history:flags.0?true
chat_id:int
= Bool
Parameter Tree
DiscardEncryption
├── delete_history →
true (optional)└── chat_id →
intExample
await app.invoke(
DiscardEncryption(
delete_history=None,
chat_id=0,
)
)