Skip to main content

inputGroupCallStream

Chunk of a livestream

type tg.InputGroupCallStream struct { /* ... */ }

Implements InputFileLocation.

Fields

NameTypeRequiredDescription
CallInputGroupCallClassyesLivestream info
TimeMsint64yesTimestamp 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
VideoChannelintSelected video channel
VideoQualityintSelected video quality (0 = lowest, 1 = medium, 2 = best)

References