Package it.tdlight.jni
Class TdApi.ChatFilterInfo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatFilterInfo
- Enclosing class:
- TdApi
public static class TdApi.ChatFilterInfo extends TdApi.Object
Contains basic information about a chat filter.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChatFilterInfo()
Contains basic information about a chat filter.ChatFilterInfo(int id, String title, String iconName)
Contains basic information about a chat filter.ChatFilterInfo(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public int idUnique chat filter identifier. -
title
The title of the filter; 1-12 characters without line feeds. -
iconName
The icon name for short filter representation. One of "All", "Unread", "Unmuted", "Bots", "Channels", "Groups", "Private", "Custom", "Setup", "Cat", "Crown", "Favorite", "Flower", "Game", "Home", "Love", "Mask", "Party", "Sport", "Study", "Trade", "Travel", "Work". -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatFilterInfo
public ChatFilterInfo()Contains basic information about a chat filter. -
ChatFilterInfo
Contains basic information about a chat filter.- Parameters:
id
- int Unique chat filter identifier.title
- String The title of the filter; 1-12 characters without line feeds.iconName
- String The icon name for short filter representation. One of "All", "Unread", "Unmuted", "Bots", "Channels", "Groups", "Private", "Custom", "Setup", "Cat", "Crown", "Favorite", "Flower", "Game", "Home", "Love", "Mask", "Party", "Sport", "Study", "Trade", "Travel", "Work".
-
ChatFilterInfo
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-