Rocketgram

Latest version: v6.0.4

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

Scan your dependencies

Page 3 of 5

3.3.0

Added
- `BotCommandScope` classes.
- `scope` and `language_code` fields to `GetMyCommands` request class.
- `scope` and `language_code` fields to `SetMyCommands` request class.
- `DeleteMyCommands` request class.
- `input_field_placeholder` field to `ReplyKeyboardMarkup` and `ForceReply` class.
- `placeholder` field and parameter to `ReplyKeyboard` helper class.

Changed
- `KickChatMember` renamed to `BanChatMember`. The old method name can still be used.
- `GetChatMembersCount` renamed to `GetChatMemberCount`. The old method name can still be used.
- Framework now corresponds to Telegram Bot API 5.3.

Deprecated
- `KickChatMember` is deprecated and will be removed in version 4.
- `GetChatMembersCount` is deprecated and will be removed in version 4.

Fixed
- typing for `Message` object.

3.2.0

Added
- `ChatActionType.record_voice` and `ChatActionType.upload_voice`.
- `MessageType.voice_chat_scheduled` message type.
- `voice_chat_scheduled` field to `Message` class.
- `VoiceChatScheduled` class.
- `chat_type` field to `InlineQuery` class.
- `max_tip_amount` and `suggested_tip_amounts` fields to `SendInvoice` request class.
- `InputInvoiceMessageContent` class.

Changed
- Refactored `Connector` class and subclasses.
- `start_parameter` field of `SendInvoice` request class is now optional.
- Framework now corresponds to Telegram Bot API 5.2.

Deprecated
- `API_URL` and `API_FILE_URL` constants is deprecated and will be removed in version 4.0. Use the appropriate constants from `Connector` class.
- `ChatActionType.record_audio` and `ChatActionType.upload_audio` types is deprecated and will be removed in version 4.0. Use `ChatActionType.record_voice` or `ChatActionType.upload_voice` instead.

3.1.0

Added
- `allowed_updates` field to `Executor` class and subclasses.
- `certificate` and `ip_address` fields to `AioHttpExecutor` and `TornadoExecutor` classes.
- `WebhookExecutor` class that now holds common code from `AioHttpExecutor` and `TornadoExecutor` classes.
- `resolve_file_url` method to `Connector` class and subclasses.
- `api_file_url` parameter to `Connector` class and subclasses.
- `inline` and `result` context helpers.

Fixed
- Fixed typing for base `Executor`.
- Typing for `SetWebhook` request class.
- `Context.member()` was not properly set.

Changed
- Refactored `AiohttpExecutor`.
- A minimal version of `aiohttp` is now `3.6.2`.
- `File.url()` method now calls `Connector.resolve_file_url()` to resolve file's url.
- `Context.chat_member()` renamed to `Context.member()`

3.0.1

Fixed
- Fixed import bug.

3.0.0

Added
- `via_bot` field to `Message` class.
- `ThumbMimeType` class.
- `thumb_mime_type` field to `InlineQueryResultGif` and `InlineQueryResultMpeg4Gif` classes.
- `DiceType` class.
- `MessageId` class.
- `CopyMessage` request class.
- `caption_entities` or `entites` fields to many api classes.
- `google_place_id` and `google_place_type` fields to `Venue`, `InlineQueryResultVenue`, `InputVenueMessageContent`, `SendVenue` classes.
- `allow_sending_without_reply` field to many api classes.
- `sender_chat` field to `Message` class.
- `is_anonymous` field to `ChatMember` and `PromoteChatMember` classes.
- `live_period` field to `Location` class.
- `heading`, `proximity_alert_radius` and `horizontal_accuracy` fields to `Location`, `InlineQueryResultLocation`, `InputLocationMessageContent`, `SendLocation` and `EditMessageLiveLocation` classes.
- `ProximityAlertTriggered` class.
- `proximity_alert_triggered` field to `Message` class.
- `proximity_alert_triggered` type to `MessageType` class.
- `message_id` field to `UnpinChatMessage` request class.
- `UnpinAllChatMessages` request class.
- `file_name` field to `Audio` and `Video` classes.
- `disable_content_type_detection` field to `SendDocument` and `InputMediaDocument` classes.
- `only_if_banned` field to `UnbanChatMember` request class.
- `ChatLocation` class.
- `bio`, `linked_chat_id` and `location` fields to `Chat` class.
- `ip_address` field to `SetWebhook` and `WebhookInfo` classes.
- `drop_pending_updates` field to `SetWebhook` and `DeleteWebhook` classes.
- `LogOut` request class.
- `Close` request class.
- `my_chat_member` and `chat_member` to `UpdateType`.
- `ChatInviteLink` class.
- `ChatMemberUpdated` class.
- `my_chat_member`, `chat_member` and `unknown` fields to `Update` class.
- `CreateChatInviteLink` request class.
- `EditChatInviteLink` request class.
- `RevokeChatInviteLink` request class.
- `VoiceChatStarted` class.
- `VoiceChatEnded` class.
- `VoiceChatParticipantsInvited` class.
- `voice_chat_started`, `voice_chat_ended` and `voice_chat_participants_invited` fields to `Message` class.
- `can_manage_voice_chats` field to `ChatMember` class.
- `can_manage_voice_chats` field to `PromoteChatMember` request class.
- `MessageType.unknown` that will indicate unknown new type of message.
- `MessageAutoDeleteTimerChanged` class.
- `message_auto_delete_timer_changed` field to `Message` class.
- `message_auto_delete_timer_changed`, `voice_chat_started`, `voice_chat_ended` and `voice_chat_participants_invited` message types.
- `revoke_messages` field to `KickChatMember` request class.
- `can_manage_chat` field to `ChatMember` and `PromoteChatMember` classes.
- `context.chat_member` context helper field.

Changed
- `SendDice` and `Dice` classes now using `DiceType`.
- `Request.send()` method implementation was replaced. Now it returns `result` directly.
- `webhook` parameter in executors is replaced with `set_webhook` or `delete_webhook`.
- `drop_updates` parameter executors is replaced with `drop_pending_updates`.
- Updates now dropping through setting corresponding parameter instead of getUpdates hack.
- Framework now corresponds to Telegram Bot API 4.9.
- Framework now corresponds to Telegram Bot API 5.0.
- Framework now corresponds to Telegram Bot API 5.1.

Removed
- Assert in Update parser. Now unknown update types will be `UpdateType.unknown`.
- `context2`
- `Response.method`
- `BaseDispatcherProxy`
- `BaseDispatcher.from_proxy`

Deprecated
- `Request.send2()` method is deprecated and will be removed in version 4.0. Use `Request.send()` instead.

2.0.1

Fixed
- Fixed bug in `ResponseParameters` response class.
- Fixed typing.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.