Class: TD::Types::FoundPositions

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

Overview

Contains 0-based positions of matched objects.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#positionsArray<Integer>

The positions of the matched objects.

Returns:

  • (Array<Integer>)

    the current value of positions



6
7
8
# File 'lib/tdlib/types/found_positions.rb', line 6

def positions
  @positions
end

#total_countInteger

Total number of matched objects.

Returns:

  • (Integer)

    the current value of total_count



6
7
8
# File 'lib/tdlib/types/found_positions.rb', line 6

def total_count
  @total_count
end