PhoneCall#
- class pyrogram.raw.types.PhoneCall#
Phone call, see here for more info on the full flow.
Constructor of
PhoneCall.- Details:
Layer:
227ID:
30535AF5
- Parameters:
id (
int64-bit) – Call IDaccess_hash (
int64-bit) – Access hashdate (
int32-bit) – Date of creation of the calladmin_id (
int64-bit) – User ID of the creator of the callparticipant_id (
int64-bit) – User ID of the other participant in the callg_a_or_b (
bytes) – Parameter for key exchangekey_fingerprint (
int64-bit) – Key fingerprintprotocol (
PhoneCallProtocol) – Call protocol info to be passed to libtgvoipconnections (List of
PhoneConnection) – List of endpoints the user can connect to exchange call datastart_date (
int32-bit) – When was the call actually startedp2p_allowed (
bool, optional) – Whether P2P connection to the other peer is allowedvideo (
bool, optional) – Whether this is a video callconference_supported (
bool, optional) – If set, the other party supports migrating the call to a conference call »; clients should only offer the migrate/”Add participants” option in the call UI when this flag is set.custom_parameters (
DataJSON, optional) – Custom JSON-encoded call parameters to be passed to tgcalls.