Module tdlight.api

Class TdApi.MessageVideoNote

Enclosing class:
TdApi

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

    • videoNote

      public TdApi.VideoNote videoNote
      The video note description.
    • isViewed

      public boolean isViewed
      True, if at least one of the recipients has viewed the video note.
    • isSecret

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

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • MessageVideoNote

      public MessageVideoNote()
      A video note message.
    • MessageVideoNote

      public MessageVideoNote(TdApi.VideoNote videoNote, boolean isViewed, boolean isSecret)
      A video note message.
      Parameters:
      videoNote - The video note description.
      isViewed - True, if at least one of the recipients has viewed the video note.
      isSecret - True, if the video note thumbnail must be blurred and the video note must be shown only while tapped.
    • MessageVideoNote

      public MessageVideoNote(DataInput input) throws IOException
      A video note message.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object