Package org.drinkless.tdlib
Class TdApi.VideoChatStream
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.VideoChatStream
- Enclosing class:
- TdApi
Describes an available stream in a video chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
Identifier of an audio/video channel.static final int
Identifier uniquely determining type of the object.int
Scale of segment durations in the stream.long
Point in time when the stream currently ends; Unix timestamp in milliseconds. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes an available stream in a video chat.VideoChatStream
(int channelId, int scale, long timeOffset) Describes an available stream in a video chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
channelId
public int channelIdIdentifier of an audio/video channel. -
scale
public int scaleScale of segment durations in the stream. The duration is 1000/(2**scale) milliseconds. -
timeOffset
public long timeOffsetPoint in time when the stream currently ends; Unix timestamp in milliseconds. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
VideoChatStream
public VideoChatStream()Describes an available stream in a video chat. -
VideoChatStream
public VideoChatStream(int channelId, int scale, long timeOffset) Describes an available stream in a video chat.- Parameters:
channelId
- Identifier of an audio/video channel.scale
- Scale of segment durations in the stream. The duration is 1000/(2**scale) milliseconds.timeOffset
- Point in time when the stream currently ends; Unix timestamp in milliseconds.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-