Pytgbot

Latest version: v5.7

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

Scan your dependencies

Page 6 of 9

3.3.0

- Updated Official API changes of [`Bot API 3`.`3` (August 23, 2017)](https://core.telegram.org/bots/api-changelog#august-23-2017)
- Added new fields:
+ `peer.Chat.pinned_message`
+ `peer.User.is_bot`
+ `updates.Message.forward_signature`
+ `updates.Message.author_signature`
- Removed fields:
- `updates.Message.new_chat_member`
- but `updates.Message.new_chat_members` still exists

3.2.0

- Updated Official API changes of [`Bot API 3`.`2` (July 21, 2017)](https://core.telegram.org/bots/api-changelog#july-21-2017)
- Stickers'n'stuff

3.1.1

- fixed `send_video_note`, `send_video`, `send_voice`, `set_chat_photo` of `pytgbot.bot.Bot`.

3.1.0

- Updated Official API changes of [`Bot API 3`.`1` (June 30, 2017)](https://core.telegram.org/bots/api-changelog#june-30-2017)
- Added new functions:
- `pytgbot.bot.Bot.restrict_chat_member`
- `pytgbot.bot.Bot.promote_chat_member`
- `pytgbot.bot.Bot.export_chat_invite_link`
- `pytgbot.bot.Bot.set_chat_photo`
- `pytgbot.bot.Bot.delete_chat_photo`
- `pytgbot.bot.Bot.set_chat_title`
- `pytgbot.bot.Bot.set_chat_description`
- `pytgbot.bot.Bot.pin_chat_message`
- `pytgbot.bot.Bot.unpin_chat_message`
- Updated `pytgbot.bot.Bot.kick_chat_member` function, added `until_date` parameter.
- Updated `pytgbot.bot.Bot.send_invoice` function, `description` parameter now _optional_.
- Updated parameter `chat_id` in game related methods to no longer allows string, so no more "username".
- `pytgbot.bot.Bot.send_game`
- `pytgbot.bot.Bot.set_game_score`
- `pytgbot.bot.Bot.get_game_high_scores`
- Added `pytgbot.api_types.receivable.media.ChatPhoto`.
- Updated `pytgbot.api_types.receivable.peer.Chat` to include the new fields:
- `photo`
- `description`
- `invite_link`
- Updated `api_types.receivable.peer.ChatMember`:
- `status` field can now also be `"restricted"`
- Added fields:
- `until_date`
- `can_be_edited`
- `can_change_info`
- `can_post_messages`
- `can_edit_messages`
- `can_delete_messages`
- `can_invite_users`
- `can_restrict_members`
- `can_pin_messages`
- `can_promote_members`
- `can_send_messages`
- `can_send_media_messages`
- `can_send_other_messages`
- `can_add_web_page_previews`
- Removed documentation saying `pytgbot.api_types.sendable.inline.InlineQueryResultCachedDocument` was limited to sending only pdf-files and zip archives.
- Also now storing the incoming (decoded json) data in the `_raw` field of the object.

3.0.0

- Updated Official API changes of [`Bot API 3`.`0` (May 18, 2017)](https://core.telegram.org/bots/api-changelog#may-18-2017)
- Added `pytgbot.api_types.receivable.VideoNote`.
- Updated `pytgbot.api_types.receivable.peer.User` to include the new `language_code` field.
- Updated `pytgbot.api_types.receivable.updates.Update` to include the new `shipping_query` and `pre_checkout_query` fields.
- Updated `pytgbot.api_types.receivable.updates.Message` to include the new `video_note`, `new_chat_members`, `invoice` and `successful_payment` fields.
- Added `pytgbot.api_types.receivable.updates.WebhookInfo`
- Updated `pytgbot.api_types.sendable.inline.InlineQueryResultGif` to include the new `gif_duration` field.
- Updated `pytgbot.api_types.sendable.inline.InlineQueryResultMpeg4Gif` to include the new `mpeg4_duration` field.
- Added `pytgbot.api_types.sendable.payments.LabeledPrice`
- Added `pytgbot.api_types.sendable.payments.ShippingOption`
- Updated `pytgbot.api_types.sendable.reply_markup.InlineKeyboardButton` to include the new `pay` field.
- Added `pytgbot.bot.Bot.delete_webhook` function.
- Added `pytgbot.bot.Bot.send_video_note` function.
- Documented that `pytgbot.bot.Bot.unban_chat_member` now works with channels too.
- Added `pytgbot.bot.Bot.delete_message` function.
- Added `pytgbot.bot.Bot.send_invoice` function.
- Added `pytgbot.bot.Bot.answer_shipping_query` function.
- Added `pytgbot.bot.Bot.answer_pre_checkout_query` function.

2.3.3

- Updated Official API changes of [`Bot API 2`.`3`.`1` (December 4, 2016)](https://core.telegram.org/bots/api-changelog#december-4-2016)

Page 6 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.