Class TdApi.RemoveTopChat

Enclosing class:
TdApi

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