Amanobot

Latest version: v2.1.0

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

Scan your dependencies

Page 2 of 11

12.1

- Bot API 3.1
- Added methods:
- `restrictChatMember()`
- `promoteChatMember()`
- `exportChatInviteLink()`
- `setChatPhoto()`
- `deleteChatPhoto()`
- `setChatTitle()`
- `setChatDescription()`
- `pinChatMessage()`
- `unpinChatMessage()`
- Added parameter `until_date` to method `kickChatMember()`
- Added fields to namedtuple `Chat` and `ChatMember`
- Added namedtuple `ChatPhoto`
- Added exception `NotEnoughRightsError` to capture situations where the bot does
not have enough rights to perform operations on channels, groups, or supergroups.
- Changed some internal function names to be more descriptive, e.g. `_yell()`
becomes `_invoke()`, `_delay_yell()` becomes `_create_invoker()`.
- Tested on Python 3.6.1

12.0

- Bot API 3.0
- Can receive updates containing ShippingQuery and PreCheckoutQuery
- Added flavors `shipping_option` and `pre_checkout_query`
- Added nametuples `Invoice`, `LabeledPrice`, `ShippingOption`, `ShippingAddress`,
`OrderInfo`, `ShippingQuery`, `PreCheckoutQuery`, `SuccessfulPayment`
- Added method `sendInvoice()`, `answerShippingQuery()`, and `answerPreCheckoutQuery()`
- Added method `deleteMessage()` and `sendVideoNote()`. Added namedtuple `VideoNote`.
- Added new fields to various namedtuples
- Added function `per_invoice_payload` and class `InvoiceHandler`

11.0

- Async version compliant with aiohttp2
- Added `telepot.loop` and `telepot.aio.loop` module. Method `message_loop()` deprecated.
Use class `MessageLoop`, `OrderedWebhook`, or `Webhook` instead.

10.5

- In `message_loop()`, delay longer between HTTP 502 responses
- Handled empty JSON responses (async version)
- Added `quote_fields` parameter to aiohttp hack
- Fixed dependency at `aiohttp==1.3`

10.4

- Async Bot's scheduler method `event_at()` was modified to use unix timestamp

10.3

- Added parameter `max_connections` and `allowed_updates` to method `setWebhook()`
- Added parameter `allowed_updates` to method `getUpdates()` and `message_loop()`
- Added method `deleteWebhook()`

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.