telegram api method · layer 229 · #f128c708

phone.toggleGroupCallRecord

usable by users

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

definition

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

parameters

nametypedescription
flags#Flags, see TL conditional fields
startflags.0?trueWhether to start or stop recording
videoflags.2?trueWhether to also record video streams
callInputGroupCallThe group call or livestream
titleflags.1?stringRecording title
video_portraitflags.2?BoolIf video stream recording is enabled, whether to record in portrait or landscape mode

returns

Updates

errors (5)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
400GROUPCALL_INVALIDThe specified group call is invalid.
400GROUPCALL_NOT_MODIFIEDGroup call settings weren't modified.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403GROUPCALL_FORBIDDENThe specified group call cannot be used in this context.

history

present in layers 125–229 · constructor id changed 1×

idlayers
#c02a66d7125–131
#f128c708132–229