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
Unified args and attrs in classes #3404
Commits on Nov 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 940a492 - Browse repository at this point
Copy the full SHA 940a492View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf9b228 - Browse repository at this point
Copy the full SHA cf9b228View commit details -
Configuration menu - View commit details
-
Copy full SHA for c53c721 - Browse repository at this point
Copy the full SHA c53c721View commit details
Commits on Nov 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for eb07a2b - Browse repository at this point
Copy the full SHA eb07a2bView commit details
Commits on Dec 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 421518b - Browse repository at this point
Copy the full SHA 421518bView commit details
Commits on Dec 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d8d3d31 - Browse repository at this point
Copy the full SHA d8d3d31View commit details -
Configuration menu - View commit details
-
Copy full SHA for c627e86 - Browse repository at this point
Copy the full SHA c627e86View commit details -
Configuration menu - View commit details
-
Copy full SHA for c599963 - Browse repository at this point
Copy the full SHA c599963View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88f0c65 - Browse repository at this point
Copy the full SHA 88f0c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for e61968d - Browse repository at this point
Copy the full SHA e61968dView commit details -
MessageEntity
: unify args and attrsit was not done completely in #3314 (`user` attr needed addition)
Configuration menu - View commit details
-
Copy full SHA for 2980497 - Browse repository at this point
Copy the full SHA 2980497View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0ce3a4 - Browse repository at this point
Copy the full SHA b0ce3a4View commit details -
CallbackQuery
: unify args and attrsnot sure this is correct in the attrs, but I'm not changing it: data (:obj:`str` | :obj:`object`) (it's only `str` in args)
Configuration menu - View commit details
-
Copy full SHA for 2d55ed8 - Browse repository at this point
Copy the full SHA 2d55ed8View commit details -
ChatInviteLink
: unify args and attrs* not sure I had to add the note for `invite_link` to args, but it is there in Telegram API * Telegram API contains no explicit limit for `name` arg/attr
Configuration menu - View commit details
-
Copy full SHA for 717f643 - Browse repository at this point
Copy the full SHA 717f643View commit details -
ChatLocation
: unify args and attrsmaybe "Can't be a live location" and limit constants are not needed in attrs, but it matches Telegram API
Configuration menu - View commit details
-
Copy full SHA for 0bc70f6 - Browse repository at this point
Copy the full SHA 0bc70f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 268a853 - Browse repository at this point
Copy the full SHA 268a853View commit details
Commits on Dec 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9fd18c7 - Browse repository at this point
Copy the full SHA 9fd18c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fddaf7f - Browse repository at this point
Copy the full SHA fddaf7fView commit details -
`file_size` in attrs had wrong type too
Configuration menu - View commit details
-
Copy full SHA for 58679f7 - Browse repository at this point
Copy the full SHA 58679f7View commit details -
InlineKeyboardButton
: unify args and attrs, fix bold textI didn't include Tip and ..seealso from `callback_data` argument as I assume it is not put into attrs on purpose
Configuration menu - View commit details
-
Copy full SHA for 0e24a4b - Browse repository at this point
Copy the full SHA 0e24a4bView commit details
Commits on Dec 5, 2022
-
minor(
InlineKeyboardButton
) add ref to classit's not really needed, but at least monospace font was in place, I think, so why not put a reference
Configuration menu - View commit details
-
Copy full SHA for f4575af - Browse repository at this point
Copy the full SHA f4575afView commit details -
minor(
MenuButtonWebApp
) add ref to classBot
from reading the docstr it isn't clear that it's a method of Bot
Configuration menu - View commit details
-
Copy full SHA for 83c0a4c - Browse repository at this point
Copy the full SHA 83c0a4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for df3e984 - Browse repository at this point
Copy the full SHA df3e984View commit details -
Configuration menu - View commit details
-
Copy full SHA for d93ac70 - Browse repository at this point
Copy the full SHA d93ac70View commit details -
Configuration menu - View commit details
-
Copy full SHA for cce57ae - Browse repository at this point
Copy the full SHA cce57aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d796bf4 - Browse repository at this point
Copy the full SHA d796bf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94bd384 - Browse repository at this point
Copy the full SHA 94bd384View commit details -
text_entities was not marked with 'Optional.' in attrs. Leaving the phrase that is not there in Telegram API: "This list is empty if the message does not contain text entities."
Configuration menu - View commit details
-
Copy full SHA for d4d3600 - Browse repository at this point
Copy the full SHA d4d3600View commit details
Commits on Dec 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8b81e1f - Browse repository at this point
Copy the full SHA 8b81e1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9828dab - Browse repository at this point
Copy the full SHA 9828dabView commit details
Commits on Dec 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b2c3606 - Browse repository at this point
Copy the full SHA b2c3606View commit details -
Configuration menu - View commit details
-
Copy full SHA for c11ba1e - Browse repository at this point
Copy the full SHA c11ba1eView commit details -
'Document': unify args and attrs
including fix of lacking "Optional" in `.file_name`
Configuration menu - View commit details
-
Copy full SHA for c893aa5 - Browse repository at this point
Copy the full SHA c893aa5View commit details -
'Force Reply': unify args and attrs
I decided to include the explanation for `selective` as well, but removed the phrase "Use this parameter" as it makes no sense in attrs
Configuration menu - View commit details
-
Copy full SHA for d8f9f28 - Browse repository at this point
Copy the full SHA d8f9f28View commit details -
'InputMedia': unify args and attrs
I decided to add substitution strings to `parse_mode` and `caption_entities`, but did not duplicate `media` arg in attrs
Configuration menu - View commit details
-
Copy full SHA for 00c4087 - Browse repository at this point
Copy the full SHA 00c4087View commit details -
minor: remove trailing colon in
versionchanged
Sphinx adds a colon automatically
Configuration menu - View commit details
-
Copy full SHA for 7511938 - Browse repository at this point
Copy the full SHA 7511938View commit details -
Configuration menu - View commit details
-
Copy full SHA for c92d818 - Browse repository at this point
Copy the full SHA c92d818View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b15311 - Browse repository at this point
Copy the full SHA 7b15311View commit details
Commits on Dec 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cc93abf - Browse repository at this point
Copy the full SHA cc93abfView commit details -
InputMedia...
: unify args and attrs + fixInputMediaAudio.duration
* not changing docstr of `media` attr * move `thumb` up in attrs where applicable and apply |thumbdocstringbase| substitution (only the base should suffice as no directions are needed on how to send the file) * add "optional" to `duration` arg and attr of InputMediaAudio
Configuration menu - View commit details
-
Copy full SHA for 3e0f791 - Browse repository at this point
Copy the full SHA 3e0f791View commit details -
Configuration menu - View commit details
-
Copy full SHA for eabf480 - Browse repository at this point
Copy the full SHA eabf480View commit details -
Configuration menu - View commit details
-
Copy full SHA for 821b33d - Browse repository at this point
Copy the full SHA 821b33dView commit details -
fix(
KeyboardButtonPollType
): addArgs:
sectionre-formulate attrs section without "is passed" phrases
Configuration menu - View commit details
-
Copy full SHA for 110c030 - Browse repository at this point
Copy the full SHA 110c030View commit details -
I see no harm in adding links/examples for types
Configuration menu - View commit details
-
Copy full SHA for 8789bea - Browse repository at this point
Copy the full SHA 8789beaView commit details -
Configuration menu - View commit details
-
Copy full SHA for de1e9e6 - Browse repository at this point
Copy the full SHA de1e9e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 864d9da - Browse repository at this point
Copy the full SHA 864d9daView commit details -
Voice
: unify args and attrs + fixduration
duration arg is not optional in `Voice`
Configuration menu - View commit details
-
Copy full SHA for 2890c0b - Browse repository at this point
Copy the full SHA 2890c0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fe6d36 - Browse repository at this point
Copy the full SHA 2fe6d36View commit details -
Configuration menu - View commit details
-
Copy full SHA for b294166 - Browse repository at this point
Copy the full SHA b294166View commit details -
Configuration menu - View commit details
-
Copy full SHA for be96d7a - Browse repository at this point
Copy the full SHA be96d7aView commit details -
InlineQueryResultCachedGif
: fix typo in args`caption` was doubled in `title` arg
Configuration menu - View commit details
-
Copy full SHA for 5a8468b - Browse repository at this point
Copy the full SHA 5a8468bView commit details
Commits on Dec 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5456f22 - Browse repository at this point
Copy the full SHA 5456f22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66a4d68 - Browse repository at this point
Copy the full SHA 66a4d68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 756994f - Browse repository at this point
Copy the full SHA 756994fView commit details -
InlineQueryResultVideo
: unify args and attrsin attrs, all "optional" marks were done as in args, fix that
Configuration menu - View commit details
-
Copy full SHA for 0c0f200 - Browse repository at this point
Copy the full SHA 0c0f200View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bb0104 - Browse repository at this point
Copy the full SHA 2bb0104View commit details -
Configuration menu - View commit details
-
Copy full SHA for f56313c - Browse repository at this point
Copy the full SHA f56313cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a7642f - Browse repository at this point
Copy the full SHA 0a7642fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb08193 - Browse repository at this point
Copy the full SHA fb08193View commit details -
I think the 2nd part of docstring for `start_parameter` can be useful to understand this attr, despite the phrase addressing the generation of the Invoice
Configuration menu - View commit details
-
Copy full SHA for d08fb9a - Browse repository at this point
Copy the full SHA d08fb9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0775af5 - Browse repository at this point
Copy the full SHA 0775af5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5d3756 - Browse repository at this point
Copy the full SHA c5d3756View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0287c35 - Browse repository at this point
Copy the full SHA 0287c35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 423ee44 - Browse repository at this point
Copy the full SHA 423ee44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16bbb30 - Browse repository at this point
Copy the full SHA 16bbb30View commit details -
Configuration menu - View commit details
-
Copy full SHA for a881c48 - Browse repository at this point
Copy the full SHA a881c48View commit details -
Configuration menu - View commit details
-
Copy full SHA for dee43f0 - Browse repository at this point
Copy the full SHA dee43f0View commit details
Commits on Dec 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 367a86c - Browse repository at this point
Copy the full SHA 367a86cView commit details
Commits on Dec 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for be44d40 - Browse repository at this point
Copy the full SHA be44d40View commit details
Commits on Dec 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4a9cd23 - Browse repository at this point
Copy the full SHA 4a9cd23View commit details
Commits on Dec 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c078486 - Browse repository at this point
Copy the full SHA c078486View commit details -
Configuration menu - View commit details
-
Copy full SHA for 719d3bb - Browse repository at this point
Copy the full SHA 719d3bbView commit details
Commits on Dec 23, 2022
-
ChatInviteLink
: remove explanatory phrase forinvite_link
argIt makes sense in attrs but not in args
Configuration menu - View commit details
-
Copy full SHA for 57eb906 - Browse repository at this point
Copy the full SHA 57eb906View commit details
Commits on Dec 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e7da6ab - Browse repository at this point
Copy the full SHA e7da6abView commit details