phone.LeaveGroupCall

class pyrogram.raw.functions.phone.LeaveGroupCall

Leave a group call

Details:
  • Layer: 223

  • ID: 500377F9

Parameters:
  • call (InputGroupCall) – The group call

  • source (int 32-bit) – Your source ID

Returns:

Updates

TL Schema

phone.leaveGroupCall#500377f9
call:InputGroupCall
source:int

= Updates

Parameter Tree

LeaveGroupCall
├── callInputGroupCall
│ ├── InputGroupCall
│ │ ├── idlong
│ │ └── access_hashlong
│ ├── InputGroupCallSlug
│ │ └── slugstring
│ └── msg_idint
└── sourceint

Example

await app.invoke(
    LeaveGroupCall(
        call=InputGroupCall(
            id=0,
            access_hash=0
        ),
        source=0,
    )
)