getGroupCallStreamSegment¶
Returns a file with a segment of a video chat or live story in a modified OGG format for audio or MPEG-4 format for video
getGroupCallStreamSegment(
group_call_id: int32,
time_offset: int53,
scale: int32,
channel_id: int32,
video_quality: GroupCallVideoQuality
) → Data
group_call_id¶
int32
Group call identifier
time_offset¶
int53
Point in time when the stream segment begins; Unix timestamp in milliseconds
scale¶
int32
Segment duration scale; 0-1. Segment's duration is 1000/(2**scale) milliseconds
channel_id¶
int32
Identifier of an audio/video channel to get as received from tgcalls
video_quality¶
Video quality as received from tgcalls; pass null to get the worst available quality