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:
223ID:
F128C708
- Parameters:
call (
InputGroupCall) – The group call or livestreamstart (
bool, optional) – Whether to start or stop recordingvideo (
bool, optional) – Whether to also record video streamstitle (
str, optional) – Recording titlevideo_portrait (
bool, optional) – If video stream recording is enabled, whether to record in portrait or landscape mode
- Returns:
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
├── start →
true (optional)├── video →
true (optional)├── call →
InputGroupCall│ ├──
InputGroupCall│ │ ├── id →
long│ │ └── access_hash →
long│ ├──
InputGroupCallSlug│ │ └── slug →
string│ └── msg_id →
int├── title →
string (optional)└── video_portrait →
Bool (optional)Example
await app.invoke(
ToggleGroupCallRecord(
start=None,
video=None,
call=InputGroupCall(
id=0,
access_hash=0
),
title="text",
video_portrait=None,
)
)