Class TdApi.MessageSelfDestructTypeTimer

Enclosing class:
TdApi

public static class TdApi.MessageSelfDestructTypeTimer extends TdApi.MessageSelfDestructType
The message will be self-destructed in the specified time after its content was opened.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    The message's self-destruct time, in seconds; must be between 0 and 60 in private chats.
  • Constructor Summary

    Constructors
    Constructor
    Description
    The message will be self-destructed in the specified time after its content was opened.
    MessageSelfDestructTypeTimer(int selfDestructTime)
    The message will be self-destructed in the specified time after its content was opened.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • selfDestructTime

      public int selfDestructTime
      The message's self-destruct time, in seconds; must be between 0 and 60 in private chats.
    • CONSTRUCTOR

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

    • MessageSelfDestructTypeTimer

      public MessageSelfDestructTypeTimer()
      The message will be self-destructed in the specified time after its content was opened.
    • MessageSelfDestructTypeTimer

      public MessageSelfDestructTypeTimer(int selfDestructTime)
      The message will be self-destructed in the specified time after its content was opened.
      Parameters:
      selfDestructTime - The message's self-destruct time, in seconds; must be between 0 and 60 in private chats.
  • 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