-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Botapi 10.0 #2592
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
Open
coder2020official
wants to merge
25
commits into
eternnoir:master
Choose a base branch
from
coder2020official:botapi-10
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Botapi 10.0 #2592
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
2c2f7bb
Added the field supports_guest_queries to the class User.
coder2020official d19162b
Added the fields guest_bot_caller_user and guest_bot_caller_chat to t…
coder2020official 1107385
Added the field guest_query_id to the class Message.
coder2020official 13f3dec
Added the field guest_message to the class Update.
coder2020official 82d466d
Added the class SentGuestMessage and the method answerGuestQuery.
coder2020official 2a0aa5d
Added the field can_react_to_messages to the classes ChatMemberRestr…
coder2020official abb6663
Added the parameter return_bots to the method getChatAdministrators.
coder2020official 7aede1a
Added the methods deleteAllMessageReactions and deleteMessageReaction
coder2020official 0cc0e2c
Added the classes InputMediaSticker, InputMediaLocation, and InputMe…
coder2020official 5981b24
Added the class PollMedia, representing a media in a poll.
coder2020official 5dbf1c1
Added the field media to the class Poll, allowing bots to see media …
coder2020official 81e2c5e
Added fields explanation_media, members_only, and country_codes to Poll
coder2020official 4344145
Added the field media to the class PollOption, allowing bots to see …
coder2020official d2f5052
Added InputPollMedia and InputPollOptionMedia
coder2020official 8f0ddb1
Added media to InputPollOption
coder2020official 135666c
Added country_codes, members_only to sendPoll;
coder2020official 167760e
Added classes InputMediaLivePhoto and LivePhoto
coder2020official fb11143
Added the field live_photo to the classes Message and ExternalReplyI…
coder2020official a57a688
Added the method sendLivePhoto, allowing bots to send live photos.
coder2020official ac293e2
Added PaidMediaLivePhoto and InputPaidMediaLivePhoto
coder2020official 5136e29
Allowed to use live photos in sendMediaGroup and editMessageMedia,
coder2020official 5b91858
Allowed bots to pass an empty text in the method sendMessageDraft.
coder2020official 5909976
Added getuserpersonalchatmessages, get_managed_bot_access_settings, s…
coder2020official a2a8ff6
Added media and explanation_media to send_poll
coder2020official 44163d0
Fix media and explanation_media in sendPoll
coder2020official File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Better to be
if added_user_ids:to skip empty lists also.