Module tdlight.api

Class TdApi.MessageVideo

Enclosing class:
TdApi

public static final class TdApi.MessageVideo extends TdApi.MessageContent
A video message.
  • Field Details

    • video

      public TdApi.Video video
      The video description.
    • caption

      public TdApi.FormattedText caption
      Video caption.
    • hasSpoiler

      public boolean hasSpoiler
      True, if the video preview must be covered by a spoiler animation.
    • isSecret

      public boolean isSecret
      True, if the video thumbnail must be blurred and the video must be shown only while tapped.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • MessageVideo

      public MessageVideo()
      A video message.
    • MessageVideo

      public MessageVideo(TdApi.Video video, TdApi.FormattedText caption, boolean hasSpoiler, boolean isSecret)
      A video message.
      Parameters:
      video - Video The video description.
      caption - FormattedText Video caption.
      hasSpoiler - boolean True, if the video preview must be covered by a spoiler animation.
      isSecret - boolean True, if the video thumbnail must be blurred and the video must be shown only while tapped.
    • MessageVideo

      public MessageVideo(DataInput input) throws IOException
      A video message.
      Throws:
      IOException
  • Method Details