Class: TelegramBot::User
- Inherits:
-
Struct
- Object
- Struct
- TelegramBot::User
- Includes:
- AutoFromMethods
- Defined in:
- lib/telegram_bot/user.rb
Instance Attribute Summary collapse
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#username ⇒ Object
Returns the value of attribute username.
Method Summary
Methods included from AutoFromMethods
Instance Attribute Details
#first_name ⇒ Object
Returns the value of attribute first_name
3 4 5 |
# File 'lib/telegram_bot/user.rb', line 3 def first_name @first_name end |
#id ⇒ Object
Returns the value of attribute id
3 4 5 |
# File 'lib/telegram_bot/user.rb', line 3 def id @id end |
#last_name ⇒ Object
Returns the value of attribute last_name
3 4 5 |
# File 'lib/telegram_bot/user.rb', line 3 def last_name @last_name end |
#username ⇒ Object
Returns the value of attribute username
3 4 5 |
# File 'lib/telegram_bot/user.rb', line 3 def username @username end |