Skip to content

Conversation

@harshil21
Copy link
Member

No description provided.

@Bibo-Joshi
Copy link
Member

Upsie, that should only be str. ChatAction just provides the correct strings as class attributes … Could you change that and also check the other occurrences?

@Bibo-Joshi Bibo-Joshi added the ⚙️ type-hinting affected functionality: type-hinting label Oct 8, 2020
@harshil21
Copy link
Member Author

Upsie, that should only be str. ChatAction just provides the correct strings as class attributes … Could you change that and also check the other occurrences?

Oh alright. Just fixed another type hint in send_message()

@harshil21 harshil21 changed the title Add str type hint to bot.send_chat_action() Fixed few type hints Oct 8, 2020
@Bibo-Joshi Bibo-Joshi merged commit 83a8874 into python-telegram-bot:master Oct 9, 2020
@Bibo-Joshi
Copy link
Member

Thanks for the contribution :)

@harshil21 harshil21 deleted the patch-1 branch October 9, 2020 06:34
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

⚙️ type-hinting affected functionality: type-hinting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants