Class TdApi.MessageAutoDeleteTime

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageAutoDeleteTime
Enclosing class:
TdApi

public static class TdApi.MessageAutoDeleteTime extends TdApi.Object
Contains default auto-delete timer setting for new chats.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    Message auto-delete time, in seconds.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Contains default auto-delete timer setting for new chats.
    Contains default auto-delete timer setting for new chats.
  • 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

    • time

      public int time
      Message auto-delete time, in seconds. If 0, then messages aren't deleted automatically.
    • CONSTRUCTOR

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

    • MessageAutoDeleteTime

      public MessageAutoDeleteTime()
      Contains default auto-delete timer setting for new chats.
    • MessageAutoDeleteTime

      public MessageAutoDeleteTime(int time)
      Contains default auto-delete timer setting for new chats.
      Parameters:
      time - Message auto-delete time, in seconds. If 0, then messages aren't deleted automatically.
  • 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