Class: TD::Types::ChatBoostFeatures
- Defined in:
- lib/tdlib/types/chat_boost_features.rb
Overview
Contains a list of features available on the first chat boost levels.
Instance Attribute Summary collapse
-
#features ⇒ Array<TD::Types::ChatBoostLevelFeatures>
The list of features.
-
#min_background_custom_emoji_boost_level ⇒ Integer
The minimum boost level required to set custom emoji for reply header and link preview background; for channel chats only.
-
#min_chat_theme_background_boost_level ⇒ Integer
The minimum boost level required to set a chat theme background as chat background.
-
#min_custom_background_boost_level ⇒ Integer
The minimum boost level required to set custom chat background.
-
#min_custom_emoji_sticker_set_boost_level ⇒ Integer
The minimum boost level required to set custom emoji sticker set for the chat; for supergroup chats only.
-
#min_emoji_status_boost_level ⇒ Integer
The minimum boost level required to set emoji status.
-
#min_profile_background_custom_emoji_boost_level ⇒ Integer
The minimum boost level required to set custom emoji for profile background.
-
#min_speech_recognition_boost_level ⇒ Integer
The 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 ⇒ Integer
The minimum boost level allowing to disable sponsored messages in the chat; for channel chats only.
Method Summary
Methods inherited from Base
Instance Attribute Details
#features ⇒ Array<TD::Types::ChatBoostLevelFeatures>
The list of features.
19 20 21 |
# File 'lib/tdlib/types/chat_boost_features.rb', line 19 def features @features end |
#min_background_custom_emoji_boost_level ⇒ Integer
The minimum boost level required to set custom emoji for reply header and link preview background; for channel chats only.
19 20 21 |
# File 'lib/tdlib/types/chat_boost_features.rb', line 19 def min_background_custom_emoji_boost_level @min_background_custom_emoji_boost_level end |
#min_chat_theme_background_boost_level ⇒ Integer
The minimum boost level required to set a chat theme background as chat background.
19 20 21 |
# File 'lib/tdlib/types/chat_boost_features.rb', line 19 def min_chat_theme_background_boost_level @min_chat_theme_background_boost_level end |
#min_custom_background_boost_level ⇒ Integer
The minimum boost level required to set custom chat background.
19 20 21 |
# File 'lib/tdlib/types/chat_boost_features.rb', line 19 def min_custom_background_boost_level @min_custom_background_boost_level end |
#min_custom_emoji_sticker_set_boost_level ⇒ Integer
The minimum boost level required to set custom emoji sticker set for the chat; for supergroup chats only.
19 20 21 |
# File 'lib/tdlib/types/chat_boost_features.rb', line 19 def min_custom_emoji_sticker_set_boost_level @min_custom_emoji_sticker_set_boost_level end |
#min_emoji_status_boost_level ⇒ Integer
The minimum boost level required to set emoji status.
19 20 21 |
# File 'lib/tdlib/types/chat_boost_features.rb', line 19 def min_emoji_status_boost_level @min_emoji_status_boost_level end |
#min_profile_background_custom_emoji_boost_level ⇒ Integer
The minimum boost level required to set custom emoji for profile background.
19 20 21 |
# File 'lib/tdlib/types/chat_boost_features.rb', line 19 def min_profile_background_custom_emoji_boost_level @min_profile_background_custom_emoji_boost_level end |
#min_speech_recognition_boost_level ⇒ Integer
The minimum boost level allowing to recognize speech in video note and voice note messages for non-Premium users; for supergroup chats only.
19 20 21 |
# File 'lib/tdlib/types/chat_boost_features.rb', line 19 def min_speech_recognition_boost_level @min_speech_recognition_boost_level end |
#min_sponsored_message_disable_boost_level ⇒ Integer
The minimum boost level allowing to disable sponsored messages in the chat; for channel chats only.
19 20 21 |
# File 'lib/tdlib/types/chat_boost_features.rb', line 19 def @min_sponsored_message_disable_boost_level end |