public static class TdApi.ChatFolderInfo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int |
colorId
The identifier of the chosen color for the chat folder icon; from -1 to 6.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hasMyInviteLinks
True, if the chat folder has invite links created by the current user.
|
TdApi.ChatFolderIcon |
icon
The chosen or default icon for the chat folder.
|
int |
id
Unique chat folder identifier.
|
boolean |
isShareable
True, if at least one link has been created for the folder.
|
java.lang.String |
title
The title of the folder; 1-12 characters without line feeds.
|
| Constructor and Description |
|---|
ChatFolderInfo()
Contains basic information about a chat folder.
|
ChatFolderInfo(int id,
java.lang.String title,
TdApi.ChatFolderIcon icon,
int colorId,
boolean isShareable,
boolean hasMyInviteLinks)
Contains basic information about a chat folder.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int id
public java.lang.String title
public TdApi.ChatFolderIcon icon
public int colorId
public boolean isShareable
public boolean hasMyInviteLinks
public static final int CONSTRUCTOR
public ChatFolderInfo()
public ChatFolderInfo(int id,
java.lang.String title,
TdApi.ChatFolderIcon icon,
int colorId,
boolean isShareable,
boolean hasMyInviteLinks)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object