Class TdApi.ChatBoostLevelFeatures
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatBoostLevelFeatures
- Enclosing class:
- TdApi
Contains a list of features available on a specific chat boost level.
-
Field Summary
Modifier and TypeFieldDescriptionint
Number of custom colors for background of empty chat photo, replies to messages and link previews.boolean
True, if sponsored messages can be disabled in the chat.boolean
True, if speech recognition can be used for video note and voice note messages by all users.boolean
True, if custom emoji for reply header and link preview background can be set.boolean
True, if custom background can be set in the chat for all users.boolean
True, if custom emoji sticker set can be set for the chat.boolean
True, if emoji status can be set.boolean
True, if custom emoji for profile background can be set.int
Number of chat theme backgrounds that can be set as chat background.static final int
Identifier uniquely determining type of the object.int
Number of custom emoji reactions that can be added to the list of available reactions.int
Target chat boost level.int
Number of custom colors for profile photo background.int
Number of stories that the chat can publish daily.int
Number of custom colors for chat title. -
Constructor Summary
ConstructorDescriptionContains a list of features available on a specific chat boost level.ChatBoostLevelFeatures
(int level, int storyPerDayCount, int customEmojiReactionCount, int titleColorCount, int profileAccentColorCount, boolean canSetProfileBackgroundCustomEmoji, int accentColorCount, boolean canSetBackgroundCustomEmoji, boolean canSetEmojiStatus, int chatThemeBackgroundCount, boolean canSetCustomBackground, boolean canSetCustomEmojiStickerSet, boolean canRecognizeSpeech, boolean canDisableSponsoredMessages) Contains a list of features available on a specific chat boost level. -
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
-
level
public int levelTarget chat boost level. -
storyPerDayCount
public int storyPerDayCountNumber of stories that the chat can publish daily. -
customEmojiReactionCount
public int customEmojiReactionCountNumber of custom emoji reactions that can be added to the list of available reactions. -
titleColorCount
public int titleColorCountNumber of custom colors for chat title. -
profileAccentColorCount
public int profileAccentColorCountNumber of custom colors for profile photo background. -
canSetProfileBackgroundCustomEmoji
public boolean canSetProfileBackgroundCustomEmojiTrue, if custom emoji for profile background can be set. -
accentColorCount
public int accentColorCountNumber of custom colors for background of empty chat photo, replies to messages and link previews. -
canSetBackgroundCustomEmoji
public boolean canSetBackgroundCustomEmojiTrue, if custom emoji for reply header and link preview background can be set. -
canSetEmojiStatus
public boolean canSetEmojiStatusTrue, if emoji status can be set. -
chatThemeBackgroundCount
public int chatThemeBackgroundCountNumber of chat theme backgrounds that can be set as chat background. -
canSetCustomBackground
public boolean canSetCustomBackgroundTrue, if custom background can be set in the chat for all users. -
canSetCustomEmojiStickerSet
public boolean canSetCustomEmojiStickerSetTrue, if custom emoji sticker set can be set for the chat. -
canRecognizeSpeech
public boolean canRecognizeSpeechTrue, if speech recognition can be used for video note and voice note messages by all users. -
canDisableSponsoredMessages
public boolean canDisableSponsoredMessagesTrue, if sponsored messages can be disabled in the chat. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatBoostLevelFeatures
public ChatBoostLevelFeatures()Contains a list of features available on a specific chat boost level. -
ChatBoostLevelFeatures
public ChatBoostLevelFeatures(int level, int storyPerDayCount, int customEmojiReactionCount, int titleColorCount, int profileAccentColorCount, boolean canSetProfileBackgroundCustomEmoji, int accentColorCount, boolean canSetBackgroundCustomEmoji, boolean canSetEmojiStatus, int chatThemeBackgroundCount, boolean canSetCustomBackground, boolean canSetCustomEmojiStickerSet, boolean canRecognizeSpeech, boolean canDisableSponsoredMessages) Contains a list of features available on a specific chat boost level.- Parameters:
level
- Target chat boost level.storyPerDayCount
- Number of stories that the chat can publish daily.customEmojiReactionCount
- Number of custom emoji reactions that can be added to the list of available reactions.titleColorCount
- Number of custom colors for chat title.profileAccentColorCount
- Number of custom colors for profile photo background.canSetProfileBackgroundCustomEmoji
- True, if custom emoji for profile background can be set.accentColorCount
- Number of custom colors for background of empty chat photo, replies to messages and link previews.canSetBackgroundCustomEmoji
- True, if custom emoji for reply header and link preview background can be set.canSetEmojiStatus
- True, if emoji status can be set.chatThemeBackgroundCount
- Number of chat theme backgrounds that can be set as chat background.canSetCustomBackground
- True, if custom background can be set in the chat for all users.canSetCustomEmojiStickerSet
- True, if custom emoji sticker set can be set for the chat.canRecognizeSpeech
- True, if speech recognition can be used for video note and voice note messages by all users.canDisableSponsoredMessages
- True, if sponsored messages can be disabled in the chat.
-
-
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
-