phone.RequestCall

class pyrogram.raw.functions.phone.RequestCall[source]

Start a telegram phone call, see here » for more info on the full flow.

Usable by Users Bots
Details:
  • Layer: 229

  • ID: 42FF96ED

Parameters:
  • user_id (InputUser) – Destination of the phone call

  • random_id (int 32-bit) – Random ID to avoid resending the same object. See here » for more info on random ID deduplication and updateMessageID mapping.

  • g_a_hash (bytes) – Parameter for E2E encryption key exchange »

  • protocol (PhoneCallProtocol) – Phone call settings

  • video (bool, optional) – Whether to start a video call

Returns:

phone.PhoneCall