phone.ReceivedCall

class pyrogram.raw.functions.phone.ReceivedCall

Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended.

Details:
  • Layer: 223

  • ID: 17D54F61

Parameters:

peer (InputPhoneCall) – The phone call we’re currently in

Returns:

bool

TL Schema

phone.receivedCall#17d54f61
peer:InputPhoneCall

= Bool

Parameter Tree

ReceivedCall
└── peerInputPhoneCall
└── InputPhoneCall
├── idlong
└── access_hashlong

Example

await app.invoke(
    ReceivedCall(
        peer=InputPhoneCall(
            id=0,
            access_hash=0
        ),
    )
)