Class TdApi.ChatFolderInfo
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatFolderInfo
- Enclosing class:
- TdApi
Contains basic information about a chat folder.
-
Field Summary
Modifier and TypeFieldDescriptionint
The identifier of the chosen color for the chat folder icon; from -1 to 6.static 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.boolean
True, if at least one link has been created for the folder.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, int colorId, boolean isShareable, boolean hasMyInviteLinks) Contains basic information about a chat folder. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
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. -
colorId
public int colorIdThe identifier of the chosen color for the chat folder icon; from -1 to 6. If -1, then color is disabled. -
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
public ChatFolderInfo(int id, String title, TdApi.ChatFolderIcon icon, int colorId, boolean isShareable, boolean hasMyInviteLinks) 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.colorId
- The identifier of the chosen color for the chat folder icon; from -1 to 6. If -1, then color is disabled.isShareable
- True, if at least one link has been created for the folder.hasMyInviteLinks
- True, if the chat folder has invite links created by the current user.
-
-
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
-