public static class TdApi.ChatBoostLevelFeatures extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int |
accentColorCount
Number of custom colors for background of empty chat photo, replies to messages and link previews.
|
boolean |
canDisableSponsoredMessages
True, if sponsored messages can be disabled in the chat.
|
boolean |
canRecognizeSpeech
True, if speech recognition can be used for video note and voice note messages by all users.
|
boolean |
canSetBackgroundCustomEmoji
True, if custom emoji for reply header and link preview background can be set.
|
boolean |
canSetCustomBackground
True, if custom background can be set in the chat for all users.
|
boolean |
canSetCustomEmojiStickerSet
True, if custom emoji sticker set can be set for the chat.
|
boolean |
canSetEmojiStatus
True, if emoji status can be set.
|
boolean |
canSetProfileBackgroundCustomEmoji
True, if custom emoji for profile background can be set.
|
int |
chatThemeBackgroundCount
Number of chat theme backgrounds that can be set as chat background.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
customEmojiReactionCount
Number of custom emoji reactions that can be added to the list of available reactions.
|
int |
level
Target chat boost level.
|
int |
profileAccentColorCount
Number of custom colors for profile photo background.
|
int |
storyPerDayCount
Number of stories that the chat can publish daily.
|
int |
titleColorCount
Number of custom colors for chat title.
|
| Constructor and Description |
|---|
ChatBoostLevelFeatures()
Contains 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int level
public int storyPerDayCount
public int customEmojiReactionCount
public int titleColorCount
public int profileAccentColorCount
public boolean canSetProfileBackgroundCustomEmoji
public int accentColorCount
public boolean canSetBackgroundCustomEmoji
public boolean canSetEmojiStatus
public int chatThemeBackgroundCount
public boolean canSetCustomBackground
public boolean canSetCustomEmojiStickerSet
public boolean canRecognizeSpeech
public boolean canDisableSponsoredMessages
public static final int CONSTRUCTOR
public 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)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object