Class: TD::Types::ChatBoostLevelFeatures

Inherits:
Base
  • Object
show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#accent_color_countInteger

Number of custom colors for background of empty chat photo, replies to messages and link previews.

Returns:

  • (Integer)

    the current value of accent_color_count



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_messagesBoolean

True, if sponsored messages can be disabled in the chat.

Returns:

  • (Boolean)

    the current value of can_disable_sponsored_messages



22
23
24
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22

def can_disable_sponsored_messages
  @can_disable_sponsored_messages
end

#can_recognize_speechBoolean

True, if speech recognition can be used for video note and voice note messages by all users.

Returns:

  • (Boolean)

    the current value of can_recognize_speech



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_emojiBoolean

True, if custom emoji for reply header and link preview background can be set.

Returns:

  • (Boolean)

    the current value of can_set_background_custom_emoji



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_backgroundBoolean

True, if custom background can be set in the chat for all users.

Returns:

  • (Boolean)

    the current value of can_set_custom_background



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_setBoolean

True, if custom emoji sticker set can be set for the chat.

Returns:

  • (Boolean)

    the current value of can_set_custom_emoji_sticker_set



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_statusBoolean

True, if emoji status can be set.

Returns:

  • (Boolean)

    the current value of can_set_emoji_status



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_emojiBoolean

True, if custom emoji for profile background can be set.

Returns:

  • (Boolean)

    the current value of can_set_profile_background_custom_emoji



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_countInteger

Number of chat theme backgrounds that can be set as chat background.

Returns:

  • (Integer)

    the current value of chat_theme_background_count



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_countInteger

Number of custom emoji reactions that can be added to the list of available reactions.

Returns:

  • (Integer)

    the current value of custom_emoji_reaction_count



22
23
24
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22

def custom_emoji_reaction_count
  @custom_emoji_reaction_count
end

#levelInteger

Target chat boost level.

Returns:

  • (Integer)

    the current value of level



22
23
24
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22

def level
  @level
end

#profile_accent_color_countInteger

Number of custom colors for profile photo background.

Returns:

  • (Integer)

    the current value of profile_accent_color_count



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_countInteger

Number of stories that the chat can publish daily.

Returns:

  • (Integer)

    the current value of story_per_day_count



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_countInteger

Number of custom colors for chat title.

Returns:

  • (Integer)

    the current value of title_color_count



22
23
24
# File 'lib/tdlib/types/chat_boost_level_features.rb', line 22

def title_color_count
  @title_color_count
end