Layer 220
InputGroupCallStream
Chunk of a livestream
constructor
inputGroupCallStream#598a92a flags:# call:InputGroupCall time_ms:long scale:int video_channel:flags.0?int video_quality:flags.0?int = InputFileLocation;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Call | InputGroupCall | Livestream info |
| TimeMs | long | Timestamp in milliseconds |
| Scale | int | Specifies the duration of the video segment to fetch in milliseconds, by bitshifting 1000 to the right scale times: duration_ms:= 1000 >> scale |
| VideoChannel | flags.0?int | Selected video channel |
| VideoQuality | flags.0?int | Selected video quality (0 = lowest, 1 = medium, 2 = best) |
Returns
InputFileLocationGogram Example
// Creating InputGroupCallStream constructor obj := &tg.InputGroupCallStream{ Call: &tg.InputGroupCall{}, TimeMs: int64(0), Scale: 0, // Optional fields: // VideoChannel: 0, // VideoQuality: 0, }