- 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
ConstructorDescriptionProcess new chats added to a shareable chat folder by its owner.ProcessChatFolderNewChats
(int chatFolderId, long[] addedChatIds) Process new chats added to a shareable chat folder by its owner.Process new chats added to a shareable chat folder by its owner. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
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()Process new chats added to a shareable chat folder by its owner.Returns
Ok
-
ProcessChatFolderNewChats
public ProcessChatFolderNewChats(int chatFolderId, long[] addedChatIds) 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.Returns
Ok
-
ProcessChatFolderNewChats
Process new chats added to a shareable chat folder by its owner.Returns
Ok
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-