mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.2 KiB
1.2 KiB
title | description | nav_exclude | image |
---|---|---|---|
inputGroupCallStream | Chunk of a livestream | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputGroupCallStream
Chunk of a livestream
Attributes:
Name | Type | Required | Description |
---|---|---|---|
call | InputGroupCall | Yes | Livestream info |
time_ms | long | Yes | Timestamp in milliseconds |
scale | int | Yes | Specifies the duration of the video segment to fetch in milliseconds, by bitshifting 1000 to the right scale times: duration_ms := 1000 >> scale |
video_channel | int | Optional | Selected video channel |
video_quality | int | Optional | Selected video quality (0 = lowest, 1 = medium, 2 = best) |
Type: InputFileLocation
Example:
$inputGroupCallStream = ['_' => 'inputGroupCallStream', 'call' => InputGroupCall, 'time_ms' => long, 'scale' => int, 'video_channel' => int, 'video_quality' => int];