-
Notifications
You must be signed in to change notification settings - Fork 2k
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
BOT API 7.3 #2264
BOT API 7.3 #2264
Conversation
…owing 0x7FFFFFFF to be used as live_period.
…Poll.on_entities to the class Poll.
… method sendPoll.
… method sendPoll. u1
… options in the method sendPoll to Array of InputPollOption.
…the field chat_background_set of type ChatBackground to the class Message, describing service messages about background changes.
…return type of the method getChat to ChatFullInfo. Added the field max_reaction_count to the class ChatFullInfo.
@coder2020official I'm done. Regarding this:
Here: 3532812 I currently left "Chat" as a full copy of "ChatFullInfo". It will left compatibility without making tenths of stubs with warnings. Later we can do it if anyone will have time for that. |
Got your message. |
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.
Otherwise, it looks good to me...
@@ -6972,6 +6975,7 @@ def __init__( | |||
self.correct_option_id: int = correct_option_id | |||
self.explanation: str = explanation | |||
self.explanation_entities: List[MessageEntity] = explanation_entities | |||
self.question_entities: List[MessageEntity] = question_entities |
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.
We need some function to convert these entities into html i think; can you do that now or do we postpone it for 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.
I did it in the same way as other entities in this class. Thus if we want to have some function (I did not get which one) - we can do it later for all such entities.
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.
something like html_caption or html_text
Bot API 7.3