Class: TD::Types::Count

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

Overview

Contains a counter.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#countInteger

Count.

Returns:

  • (Integer)

    the current value of count



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

def count
  @count
end