Skip to content

phone.acceptCall

No description provided by the pinned schema.

phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall;

phone.PhoneCall

NameTypeFlagDefaultDescription
peerInputPhoneCallNo description provided by the pinned schema.
g_bbytesNo description provided by the pinned schema.
protocolPhoneCallProtocolNo description provided by the pinned schema.
from miniproto.raw.functions import PhoneAcceptCall

Public access: miniproto.raw.functions.PhoneAcceptCall.

from miniproto.raw.functions import PhoneAcceptCall
# Naming the raw request class is local only; it performs no I/O or network request.
request_type = PhoneAcceptCall

phone.PhoneCall

CodeErrorDescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection.
400CALL_ALREADY_ACCEPTEDThe call was already accepted.
400CALL_ALREADY_DECLINEDThe call was already declined.
400CALL_PEER_INVALIDThe provided call peer object is invalid.
400CALL_PROTOCOL_FLAGS_INVALIDCall protocol flags invalid.
400CALL_PROTOCOL_LAYER_INVALIDThe specified protocol layer version range is invalid.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
406CALL_PROTOCOL_COMPAT_LAYER_INVALIDThe other side of the call does not support any of the VoIP protocols supported by the local client, as specified by the protocol.layer and protocol.library_versions fields.
500CALL_OCCUPY_FAILEDThe call failed because the user is already making another call.

InputPhoneCall, PhoneCallProtocol Known selected constructors: inputPhoneCall, phoneCallProtocol

phone.PhoneCall Known selected constructors: phone.phoneCall

phone.confirmCall, phone.discardCall, phone.receivedCall, phone.requestCall, phone.saveCallDebug, phone.saveCallLog, phone.sendSignalingData, phone.setCallRating

  • user only
  • tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery