Module tdlight.api

Class TdApi.InputMessageVideoNote

Enclosing class:
TdApi

public static final 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; pass null to skip thumbnail uploading.
    • 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:
  • 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; pass null to skip thumbnail uploading.
      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
      A video note message.
      Throws:
      IOException
  • Method Details