phone.ToggleGroupCallRecord

class pyrogram.raw.functions.phone.ToggleGroupCallRecord

Start or stop recording a group call: the recorded audio and video streams will be automatically sent to Saved messages (the chat with ourselves).

Details:
  • Layer: 223

  • ID: F128C708

Parameters:
  • call (InputGroupCall) – The group call or livestream

  • start (bool, optional) – Whether to start or stop recording

  • video (bool, optional) – Whether to also record video streams

  • title (str, optional) – Recording title

  • video_portrait (bool, optional) – If video stream recording is enabled, whether to record in portrait or landscape mode

Returns:

Updates

TL Schema

phone.toggleGroupCallRecord#f128c708
flags:#
start:flags.0?true
video:flags.2?true
call:InputGroupCall
title:flags.1?string
video_portrait:flags.2?Bool

= Updates

Parameter Tree

ToggleGroupCallRecord
├── starttrue (optional)
├── videotrue (optional)
├── callInputGroupCall
│ ├── InputGroupCall
│ │ ├── idlong
│ │ └── access_hashlong
│ ├── InputGroupCallSlug
│ │ └── slugstring
│ └── msg_idint
├── titlestring (optional)
└── video_portraitBool (optional)

Example

await app.invoke(
    ToggleGroupCallRecord(
        start=None,
        video=None,
        call=InputGroupCall(
            id=0,
            access_hash=0
        ),
        title="text",
        video_portrait=None,
    )
)