inputGroupCallStream
Chunk of a livestream
type tg.InputGroupCallStream struct { /* ... */ }
Implements InputFileLocation.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Call | InputGroupCallClass | yes | Livestream info |
TimeMs | int64 | 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 |
VideoChannel | int | — | Selected video channel |
VideoQuality | int | — | Selected video quality (0 = lowest, 1 = medium, 2 = best) |
References
- Official documentation
- Generated Go reference
- TL definition:
inputGroupCallStream#598a92a