Module tdlight.api

Class TdApi.CloseSecretChat

Enclosing class:
TdApi

public static final class TdApi.CloseSecretChat extends TdApi.Function<TdApi.Ok>
Closes a secret chat, effectively transferring its state to secretChatStateClosed.

Returns Ok

  • Field Details

    • secretChatId

      public int secretChatId
      Secret chat identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • CloseSecretChat

      public CloseSecretChat()
      Closes a secret chat, effectively transferring its state to secretChatStateClosed.

      Returns Ok

    • CloseSecretChat

      public CloseSecretChat(int secretChatId)
      Closes a secret chat, effectively transferring its state to secretChatStateClosed.

      Returns Ok

      Parameters:
      secretChatId - int Secret chat identifier.
    • CloseSecretChat

      public CloseSecretChat(DataInput input) throws IOException
      Closes a secret chat, effectively transferring its state to secretChatStateClosed.

      Returns Ok

      Throws:
      IOException
  • Method Details