Skip to content

Comments

Support Telegram Bot API 9.4#260

Merged
negasus merged 1 commit intogo-telegram:mainfrom
TGlimmer:upstream-contrib
Feb 18, 2026
Merged

Support Telegram Bot API 9.4#260
negasus merged 1 commit intogo-telegram:mainfrom
TGlimmer:upstream-contrib

Conversation

@TGlimmer
Copy link
Contributor

Summary

  • Support Telegram Bot API 9.4

Recreated from #258 with fork-specific commits removed.

Add support for Bot API 9.4 (February 9, 2026) with the following changes:

New methods: setMyProfilePhoto, removeMyProfilePhoto, getUserProfileAudios, repostStory
New types: VideoQuality, ChatOwnerLeft, ChatOwnerChanged, UserProfileAudios, UserRating

New fields on existing types:
- User: allows_users_to_create_topics
- Video: qualities
- Message: chat_owner_left, chat_owner_changed
- InlineKeyboardButton/KeyboardButton: icon_custom_emoji_id, style
- ChatFullInfo: rating, first_profile_audio
- UniqueGiftModel: rarity
- UniqueGift: is_burned
- ForumTopic/ForumTopicCreated: is_name_implicit
- ChecklistTask: completed_by_chat
- ForwardMessageParams/CopyMessageParams: message_effect_id
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.23%. Comparing base (271dcc3) to head (847e415).

Files with missing lines Patch % Lines
methods.go 0.00% 16 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #260      +/-   ##
==========================================
+ Coverage   46.11%   46.23%   +0.12%     
==========================================
  Files          29       29              
  Lines        2110     2126      +16     
==========================================
+ Hits          973      983      +10     
- Misses       1087     1095       +8     
+ Partials       50       48       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@negasus negasus merged commit 9051686 into go-telegram:main Feb 18, 2026
1 check passed
ruizlenato pushed a commit to ruizlenato/bot that referenced this pull request Feb 21, 2026
Add support for Bot API 9.4 (February 9, 2026) with the following changes:

New methods: setMyProfilePhoto, removeMyProfilePhoto, getUserProfileAudios, repostStory
New types: VideoQuality, ChatOwnerLeft, ChatOwnerChanged, UserProfileAudios, UserRating

New fields on existing types:
- User: allows_users_to_create_topics
- Video: qualities
- Message: chat_owner_left, chat_owner_changed
- InlineKeyboardButton/KeyboardButton: icon_custom_emoji_id, style
- ChatFullInfo: rating, first_profile_audio
- UniqueGiftModel: rarity
- UniqueGift: is_burned
- ForumTopic/ForumTopicCreated: is_name_implicit
- ChecklistTask: completed_by_chat
- ForwardMessageParams/CopyMessageParams: message_effect_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants