Class TdApi.SendChatSetTtlMessage

Enclosing class:
TdApi

public static class TdApi.SendChatSetTtlMessage
extends TdApi.Function
Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message.

Returns Message

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • ttl

      public int ttl
      New TTL value, in seconds.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • SendChatSetTtlMessage

      public SendChatSetTtlMessage()
      Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message.

      Returns Message

    • SendChatSetTtlMessage

      public SendChatSetTtlMessage​(long chatId, int ttl)
      Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message.

      Returns Message

      Parameters:
      chatId - long Chat identifier.
      ttl - int New TTL value, in seconds.
    • SendChatSetTtlMessage

      public SendChatSetTtlMessage​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details