messages.ReadEncryptedHistory
- class pyrogram.raw.functions.messages.ReadEncryptedHistory
Marks message history within a secret chat as read.
- Details:
Layer:
223ID:
7F4B690A
- Parameters:
peer (
InputEncryptedChat) – Secret chat IDmax_date (
int32-bit) – Maximum date value for received messages in history
- Returns:
bool
TL Schema
messages.readEncryptedHistory#7f4b690a
peer:InputEncryptedChat
max_date:int
= Bool
Parameter Tree
ReadEncryptedHistory
├── peer →
InputEncryptedChat│ └──
InputEncryptedChat│ ├── chat_id →
int│ └── access_hash →
long└── max_date →
intExample
await app.invoke(
ReadEncryptedHistory(
peer=InputEncryptedChat(
chat_id=0,
access_hash=0
),
max_date=0,
)
)