Class: TD::Types::ChatBoostLevelFeatures
- Defined in:
- lib/tdlib/types/chat_boost_level_features.rb
Overview
Contains a list of features available on a specific chat boost level.
Instance Attribute Summary collapse
-
#accent_color_count ⇒ Integer
Number of custom colors for background of empty chat photo, replies to messages and link previews.
-
#can_disable_sponsored_messages ⇒ Boolean
True, if sponsored messages can be disabled in the chat.
-
#can_recognize_speech ⇒ Boolean
True, if speech recognition can be used for video note and voice note messages by all users.
-
#can_set_background_custom_emoji ⇒ Boolean
True, if custom emoji for reply header and link preview background can be set.
-
#can_set_custom_background ⇒ Boolean
True, if custom background can be set in the chat for all users.
-
#can_set_custom_emoji_sticker_set ⇒ Boolean
True, if custom emoji sticker set can be set for the chat.
-
#can_set_emoji_status ⇒ Boolean
True, if emoji status can be set.
-
#can_set_profile_background_custom_emoji ⇒ Boolean
True, if custom emoji for profile background can be set.
-
#chat_theme_background_count ⇒ Integer
Number of chat theme backgrounds that can be set as chat background.
-
#custom_emoji_reaction_count ⇒ Integer
Number of custom emoji reactions that can be added to the list of available reactions.
-
#level ⇒ Integer
Target chat boost level.
-
#profile_accent_color_count ⇒ Integer
Number of custom colors for profile photo background.
-
#story_per_day_count ⇒ Integer
Number of stories that the chat can publish daily.
-
#title_color_count ⇒ Integer
Number of custom colors for chat title.
Method Summary
Methods inherited from Base
Instance Attribute Details
#accent_color_count ⇒ Integer
Number of custom colors for background of empty chat photo, replies to messages and link previews.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def accent_color_count @accent_color_count end |
#can_disable_sponsored_messages ⇒ Boolean
True, if sponsored messages can be disabled in the chat.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def @can_disable_sponsored_messages end |
#can_recognize_speech ⇒ Boolean
True, if speech recognition can be used for video note and voice note messages by all users.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def can_recognize_speech @can_recognize_speech end |
#can_set_background_custom_emoji ⇒ Boolean
True, if custom emoji for reply header and link preview background can be set.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def can_set_background_custom_emoji @can_set_background_custom_emoji end |
#can_set_custom_background ⇒ Boolean
True, if custom background can be set in the chat for all users.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def can_set_custom_background @can_set_custom_background end |
#can_set_custom_emoji_sticker_set ⇒ Boolean
True, if custom emoji sticker set can be set for the chat.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def can_set_custom_emoji_sticker_set @can_set_custom_emoji_sticker_set end |
#can_set_emoji_status ⇒ Boolean
True, if emoji status can be set.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def can_set_emoji_status @can_set_emoji_status end |
#can_set_profile_background_custom_emoji ⇒ Boolean
True, if custom emoji for profile background can be set.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def can_set_profile_background_custom_emoji @can_set_profile_background_custom_emoji end |
#chat_theme_background_count ⇒ Integer
Number of chat theme backgrounds that can be set as chat background.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def chat_theme_background_count @chat_theme_background_count end |
#custom_emoji_reaction_count ⇒ Integer
Number of custom emoji reactions that can be added to the list of available reactions.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def custom_emoji_reaction_count @custom_emoji_reaction_count end |
#level ⇒ Integer
Target chat boost level.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def level @level end |
#profile_accent_color_count ⇒ Integer
Number of custom colors for profile photo background.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def profile_accent_color_count @profile_accent_color_count end |
#story_per_day_count ⇒ Integer
Number of stories that the chat can publish daily.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def story_per_day_count @story_per_day_count end |
#title_color_count ⇒ Integer
Number of custom colors for chat title.
22 23 24 |
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22 def title_color_count @title_color_count end |