- Notifications
You must be signed in to change notification settings - Fork5.7k
API 7.4#4276
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
API 7.4#4276
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Hey! Looks like you edited README.rst or README_RAW.rst. I'm just a friendly reminder to apply relevant changes to both of those files :)
not sure why |
@harshil21 Its failing on master as well. Maybe we'll have to ensure installing setup tools in the CI |
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
.
@@ -4890,7 +4994,7 @@ async def send_invoice( | |||
a maximum tip of US$ 1.45 pass ``max_tip_amount = 145``. See the exp parameter in | |||
`currencies.json <https://core.telegram.org/bots/payments/currencies.json>`_, it | |||
shows the number of digits past the decimal point for each currency (2 for the | |||
majority of currencies). Defaults to ``0``. | |||
majority of currencies). Defaults to ``0``. Not supported for payment in |tg_stars| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
majorityofcurrencies).Defaultsto``0``.Notsupportedforpaymentin|tg_stars| | |
majorityofcurrencies).Defaultsto``0``.Notsupportedforpaymentin|tg_stars|. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
yea that period takes it over 100 chars that's why I didn't put it lmao
pay (:obj:`bool`, optional): Specify :obj:`True`, to send a Pay button. This type of button | ||
**must** always be the **first** button in the first row and can only be used in | ||
invoice messages. | ||
be launched when the user presses the button |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
belaunchedwhentheuserpressesthebutton | |
belaunchedwhentheuserpressesthebutton. |
shipping method. | ||
address to complete the order. Ignored for payments in |tg_stars|. | ||
need_shipping_address (:obj:`bool`, optional): Pass :obj:`True`, if you require the | ||
user's shipping address to complete the order. Ignored for payments in |tg_stars| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
user'sshippingaddresstocompletetheorder.Ignoredforpaymentsin|tg_stars| | |
user'sshippingaddresstocompletetheorder.Ignoredforpaymentsin|tg_stars|. |
cf72849
intomasterUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Central PR which will gather all PRs from api-7.4-feature
Closes#4275 .
show_caption_above_media
#4279,API 7.4 -refund_star_payment
#4280,Api 7.4 collapsible block quotes #4286,API 7.4 - Invoice changes #4283,API 7.4 Documentation updates #4285Checklist
.. versionadded:: NEXT.VERSION
,.. versionchanged:: NEXT.VERSION
or.. deprecated:: NEXT.VERSION
to the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)CSI standard <https://standards.mousepawmedia.com/en/stable/csi.html>
__AUTHORS.rst
(optional)__all__
sStability Policy <https://docs.python-telegram-bot.org/stability_policy.html>
_ in case of deprecations or changes to documented behaviorIf the PR contains API changes (otherwise, you can ignore this passage)
Checked the Bot API specific sections of theStability Policy
New classes:
self._id_attrs
and corresponding documentation__init__
acceptsapi_kwargs
as kw-onlyAdded new shortcuts:
~telegram.Chat
& :class:~telegram.User
for all methods that acceptchat/user_id
~telegram.Message
for all methods that acceptchat_id
andmessage_id
~telegram.Message
shortcuts: Addeddo_quote
argument if methods acceptsreply_to_message_id
~telegram.CallbackQuery
for all methods that accept eitherchat_id
andmessage_id
orinline_message_id
If relevant:
telegram.constants
and shortcuts to them as class variablestelegram.Message.effective_attachment
~telegram.ext.ConversationHandler
_extbot.py
bot_methods.rst
README.rst
andREADME_RAW.rst
(including the badge), as well astelegram.constants.BOT_API_VERSION_INFO
telegram.ext.ExtBot
for new methods that either accept areply_markup
in some form or have a return type that is/contains :class:~telegram.Message