pub async fn get_group_call_stream_segment(
group_call_id: i32,
time_offset: i64,
scale: i32,
channel_id: i32,
video_quality: Option<GroupCallVideoQuality>,
client_id: i32,
) -> Result<FilePart, Error>
Expand description
Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video
§Arguments
group_call_id
- Group call identifiertime_offset
- Point in time when the stream segment begins; Unix timestamp in millisecondsscale
- Segment duration scale; 0-1. Segment’s duration is 1000/(2**scale) millisecondschannel_id
- Identifier of an audio/video channel to get as received from tgcallsvideo_quality
- Video quality as received from tgcalls; pass null to get the worst available qualityclient_id
- The client id to send the request to