pub struct ChatBoostFeatures {
pub features: Vec<ChatBoostLevelFeatures>,
pub min_profile_background_custom_emoji_boost_level: i32,
pub min_background_custom_emoji_boost_level: i32,
pub min_emoji_status_boost_level: i32,
pub min_chat_theme_background_boost_level: i32,
pub min_custom_background_boost_level: i32,
pub min_custom_emoji_sticker_set_boost_level: i32,
pub min_automatic_translation_boost_level: i32,
pub min_speech_recognition_boost_level: i32,
pub min_sponsored_message_disable_boost_level: i32,
}Expand description
Contains a list of features available on the first chat boost levels
Fields§
§features: Vec<ChatBoostLevelFeatures>The list of features
min_profile_background_custom_emoji_boost_level: i32The minimum boost level required to set custom emoji for profile background
min_background_custom_emoji_boost_level: i32The minimum boost level required to set custom emoji for reply header and link preview background; for channel chats only
min_emoji_status_boost_level: i32The minimum boost level required to set emoji status
min_chat_theme_background_boost_level: i32The minimum boost level required to set a chat theme background as chat background
min_custom_background_boost_level: i32The minimum boost level required to set custom chat background
min_custom_emoji_sticker_set_boost_level: i32The minimum boost level required to set custom emoji sticker set for the chat; for supergroup chats only
min_automatic_translation_boost_level: i32The minimum boost level allowing to enable automatic translation of messages for non-Premium users; for channel chats only
min_speech_recognition_boost_level: i32The minimum boost level allowing to recognize speech in video note and voice note messages for non-Premium users; for supergroup chats only
min_sponsored_message_disable_boost_level: i32The minimum boost level allowing to disable sponsored messages in the chat; for channel chats only
Trait Implementations§
Source§impl Clone for ChatBoostFeatures
impl Clone for ChatBoostFeatures
Source§fn clone(&self) -> ChatBoostFeatures
fn clone(&self) -> ChatBoostFeatures
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ChatBoostFeatures
impl Debug for ChatBoostFeatures
Source§impl Default for ChatBoostFeatures
impl Default for ChatBoostFeatures
Source§fn default() -> ChatBoostFeatures
fn default() -> ChatBoostFeatures
Source§impl<'de> Deserialize<'de> for ChatBoostFeatures
impl<'de> Deserialize<'de> for ChatBoostFeatures
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ChatBoostFeatures
impl PartialEq for ChatBoostFeatures
Source§fn eq(&self, other: &ChatBoostFeatures) -> bool
fn eq(&self, other: &ChatBoostFeatures) -> bool
self and other values to be equal, and is used by ==.