Class TdApi.ProcessChatFolderNewChats

Enclosing class:
TdApi

public static class TdApi.ProcessChatFolderNewChats extends TdApi.Function<TdApi.Ok>
Process new chats added to a shareable chat folder by its owner.

Returns Ok

  • Field Details

    • chatFolderId

      public int chatFolderId
      Chat folder identifier.
    • addedChatIds

      public long[] addedChatIds
      Identifiers of the new chats, which are added to the chat folder. The chats are automatically joined if they aren't joined yet.
    • CONSTRUCTOR

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

    • ProcessChatFolderNewChats

      public ProcessChatFolderNewChats()
      Default constructor for a function, which process new chats added to a shareable chat folder by its owner.

      Returns Ok

    • ProcessChatFolderNewChats

      public ProcessChatFolderNewChats(int chatFolderId, long[] addedChatIds)
      Creates a function, which process new chats added to a shareable chat folder by its owner.

      Returns Ok

      Parameters:
      chatFolderId - Chat folder identifier.
      addedChatIds - Identifiers of the new chats, which are added to the chat folder. The chats are automatically joined if they aren't joined yet.
  • 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.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR