FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

add `message_thread_id` param to methods, `message_thread_id` and `is_topic_message` to `Message` by lemontree210 · Pull Request #3345 · python-telegram-bot/python-telegram-bot · GitHub

add message_thread_id param to methods, message_thread_id and is_topic_message to Message - #3345

Merged
Bibo-Joshi merged 8 commits into
api_6.3_updatefrom
new_param_message_thread_id_3340
Nov 9, 2022
Merged

add message_thread_id param to methods, message_thread_id and is_topic_message to Message#3345
Bibo-Joshi merged 8 commits into
api_6.3_updatefrom
new_param_message_thread_id_3340

Conversation

lemontree210 commented Nov 6, 2022
edited
Loading

Copy link
Copy Markdown
Member

addresses #3340

  • Add message_thread_id to methods in Bot and ExtBot
    • add parameter
    • add docstrings with .. versionadded:: version
    • add argument to a call to send_message or item to data
  • Add method to shortcuts (Chat, User...)
  • Create new or adapted existing unit tests - will only be possible when class for topics is created

* haven't added this param to shortcuts yet

* testing doesn't seem to be possible before
ForumTopic class is implemented

Poolitzer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good!

Comment thread telegram/_bot.py Outdated
lemontree210 changed the title add message_thread_id parameter add message_thread_id param to methods, message_thread_id and is_topic_message to Message Nov 7, 2022

Copy link
Copy Markdown
Member Author

Hey guys, do you maybe think that we should merge this into api_6.3_update and then I'd branch off again when it becomes possible to add tests with real methods and attributes?

lemontree210 marked this pull request as ready for review November 8, 2022 10:47

Bibo-Joshi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

One inquery, but the changes LGTM :) can be merged IMO

Comment thread telegram/_message.py
Bibo-Joshi merged commit 3e8aa6e into api_6.3_update Nov 9, 2022
Bibo-Joshi deleted the new_param_message_thread_id_3340 branch November 9, 2022 19:17
github-actions Bot locked and limited conversation to collaborators Nov 17, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL