Class: TelegramMeetupBot::MessageParser::User

Inherits:
Struct
  • Object
show all
Defined in:
lib/telegram_meetup_bot/message_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#first_nameObject

Returns the value of attribute first_name

Returns:

  • (Object)

    the current value of first_name



4
5
6
# File 'lib/telegram_meetup_bot/message_parser.rb', line 4

def first_name
  @first_name
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



4
5
6
# File 'lib/telegram_meetup_bot/message_parser.rb', line 4

def id
  @id
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



4
5
6
# File 'lib/telegram_meetup_bot/message_parser.rb', line 4

def username
  @username
end