MadelineProtoDocs/docs/API_docs/constructors/inputGroupCallStream.md
2024-05-01 14:53:46 +02:00

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

Back to constructors index

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];