Class TdApi.InputMessageVideoNote

Enclosing class:
TdApi

public static class TdApi.InputMessageVideoNote
extends TdApi.InputMessageContent
A video note message.
  • Field Details

    • videoNote

      public TdApi.InputFile videoNote
      Video note to be sent.
    • thumbnail

      public TdApi.InputThumbnail thumbnail
      Video thumbnail, if available.
    • duration

      public int duration
      Duration of the video, in seconds.
    • length

      public int length
      Video width and height; must be positive and not greater than 640.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • InputMessageVideoNote

      public InputMessageVideoNote()
      A video note message.
    • InputMessageVideoNote

      public InputMessageVideoNote​(TdApi.InputFile videoNote, TdApi.InputThumbnail thumbnail, int duration, int length)
      A video note message.
      Parameters:
      videoNote - InputFile Video note to be sent.
      thumbnail - InputThumbnail Video thumbnail, if available.
      duration - int Duration of the video, in seconds.
      length - int Video width and height; must be positive and not greater than 640.
    • InputMessageVideoNote

      public InputMessageVideoNote​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details