set_encrypted_typing()

async Client.set_encrypted_typing()

Send a typing action to a secret chat.

Usable by Users Bots
Parameters:
  • peer (InputEncryptedChat) – The secret chat.

  • typing (bool) – Pass True if the user is typing, False to stop.

Returns:

bool – True on success.

Example

await app.set_encrypted_typing(peer, typing=True)