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 Detail

      • chatId

        public long chatId
        Chat identifier.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RemoveTopChat

        public RemoveTopChat()
        Default constructor.
      • RemoveTopChat

        public RemoveTopChat​(TdApi.TopChatCategory category,
                             long chatId)
        Constructor for initialization of all fields.
        Parameters:
        category - Category of frequently used chats.
        chatId - Chat identifier.