Class: TD::Types::SharedUser
- Defined in:
- lib/tdlib/types/shared_user.rb
Overview
Contains information about a user shared with a bot.
Instance Attribute Summary collapse
-
#first_name ⇒ TD::Types::String
First name of the user; for bots only.
-
#last_name ⇒ TD::Types::String
Last name of the user; for bots only.
-
#photo ⇒ TD::Types::Photo?
Profile photo of the user; for bots only; may be null.
-
#user_id ⇒ Integer
User identifier.
-
#username ⇒ TD::Types::String
Username of the user; for bots only.
Method Summary
Methods inherited from Base
Instance Attribute Details
#first_name ⇒ TD::Types::String
First name of the user; for bots only.
9 10 11 |
# File 'lib/tdlib/types/shared_user.rb', line 9 def first_name @first_name end |
#last_name ⇒ TD::Types::String
Last name of the user; for bots only.
9 10 11 |
# File 'lib/tdlib/types/shared_user.rb', line 9 def last_name @last_name end |
#photo ⇒ TD::Types::Photo?
Profile photo of the user; for bots only; may be null.
9 10 11 |
# File 'lib/tdlib/types/shared_user.rb', line 9 def photo @photo end |
#user_id ⇒ Integer
User identifier.
9 10 11 |
# File 'lib/tdlib/types/shared_user.rb', line 9 def user_id @user_id end |
#username ⇒ TD::Types::String
Username of the user; for bots only.
9 10 11 |
# File 'lib/tdlib/types/shared_user.rb', line 9 def username @username end |