Merge branch 'dev-3.x' into mongo_storage

Conflicts resolved
This commit is contained in:
Rishat Fayzullin 2024-04-30 23:30:53 +03:00
commit 04ae6dcd7a
164 changed files with 3923 additions and 736 deletions

View file

@ -1,5 +0,0 @@
- **WebAppUser Class Fields**: Added missing `is_premium`, `added_to_attachment_menu`, and `allows_write_to_pm` fields to `WebAppUser` class to align with the Telegram API.
- **WebAppChat Class Implementation**: Introduced the `WebAppChat` class with all its fields (`id`, `type`, `title`, `username`, and `photo_url`) as specified in the Telegram API, which was previously missing from the library.
- **WebAppInitData Class Fields**: Included previously omitted fields in the `WebAppInitData` class: `chat`, `chat_type`, `chat_instance`, to match the official documentation for a complete Telegram Web Apps support.