EncryptedChatRequested

class pyrogram.raw.types.EncryptedChatRequested

Request to create an encrypted chat.

Constructor type of EncryptedChat.

Details
  • Layer: 126

  • ID: 0x62718a82

Parameters
  • id (int 32-bit) – Chat ID.

  • access_hash (int 64-bit) – Check sum depending on user ID.

  • date (int 32-bit) – Chat creation date.

  • admin_id (int 32-bit) – Chat creator ID.

  • participant_id (int 32-bit) – ID of second chat participant.

  • g_a (bytes) – A = g ^ a mod p, see Wikipedia.

  • folder_id (int 32-bit, optional) – Peer folder ID, for more info click here.

Methods

This object can be returned by 2 methods:

messages.RequestEncryption

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

messages.AcceptEncryption

Confirms creation of a secret chat.