Class: TD::Types::FoundChatBoosts

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

Overview

Contains a list of boosts applied to a chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#boostsArray<TD::Types::ChatBoost>

List of boosts.

Returns:



8
9
10
# File 'lib/tdlib/types/found_chat_boosts.rb', line 8

def boosts
  @boosts
end

#next_offsetTD::Types::String

The offset for the next request. If empty, then there are no more results.

Returns:

  • (TD::Types::String)

    the current value of next_offset



8
9
10
# File 'lib/tdlib/types/found_chat_boosts.rb', line 8

def next_offset
  @next_offset
end

#total_countInteger

Total number of boosts applied to the chat.

Returns:

  • (Integer)

    the current value of total_count



8
9
10
# File 'lib/tdlib/types/found_chat_boosts.rb', line 8

def total_count
  @total_count
end