Raw.PhoneCall
Phone call
phoneCall#30535af5 flags:# p2p_allowed:flags.5?true video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector<PhoneConnection> start_date:int custom_parameters:flags.7?DataJSON = PhoneCall;
export namespace Raw {
export class PhoneCall {
constructor(params: {
p2pAllowed?: boolean;
video?: boolean;
id: bigint;
accessHash: bigint;
date: number;
adminId: bigint;
participantId: bigint;
gAOrB: Buffer;
keyFingerprint: bigint;
protocol: Raw.TypePhoneCallProtocol;
connections: Array<Raw.TypePhoneConnection>;
startDate: number;
customParameters?: Raw.TypeDataJSON;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x30535af5
Property
p2pAllowed
: boolean or undefinedWhether p2p connection to the other peer is allowed
video
: boolean or undefinedWhether this is a video call
id
: bigintCall id
accessHash
: bigintAccess hash
date
: numberDate of creation of the call
adminId
: bigintUser id of the creator of the call
participantId
: bigintUser id of the other participant in the call
gAOrB
: BufferParameter for key exchange
keyFingerprint
: bigintKey fingerprint
protocol
: Raw.TypePhoneCallProtocolCall protocol info to be passed to libtgvoip
connections
: Array of Raw.TypePhoneConnectionList of endpoints the user can connect to exchange call data
startDate
: numberWhen was the call actually started
customParameters
: Raw.TypeDataJSON or undefinedCustom json-encoded call parameters to be passed to tgcalls.