java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatBoostFeatures
- Enclosing class:
- TdApi
Contains a list of features available on the first chat boost levels.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The list of features.int
The minimum boost level required to set custom emoji for reply header and link preview background; for channel chats only.int
The minimum boost level required to set a chat theme background as chat background.int
The minimum boost level required to set custom chat background.int
The minimum boost level required to set custom emoji sticker set for the chat; for supergroup chats only.int
The minimum boost level required to set emoji status.int
The minimum boost level required to set custom emoji for profile background.int
The minimum boost level allowing to recognize speech in video note and voice note messages for non-Premium users; for supergroup chats only. -
Constructor Summary
ConstructorDescriptionContains a list of features available on the first chat boost levels.ChatBoostFeatures
(TdApi.ChatBoostLevelFeatures[] features, int minProfileBackgroundCustomEmojiBoostLevel, int minBackgroundCustomEmojiBoostLevel, int minEmojiStatusBoostLevel, int minChatThemeBackgroundBoostLevel, int minCustomBackgroundBoostLevel, int minCustomEmojiStickerSetBoostLevel, int minSpeechRecognitionBoostLevel) Contains a list of features available on the first chat boost levels.ChatBoostFeatures
(DataInput input) Contains a list of features available on the first chat boost levels. -
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
-
features
The list of features. -
minProfileBackgroundCustomEmojiBoostLevel
public int minProfileBackgroundCustomEmojiBoostLevelThe minimum boost level required to set custom emoji for profile background. -
minBackgroundCustomEmojiBoostLevel
public int minBackgroundCustomEmojiBoostLevelThe minimum boost level required to set custom emoji for reply header and link preview background; for channel chats only. -
minEmojiStatusBoostLevel
public int minEmojiStatusBoostLevelThe minimum boost level required to set emoji status. -
minChatThemeBackgroundBoostLevel
public int minChatThemeBackgroundBoostLevelThe minimum boost level required to set a chat theme background as chat background. -
minCustomBackgroundBoostLevel
public int minCustomBackgroundBoostLevelThe minimum boost level required to set custom chat background. -
minCustomEmojiStickerSetBoostLevel
public int minCustomEmojiStickerSetBoostLevelThe minimum boost level required to set custom emoji sticker set for the chat; for supergroup chats only. -
minSpeechRecognitionBoostLevel
public int minSpeechRecognitionBoostLevelThe minimum boost level allowing to recognize speech in video note and voice note messages for non-Premium users; for supergroup chats only. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatBoostFeatures
public ChatBoostFeatures()Contains a list of features available on the first chat boost levels. -
ChatBoostFeatures
public ChatBoostFeatures(TdApi.ChatBoostLevelFeatures[] features, int minProfileBackgroundCustomEmojiBoostLevel, int minBackgroundCustomEmojiBoostLevel, int minEmojiStatusBoostLevel, int minChatThemeBackgroundBoostLevel, int minCustomBackgroundBoostLevel, int minCustomEmojiStickerSetBoostLevel, int minSpeechRecognitionBoostLevel) Contains a list of features available on the first chat boost levels.- Parameters:
features
- The list of features.minProfileBackgroundCustomEmojiBoostLevel
- The minimum boost level required to set custom emoji for profile background.minBackgroundCustomEmojiBoostLevel
- The minimum boost level required to set custom emoji for reply header and link preview background; for channel chats only.minEmojiStatusBoostLevel
- The minimum boost level required to set emoji status.minChatThemeBackgroundBoostLevel
- The minimum boost level required to set a chat theme background as chat background.minCustomBackgroundBoostLevel
- The minimum boost level required to set custom chat background.minCustomEmojiStickerSetBoostLevel
- The minimum boost level required to set custom emoji sticker set for the chat; for supergroup chats only.minSpeechRecognitionBoostLevel
- The minimum boost level allowing to recognize speech in video note and voice note messages for non-Premium users; for supergroup chats only.
-
ChatBoostFeatures
Contains a list of features available on the first chat boost levels.- 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()
-