Class: TD::Types::ChatBoostFeatures

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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#featuresArray<TD::Types::ChatBoostLevelFeatures>

The list of features.

Returns:



19
20
21
# File 'lib/tdlib/types/chat_boost_features.rb', line 19

def features
  @features
end

#min_background_custom_emoji_boost_levelInteger

The minimum boost level required to set custom emoji for reply header and link preview background; for channel chats only.

Returns:

  • (Integer)

    the current value of min_background_custom_emoji_boost_level



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_levelInteger

The minimum boost level required to set a chat theme background as chat background.

Returns:

  • (Integer)

    the current value of min_chat_theme_background_boost_level



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_levelInteger

The minimum boost level required to set custom chat background.

Returns:

  • (Integer)

    the current value of min_custom_background_boost_level



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_levelInteger

The minimum boost level required to set custom emoji sticker set for the chat; for supergroup chats only.

Returns:

  • (Integer)

    the current value of min_custom_emoji_sticker_set_boost_level



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_levelInteger

The minimum boost level required to set emoji status.

Returns:

  • (Integer)

    the current value of min_emoji_status_boost_level



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_levelInteger

The minimum boost level required to set custom emoji for profile background.

Returns:

  • (Integer)

    the current value of min_profile_background_custom_emoji_boost_level



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_levelInteger

The minimum boost level allowing to recognize speech in video note and voice note messages for non-Premium users; for supergroup chats only.

Returns:

  • (Integer)

    the current value of min_speech_recognition_boost_level



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_levelInteger

The minimum boost level allowing to disable sponsored messages in the chat; for channel chats only.

Returns:

  • (Integer)

    the current value of min_sponsored_message_disable_boost_level



19
20
21
# File 'lib/tdlib/types/chat_boost_features.rb', line 19

def min_sponsored_message_disable_boost_level
  @min_sponsored_message_disable_boost_level
end