PhoneCall#

class pyrogram.raw.types.PhoneCall#

Phone call.

Constructor of PhoneCall.

Details:
  • Layer: 158

  • ID: 967F7C67

Parameters:
  • id (int 64-bit) – Call ID.

  • access_hash (int 64-bit) – Access hash.

  • date (int 32-bit) – Date of creation of the call.

  • admin_id (int 64-bit) – User ID of the creator of the call.

  • participant_id (int 64-bit) – User ID of the other participant in the call.

  • g_a_or_b (bytes) – Parameter for key exchange.

  • key_fingerprint (int 64-bit) – Key fingerprint.

  • protocol (PhoneCallProtocol) – Call protocol info to be passed to libtgvoip.

  • connections (List of PhoneConnection) – List of endpoints the user can connect to to exchange call data.

  • start_date (int 32-bit) – When was the call actually started.

  • p2p_allowed (bool, optional) – Whether P2P connection to the other peer is allowed.

  • video (bool, optional) – Whether this is a video call.