Skip to content

Commit e362a5b

Browse files
ZuquimEldinnie
authored andcommitted
Small documentation fix in user.py (python-telegram-bot#829)
1 parent dd20237 commit e362a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class User(TelegramObject):
3232
is_bot (:obj:`bool`): True, if this user is a bot
3333
first_name (:obj:`str`): User's or bot's first name.
3434
last_name (:obj:`str`): Optional. User's or bot's last name.
35-
username (:obj:`str`): Optional. User's or bot's last name.
35+
username (:obj:`str`): Optional. User's or bot's username.
3636
language_code (:obj:`str`): Optional. IETF language tag of the user's language.
3737
bot (:class:`telegram.Bot`): Optional. The Bot to use for instance methods.
3838

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy