public static class TdApi.GetGroupCallStreamSegment extends TdApi.Function
Returns FilePart
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
int |
channelId
Identifier of an audio/video channel to get as received from tgcalls.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
groupCallId
Group call identifier.
|
int |
scale
Segment duration scale; 0-1.
|
long |
timeOffset
Point in time when the stream segment begins; Unix timestamp in milliseconds.
|
TdApi.GroupCallVideoQuality |
videoQuality
Video quality as received from tgcalls; pass null to get the worst available quality.
|
Constructor and Description |
---|
GetGroupCallStreamSegment()
Default constructor for a function, which returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.
|
GetGroupCallStreamSegment(int groupCallId,
long timeOffset,
int scale,
int channelId,
TdApi.GroupCallVideoQuality videoQuality)
Creates a function, which returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int groupCallId
public long timeOffset
public int scale
public int channelId
public TdApi.GroupCallVideoQuality videoQuality
public static final int CONSTRUCTOR
public GetGroupCallStreamSegment()
Returns FilePart
public GetGroupCallStreamSegment(int groupCallId, long timeOffset, int scale, int channelId, TdApi.GroupCallVideoQuality videoQuality)
Returns FilePart
groupCallId
- Group call identifier.timeOffset
- Point in time when the stream segment begins; Unix timestamp in milliseconds.scale
- Segment duration scale; 0-1. Segment's duration is 1000/(2**scale) milliseconds.channelId
- Identifier of an audio/video channel to get as received from tgcalls.videoQuality
- Video quality as received from tgcalls; pass null to get the worst available quality.public int getConstructor()
getConstructor
in class TdApi.Function