Interface GetGroupCallStreamSegment

Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video. Request type for Tdjson#getGroupCallStreamSegment.

interface GetGroupCallStreamSegment {
    @type: "getGroupCallStreamSegment";
    channel_id: number;
    group_call_id: number;
    scale: number;
    time_offset: number;
    video_quality: GroupCallVideoQuality;
}

Properties

@type: "getGroupCallStreamSegment"
channel_id: number

Identifier of an audio/video channel to get as received from tgcalls.

group_call_id: number

Group call identifier.

scale: number

Segment duration scale; 0-1. Segment's duration is 1000/(2**scale) milliseconds.

time_offset: number

Point in time when the stream segment begins; Unix timestamp in milliseconds.

video_quality: GroupCallVideoQuality

Video quality as received from tgcalls; pass null to get the worst available quality.