Class: TD::Types::TrendingStickerSets

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/trending_sticker_sets.rb

Overview

Represents a list of trending sticker sets.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_premium ⇒ Boolean

True, if the list contains sticker sets with premium stickers.

Returns:

  • (Boolean) —

    the current value of is_premium



7
8
9
# File 'lib/tdlib/types/trending_sticker_sets.rb', line 7

def is_premium
  @is_premium
end

#sets ⇒ Array<TD::Types::StickerSetInfo>

List of trending sticker sets.

Returns:



7
8
9
# File 'lib/tdlib/types/trending_sticker_sets.rb', line 7

def sets
  @sets
end

#total_count ⇒ Integer

Approximate total number of trending sticker sets.

Returns:

  • (Integer) —

    the current value of total_count



7
8
9
# File 'lib/tdlib/types/trending_sticker_sets.rb', line 7

def total_count
  @total_count
end