Class TdApi.SetAccountTtl

Enclosing class:
TdApi

public static class TdApi.SetAccountTtl extends TdApi.Function<TdApi.Ok>
Changes the period of inactivity after which the account of the current user will automatically be deleted.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    New account TTL.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which changes the period of inactivity after which the account of the current user will automatically be deleted.
    Creates a function, which changes the period of inactivity after which the account of the current user will automatically be deleted.
  • 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.Function

    toString

    Methods inherited from class java.lang.Object

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

    • ttl

      public TdApi.AccountTtl ttl
      New account TTL.
    • CONSTRUCTOR

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

    • SetAccountTtl

      public SetAccountTtl()
      Default constructor for a function, which changes the period of inactivity after which the account of the current user will automatically be deleted.

      Returns Ok

    • SetAccountTtl

      public SetAccountTtl(TdApi.AccountTtl ttl)
      Creates a function, which changes the period of inactivity after which the account of the current user will automatically be deleted.

      Returns Ok

      Parameters:
      ttl - New account TTL.
  • 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