java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatFolderInfo
- Enclosing class:
- TdApi
Contains basic information about a chat folder.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if the chat folder has invite links created by the current user.The chosen or default icon for the chat folder.int
Unique chat folder identifier.The title of the folder; 1-12 characters without line feeds. -
Constructor Summary
ConstructorDescriptionContains basic information about a chat folder.ChatFolderInfo
(int id, String title, TdApi.ChatFolderIcon icon, boolean hasMyInviteLinks) Contains basic information about a chat folder.ChatFolderInfo
(DataInput input) Contains basic information about a chat folder. -
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.Object
serialize, toString
-
Field Details
-
id
public int idUnique chat folder identifier. -
title
The title of the folder; 1-12 characters without line feeds. -
icon
The chosen or default icon for the chat folder. -
hasMyInviteLinks
public boolean hasMyInviteLinksTrue, if the chat folder has invite links created by the current user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatFolderInfo
public ChatFolderInfo()Contains basic information about a chat folder. -
ChatFolderInfo
Contains basic information about a chat folder.- Parameters:
id
- Unique chat folder identifier.title
- The title of the folder; 1-12 characters without line feeds.icon
- The chosen or default icon for the chat folder.hasMyInviteLinks
- True, if the chat folder has invite links created by the current user.
-
ChatFolderInfo
Contains basic information about a chat folder.- 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()
-