Module tdlight.api

Class TdApi.RemoveTopChat

Enclosing class:
TdApi

public static final class TdApi.RemoveTopChat extends TdApi.Function<TdApi.Ok>
Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled. Returns Ok
  • Field Details

    • category

      public TdApi.TopChatCategory category
      Category of frequently used chats.
    • chatId

      public long chatId
      Chat identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • RemoveTopChat

      public RemoveTopChat()
      Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled. Returns Ok
    • RemoveTopChat

      public RemoveTopChat(TdApi.TopChatCategory category, long chatId)
      Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled. Returns Ok
      Parameters:
      category - TopChatCategory Category of frequently used chats.
      chatId - long Chat identifier.
    • RemoveTopChat

      public RemoveTopChat(DataInput input) throws IOException
      Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled. Returns Ok
      Throws:
      IOException
  • Method Details