Skip to content

Conversation

devrabie
Copy link
Owner

@devrabie devrabie commented Jul 6, 2025

This commit implements the features introduced in the Telegram Bot API 7.4 update (May 28, 2024).

Features added:

  • Telegram Stars & Paid Media:

    • New entities: LinkPreviewOptions, PaidMediaInfo, PaidMedia (and its derivatives: PaidMediaPreview, PaidMediaPhoto, PaidMediaVideo), StarTransaction, StarTransactions.
    • Modified entities (WebAppInfo, Message, Update) to include new optional properties related to stars, paid media, and web app launches.
    • New request methods: sendPaidMedia, getStarTransactions.
  • Link Preview & UI Updates:

    • Modified sendMessage and editMessageText to use LinkPreviewOptions, deprecating disable_web_page_preview.
    • New request method: setChatMenuButton.
  • Updated library version to 1.0.5.

? !
Type bug / feature / improvement
BC Break yes / no
Fixed issues

Summary

This commit implements the features introduced in the Telegram Bot API 7.4 update (May 28, 2024).

Features added:
- Telegram Stars & Paid Media:
  - New entities: LinkPreviewOptions, PaidMediaInfo, PaidMedia (and its derivatives: PaidMediaPreview, PaidMediaPhoto, PaidMediaVideo), StarTransaction, StarTransactions.
  - Modified entities (WebAppInfo, Message, Update) to include new optional properties related to stars, paid media, and web app launches.
  - New request methods: sendPaidMedia, getStarTransactions.
- Link Preview & UI Updates:
  - Modified sendMessage and editMessageText to use LinkPreviewOptions, deprecating disable_web_page_preview.
  - New request method: setChatMenuButton.

- Updated library version to 1.0.5.
@devrabie devrabie merged commit 8d1960c into develop Jul 6, 2025
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.

1 participant