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 Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    Chat folder identifier.
    static final int
    Identifier uniquely determining type of the object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns new chats added to a shareable chat folder by its owner.
    GetChatFolderNewChats(int chatFolderId)
    Creates a function, which returns new chats added to a shareable chat folder by its owner.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR