Link Search Menu Expand Document

Constructor: inputGroupCallStream

Back to constructors index

Chunk of a livestream

Attributes:

NameTypeRequiredDescription
callInputGroupCallYesLivestream info
time_mslongYesTimestamp in milliseconds
scaleintYesSpecifies the duration of the video segment to fetch in milliseconds, by bitshifting 1000 to the right scale times: duration_ms := 1000 >> scale
video_channelintOptionalSelected video channel
video_qualityintOptionalSelected 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];