Module tdlight.api

Class TdApi.CloseChat

Enclosing class:
TdApi

public static class TdApi.CloseChat extends TdApi.Function<TdApi.Ok>
Informs TDLib that the chat is closed by the user. Many useful activities depend on the chat being opened or closed.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • CloseChat

      public CloseChat()
      Informs TDLib that the chat is closed by the user. Many useful activities depend on the chat being opened or closed.

      Returns Ok

    • CloseChat

      public CloseChat(long chatId)
      Informs TDLib that the chat is closed by the user. Many useful activities depend on the chat being opened or closed.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
    • CloseChat

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