Class TdApi.LinkPreviewTypeVideoChat
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewType
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewTypeVideoChat
- Enclosing class:
- TdApi
The link is a link to a video chat.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if the video chat is expected to be a live stream in a channel or a broadcast group.Photo of the chat with the video chat; may be null if none. -
Constructor Summary
ConstructorDescriptionThe link is a link to a video chat.LinkPreviewTypeVideoChat
(TdApi.ChatPhoto photo, boolean isLiveStream) The link is a link to a video chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
photo
Photo of the chat with the video chat; may be null if none. -
isLiveStream
public boolean isLiveStreamTrue, if the video chat is expected to be a live stream in a channel or a broadcast group. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
LinkPreviewTypeVideoChat
public LinkPreviewTypeVideoChat()The link is a link to a video chat. -
LinkPreviewTypeVideoChat
The link is a link to a video chat.- Parameters:
photo
- Photo of the chat with the video chat; may be null if none.isLiveStream
- True, if the video chat is expected to be a live stream in a channel or a broadcast group.
-
-
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
-