Class TdApi.StartGroupCallRecording
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.StartGroupCallRecording
- Enclosing class:
- TdApi
Starts recording of an active group call. Requires groupCall.canBeManaged group call flag.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Group call identifier.boolean
Pass true to record a video file instead of an audio file.Group call recording title; 0-64 characters.boolean
Pass true to use portrait orientation for video instead of landscape one. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which starts recording of an active group call.StartGroupCallRecording
(int groupCallId, String title, boolean recordVideo, boolean usePortraitOrientation) Creates a function, which starts recording of an active group call. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier. -
title
Group call recording title; 0-64 characters. -
recordVideo
public boolean recordVideoPass true to record a video file instead of an audio file. -
usePortraitOrientation
public boolean usePortraitOrientationPass true to use portrait orientation for video instead of landscape one. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StartGroupCallRecording
public StartGroupCallRecording()Default constructor for a function, which starts recording of an active group call. Requires groupCall.canBeManaged group call flag.Returns
Ok
-
StartGroupCallRecording
public StartGroupCallRecording(int groupCallId, String title, boolean recordVideo, boolean usePortraitOrientation) Creates a function, which starts recording of an active group call. Requires groupCall.canBeManaged group call flag.Returns
Ok
- Parameters:
groupCallId
- Group call identifier.title
- Group call recording title; 0-64 characters.recordVideo
- Pass true to record a video file instead of an audio file.usePortraitOrientation
- Pass true to use portrait orientation for video instead of landscape one.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-