Skip to content

Tags: blokje/telepot

Tags

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

v10.4

Toggle v10.4's commit message
Async Bot's scheduler method `event_at()` was modified to use unix ti…

…mestamp