phone.LeaveGroupCall

class pyrogram.raw.functions.phone.LeaveGroupCall

Leave a group call

Details:
  • Layer: 227

  • 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
├── call → InputGroupCall
│ ├── InputGroupCall
│ │ ├── id → long
│ │ └── access_hash → long
│ ├── InputGroupCallSlug
│ │ └── slug → string
│ └── msg_id → int
└── source → int

Example

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