InputGroupCallStream

class pyrogram.raw.types.InputGroupCallStream

Chunk of a livestream

Constructor of InputFileLocation.

Details:
  • Layer: 223

  • ID: 598A92A

Parameters:
  • call (InputGroupCall) – Livestream info

  • time_ms (int 64-bit) – Timestamp in milliseconds

  • scale (int 32-bit) – 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 32-bit, optional) – Selected video channel

  • video_quality (int 32-bit, optional) – Selected video quality (0 = lowest, 1 = medium, 2 = best)

TL Schema

inputGroupCallStream#598a92a
flags:#
call:InputGroupCall
time_ms:long
scale:int
video_channel:flags.0?int
video_quality:flags.0?int

= InputFileLocation

Parameter Tree

InputGroupCallStream
├── callInputGroupCall
│ ├── InputGroupCall
│ │ ├── idlong
│ │ └── access_hashlong
│ ├── InputGroupCallSlug
│ │ └── slugstring
│ └── msg_idint
├── time_mslong
├── scaleint
├── video_channelint (optional)
└── video_qualityint (optional)

Example

InputGroupCallStream(
    call=InputGroupCall(
        id=0,
        access_hash=0
    ),
    time_ms=0,
    scale=0,
)