- Enclosing class:
- TdApi
Adds a chat folder by an invite link.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong[]
Identifiers of the chats added to the chat folder.static final int
Identifier uniquely determining type of the object.Invite link for the chat folder. -
Constructor Summary
ConstructorDescriptionAdds a chat folder by an invite link.Adds a chat folder by an invite link.AddChatFolderByInviteLink
(String inviteLink, long[] chatIds) Adds a chat folder by an invite link. -
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
-
inviteLink
Invite link for the chat folder. -
chatIds
public long[] chatIdsIdentifiers of the chats 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
-
AddChatFolderByInviteLink
public AddChatFolderByInviteLink()Adds a chat folder by an invite link.Returns
Ok
-
AddChatFolderByInviteLink
Adds a chat folder by an invite link.Returns
Ok
- Parameters:
inviteLink
- Invite link for the chat folder.chatIds
- Identifiers of the chats added to the chat folder. The chats are automatically joined if they aren't joined yet.Returns
Ok
-
AddChatFolderByInviteLink
Adds a chat folder by an invite link.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()
-