Class: TD::Types::FoundPosition

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

Overview

Contains 0-based match position.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#positionInteger

The position of the match.

Returns:

  • (Integer)

    the current value of position



5
6
7
# File 'lib/tdlib/types/found_position.rb', line 5

def position
  @position
end