8000 Tags · cpcchengt/telepot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: cpcchengt/telepot

Tags

v12.7

Toggle v12.7's commit message
Await `aiohttp.ClientSession.close()`

Upgraded dependency `aiohttp>=3.0.0`

v12.6

Toggle v12.6's commit message
Bot API 3.6

- Added `parse_mode` to all methods and namedtuples supporting `caption`
- Added `supports_streaming` and `connected_website` to relevant methods
and
namedtuples
- Fixed downloading through proxy in `telepot.aio.api` module

v12.5

Toggle v12.5's commit message
Bot API 3.5

- Added method `sendMediaGroup` and namedtuple `InputMediaPhoto` and
`InputMediaVideo`
- Added parameter `provider_data` to method `sendInvoice`
- Better exception handling in `telepot.aio.api` module

v12.4

Toggle v12.4's commit message
Bot API 3.4

- Live location:
- Added `live_period` to method `sendLocation`, and namedtuple
`InlineQueryResultLocation` and `InputLocationMessageContent`
- Added method `editMessageLiveLocation` and `stopMessageLiveLocation`
- Added method `setChatStickerSet` and `deleteChatStickerSet`
- Added `sticker_set_name` and `can_set_sticker_set` to namedtuple
`Chat`
- Added `caption_entities` to namedtuple `Message`
- Added method `editMessageLiveLocation` and `stopMessageLiveLocation`
to class
`Editor`
- Added method `setChatStickerSet` and `deleteChatStickerSet` to class
`Administrator`
- Allowed supplying initial `offset` to `MessageLoop`
- Allowed Bot API access through proxy

v12.3

Toggle v12.3's commit message
Bot API 3.3

- Added new fields to namedtuple `Chat`, `Message`, and `User`
- Included `aiohttp.ClientResponseError` in raising `BadHTTPResponse`
- Added package `telepot.text` to help format Markdown and HTML by
applying
entities

v12.2

Toggle v12.2's commit message
Added URL note to `sendPhoto`

v12.1

Toggle v12.1's commit message
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

v12.0

Toggle v12.0's commit message
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`

v11.0

Toggle v11.0's commit message
Version 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.

v10.5

Toggle v10.5's commit message
Version 10.5

0