Class: TD::Types::Birthdate
- Defined in:
- lib/tdlib/types/birthdate.rb
Overview
Represents a birthdate of a user.
Instance Attribute Summary collapse
-
#day ⇒ Integer
Day of the month; 1-31.
-
#month ⇒ Integer
Month of the year; 1-12.
-
#year ⇒ Integer
Birth year; 0 if unknown.
Method Summary
Methods inherited from Base
Instance Attribute Details
#day ⇒ Integer
Day of the month; 1-31.
7 8 9 |
# File 'lib/tdlib/types/birthdate.rb', line 7 def day @day end |
#month ⇒ Integer
Month of the year; 1-12.
7 8 9 |
# File 'lib/tdlib/types/birthdate.rb', line 7 def month @month end |
#year ⇒ Integer
Birth year; 0 if unknown.
7 8 9 |
# File 'lib/tdlib/types/birthdate.rb', line 7 def year @year end |