Tags: cpcchengt/telepot
Tags
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
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
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`
PreviousNext