Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added link property to bot #1770

Merged
merged 3 commits into from
Mar 9, 2020
Merged

added link property to bot #1770

merged 3 commits into from
Mar 9, 2020

Conversation

ak4zh
Copy link
Contributor

@ak4zh ak4zh commented Feb 9, 2020

link property was available in User and Chat objects but not in Bot which was inconsistent.

link property was available in User and Chat objects but not in Bot which was inconsistent.
Bot will always have username so it does not require hasattr check
@Bibo-Joshi Bibo-Joshi added this to the 12.5 milestone Feb 9, 2020
Copy link
Member

@Bibo-Joshi Bibo-Joshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi. Thanks for the PR. I think it's a good addition. However, we will need a test for the new property. Could you add that?

telegram/bot.py Outdated Show resolved Hide resolved
@Bibo-Joshi
Copy link
Member

@ak4zh Are you still interested in this? If yes, could you add tests?

@Bibo-Joshi
Copy link
Member

CI fail unrelated (test_set_gamescore)

@Bibo-Joshi Bibo-Joshi modified the milestones: 12.5, 12.4.3 Mar 9, 2020
@tsnoam tsnoam merged commit 28ded67 into python-telegram-bot:master Mar 9, 2020
@tsnoam
Copy link
Member

tsnoam commented Mar 9, 2020

@ak4zh thank you for the contribution

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants