Package org.drinkless.tdlib
Class TdApi.ProcessChatFolderNewChats
- Enclosing class:
- TdApi
Process new chats added to a shareable chat folder by its owner.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong[]Identifiers of the new chats, which are added to the chat folder.intChat folder identifier.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which process new chats added to a shareable chat folder by its owner.ProcessChatFolderNewChats(int chatFolderId, long[] addedChatIds) Creates a function, which process new chats added to a shareable chat folder by its owner. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatFolderId
public int chatFolderIdChat folder identifier. -
addedChatIds
public long[] addedChatIdsIdentifiers 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 CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-