Update Bot API to 9.3
This update implements features from Telegram Bot API versions 8.3, 9.0, 9.1, 9.2, and 9.3.
New Features:
- Business Accounts: Support for managing business connections, messages, and profile settings.
- Gifts: New entities and methods for managing and sending gifts (regular and unique).
- Checklists: Full support for checklist messages and interactions.
- Stories: Methods for posting, editing, deleting, and reposting stories.
- Direct Messages: Support for direct messages in channels and topics.
- Suggested Posts: Functionality for handling suggested posts in channels.
- Paid Media: Support for paid media interactions.
- Telegram Premium: Ability to gift Premium subscriptions.
- General Updates:
- Video covers and start timestamps.
- User rating and star balance methods.
- Updates to Chat and User objects.
Added Classes:
- Entities for Business (BusinessBotRights, etc.)
- Entities for Gifts (Gift, UniqueGift, OwnedGift, etc.)
- Entities for Checklists (Checklist, ChecklistTask, etc.)
- Entities for Stories (StoryArea, InputStoryContent, etc.)
- Entities for Payments (StarAmount, AffiliateInfo, etc.)
- Helper entities like InputProfilePhoto, AcceptedGiftTypes.
Updated Files:
- src/Request.php: Added all new API methods and updated existing ones with new parameters.
- src/Telegram.php: Updated internal logic (though minimal changes required here).
- src/Entities/*.php: Updated existing entities (Message, Chat, User, etc.) to support new fields.
All changes follow the project's structure and conventions.