Class TdApi.ProcessChatFolderNewChats
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.ProcessChatFolderNewChats
- Enclosing class:
- TdApi
Process new chats added to a shareable chat folder by its owner.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong[]
Identifiers of the new chats, which are added to the chat folder.int
Chat folder identifier.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-