EncryptedChat#

class pyrogram.raw.base.EncryptedChat#

Object contains info on an encrypted chat.

Constructors:

This base type has 5 constructors available.

EncryptedChat

Telegram API type.

EncryptedChatDiscarded

Telegram API type.

EncryptedChatEmpty

Telegram API type.

EncryptedChatRequested

Telegram API type.

EncryptedChatWaiting

Telegram API type.

Functions:

This object can be returned by 2 functions.

messages.RequestEncryption

Sends a request to start a secret chat to the user.

messages.AcceptEncryption

Confirms creation of a secret chat