Class TdApi.CloseSecretChat

Enclosing class:
TdApi

public static class TdApi.CloseSecretChat
extends TdApi.Function
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:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details