Rocketgram

Latest version: v6.0.4

Safety actively analyzes 688600 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

2.0

Added
- Added `callback` context helper.
- Added `shipping` context helper.
- Added `checkout` context helper.
- Added `poll` context helper.
- Added `answer` context helper.
- Added well typed `Request.send2()` method. This method returns result directly instead of `Response` object.
- Added well typed `Response.method` property.
- Added `File.url` property. This property return url of a file requested by `GetFile` method.
- Ability to use callable classes and instances as handlers.
- `explanation`, `explanation_entities`, `open_period`, `close_date` fields to `Poll` class.
- `explanation`, `explanation_parse_mode`, `open_period`, `close_date` fields to `sendPoll` request class.
- `emoji` field to `sendDice` request class.
- `emoji` field to `Dice` class.

Fixed
- Minor bugfixes.

Changed
- Refactored api.

Removed
- Old `context` helper functions. Now `context` and `context2` is the same.

Deprecated
- `context2` is deprecated and will be removed in version 2.3.
- `Request.send()` method is deprecated and will be removed in version 2.3. Use `Request.send2()` instead.
- `Response.method` property is deprecated and will be removed in version 2.3. Use `Response.request` instead.
- `BaseDispatcherProxy` class is deprecated and will be removed in version 3.0. Use `BaseDispatcher` instead.
- `BaseDispatcher.from_proxy` method is deprecated and will be removed in version 3.0. Use `from_dispatcher` instead.

Changed
- Framework now corresponds to Telegram Bot API 4.8.

1.8

Added
- Added `SendDice` request class.
- Added `Dice` update class.
- Added `dice` field to `Message` class.
- Added `SetMyCommands` request class.
- Added `GetMyCommands` request class.
- Added `GetStickerSetThumb` request class.
- Added `tgs_sticker` field to `AddStickerToSet` request class.
- Added `tgs_sticker` and `thumb` fields to `StickerSet` request class.

Changed
- Framework now corresponds to Telegram Bot API 4.7.

1.7

Added
- More typing.
- `language` field to `MessageEntity` class.
- New `PollType` class.
- `can_join_groups` field to `User` class.
- `can_read_all_group_messages` field to `User` class.
- `can_join_groups` field to `User` class.
- New `PollAnswer` class.
- New update type `poll_answer` in `UpdateType` class.
- `poll_answer` to `Update` class.
- `poll` method to `ReplyKeyboard` class.
- `is_anonymous` field to `SendPoll` request class.
- `type` field to `SendPoll` request class.
- `allows_multiple_answers` field to `SendPoll` request class.
- `correct_option_id` field to `SendPoll` request class.
- `is_closed` field to `SendPoll` request class.

Fixed
- Bug when use middlewares.
- Bug in ChatMember object.
- `first_name` in `User` class now mandatory as expected.

Changed
- Framework now corresponds to Telegram Bot API 4.6.

1.6.1

Fixed
- Import bug quickfix.

1.6

Added
- `Keyboard` object now can be passed to request without rendering.
- Support new entity types `underline` and `strikethrough`.
- Support parse mode type `markdownv2`.
- New `file_unique_id` field to various objects.
- New `small_file_unique_id` and `big_file_unique_id` to `ChatPhoto` object.
- New `custom_title` to `ChatMember` object.
- New `slow_mode_delay` to `Chat` object.
- New `setChatAdministratorCustomTitle` request object.
- Support nested entities.

Fixed
- Fixed bug in webhook-reply in `TornadoExecutor`.

Changed
- Framework now corresponds to Telegram Bot API 4.5.

1.5

Added
- `permissions` field to `RestrictChatMember` request object.
- `SetChatPermissions` request object.
- `permissions` field to `Chat` object.
- `can_send_polls` field to `ChatMember` object.
- `ChatPermissions` object.
- `is_animated` field to `Sticker` request object.

Changed
- Framework now corresponds to Telegram Bot API 4.4.

Removed
- `can_send_messages` field from `RestrictChatMember` request object.
- `can_send_media_messages` field from `RestrictChatMember` request object.
- `can_send_other_messages` field from `RestrictChatMember` request object.
- `can_add_web_page_previews` field from `RestrictChatMember` request object.
- `all_members_are_administrators` field from `Chat` request object.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.