Class TdApi.GetChatFolderNewChats

Enclosing class:
TdApi

public static class TdApi.GetChatFolderNewChats extends TdApi.Function<TdApi.Chats>
Returns new chats added to a shareable chat folder by its owner. The method must be called at most once in getOption("chat_folder_new_chats_update_period") for the given chat folder.

Returns Chats

  • Field Details

    • chatFolderId

      public int chatFolderId
      Chat folder identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetChatFolderNewChats

      public GetChatFolderNewChats()
      Default constructor for a function, which returns new chats added to a shareable chat folder by its owner. The method must be called at most once in getOption("chat_folder_new_chats_update_period") for the given chat folder.

      Returns Chats

    • GetChatFolderNewChats

      public GetChatFolderNewChats(int chatFolderId)
      Creates a function, which returns new chats added to a shareable chat folder by its owner. The method must be called at most once in getOption("chat_folder_new_chats_update_period") for the given chat folder.

      Returns Chats

      Parameters:
      chatFolderId - Chat folder identifier.
  • Method Details