messages.SetEncryptedTyping
- class pyrogram.raw.functions.messages.SetEncryptedTyping
Send typing event by the current user to a secret chat.
- Details:
Layer:
223ID:
791451ED
- Parameters:
peer (
InputEncryptedChat) – Secret chat IDtyping (
bool) – Typing.Possible values:(boolTrue), if the user started typing and more than 5 seconds have passed since the last request(boolFalse), if the user stopped typing
- Returns:
bool
TL Schema
messages.setEncryptedTyping#791451ed
peer:InputEncryptedChat
typing:Bool
= Bool
Parameter Tree
SetEncryptedTyping
├── peer →
InputEncryptedChat│ └──
InputEncryptedChat│ ├── chat_id →
int│ └── access_hash →
long└── typing →
BoolExample
await app.invoke(
SetEncryptedTyping(
peer=InputEncryptedChat(
chat_id=0,
access_hash=0
),
typing=True,
)
)