Repository navigation
Conversation
Regenerated api_methods.txt and payload_types.txt via bin/fetch-telegram-methods. New methods: sendLivePhoto, answerChatJoinRequestQuery, sendChatJoinRequestWebApp, getUserPersonalChatMessages, answerGuestQuery, getManagedBotAccessSettings, setManagedBotAccessSettings, deleteMessageReaction, deleteAllMessageReactions, sendRichMessage, sendRichMessageDraft. New payload type: guest_message (excluded from typed_update_spec until supported by telegram-bot-types, same as other recently added types).
Contributor
Author
|
@printercu can you check and release, please? |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
lib/telegram/bot/client/api_methods.txtandlib/telegram/bot/updates_controller/payload_types.txtviabin/fetch-telegram-methodsagainst the current Bot API docs (9.6 → 10.1).api_methods.txt):sendLivePhoto,answerChatJoinRequestQuery,sendChatJoinRequestWebApp,getUserPersonalChatMessages,answerGuestQuery,getManagedBotAccessSettings,setManagedBotAccessSettings,deleteMessageReaction,deleteAllMessageReactions,sendRichMessage,sendRichMessageDraft.guest_message, excluded fromtyped_update_spec.rbuntil supported bytelegram-bot-types(same pattern asbusiness_connectionand other recent additions).RequestBodyFormatterfor the new methods:sendLivePhoto'slive_photo/photoare plain top-levelInputFileparams (handled automatically, same as existing multi-file methods likesendVideo), andInputRichMessage(used bysendRichMessage/sendRichMessageDraft) only containshtml/markdown/is_rtl/skip_entity_detection— no file fields — so it's covered by the existing generic hash-to-JSON encoding.Test plan
bundle exec rspec— 348 examples, 0 failuresbundle exec rubocop lib spec bin— no offensessend_rich_message/send_rich_message_draftare defined and that hash params are JSON-encoded correctly byRequestBodyFormatter