1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
Commit Graph

1363 Commits

Author SHA1 Message Date
Badiboy
983d626d87
Merge pull request #1212 from Badiboy/master
Update file_name to visible_file_name in send_document
2021-06-29 13:31:25 +03:00
Badiboy
a4e73a05c6 Update file_name to visible_file_name in send_document 2021-06-29 13:30:01 +03:00
Badiboy
30e304ffb5
Merge pull request #1204 from floydya/file-name-patch
Allows to set visible document file_name on send.
2021-06-29 13:27:44 +03:00
Badiboy
430b34c7a2
Merge pull request #1210 from SwissCorePy/master
README update
2021-06-28 17:15:45 +03:00
SwissCorePy
b222416fd8 Update README.md 2021-06-28 15:44:49 +02:00
SwissCorePy
f8110cd046 Update README.md
* Added the new message_handlers
* Added some information about local Bot API Server
* Replaced the split_string with the smart_split function
2021-06-28 15:17:53 +02:00
Badiboy
6bc60f4aa9
Merge pull request #1208 from SwissCorePy/master
get_chat_member_count and ban_chat_member added.
get_chat_members_count and kick_chat_member are marked as deprecated.
2021-06-28 13:09:19 +03:00
SwissCorePy
b48a445e9f Update __init__.py
updated docstrings
2021-06-28 12:02:40 +02:00
SwissCorePy
0b383498eb addded logger info for deprecated funcs 2021-06-28 11:59:21 +02:00
Badiboy
2e3b4223a5
Merge pull request #1209 from Badiboy/master
Release 3.8.1 - bugfix
2021-06-28 12:41:38 +03:00
Badiboy
60bb63ab2b Release 3.8.1 - bugfix 2021-06-28 12:41:15 +03:00
SwissCorePy
0aa7a8a8f6 new 5.3 function names
added the new function names (the previous names are still working) from 5.3 and some other small changes
2021-06-28 09:31:06 +02:00
Badiboy
72ed7c1dde
Merge pull request #1207 from Badiboy/master
Post-release fix for infinity_polling
2021-06-27 20:43:34 +03:00
Badiboy
a29c4af2ee Post-release fix for infinity_polling 2021-06-27 20:40:16 +03:00
Badiboy
8d8f234138
Merge pull request #1206 from MAIKS1900/master
2 of 3 Bot API 5.3 changes
2021-06-27 17:33:04 +03:00
MAIKS1900
491cc05a95 - Set BotCommandScope as abstract class.
- Docstrings from telegram API Scope types
2021-06-27 17:28:11 +03:00
MAIKS1900
b2c6077f4d Merge branch 'master' of https://github.com/MAIKS1900/pyTelegramBotAPI into master 2021-06-27 15:08:37 +03:00
Badiboy
fb290dc12d
Merge pull request #1205 from Badiboy/master
Release version 3.8.0
2021-06-27 13:24:55 +03:00
Badiboy
c088fabe6c Release version 3.8.0 2021-06-27 13:09:08 +03:00
Vlad Galatskiy
a791ff4e46
Add tests for file sending with name 2021-06-27 11:58:33 +03:00
Vlad Galatskiy
e56f134a7c
Add file_name support to send_document method 2021-06-27 11:38:45 +03:00
Vlad Galatskiy
38c4c21030
Add file_name argument to send_data method 2021-06-27 11:37:27 +03:00
MAIKS1900
3e33b7f1cb Bot API 5.3 changes
- Personalized Commands for different chats
- Custom Placeholders of input field for ReplyKeyboardMarkup and ForceReply.
2021-06-26 14:36:14 +03:00
Badiboy
e381671645
Merge pull request #1201 from SwissCorePy/master
Added handlers for `my_chat_member` and `chat_member`.
Added aalowed_updates to polling functions.
2021-06-24 09:06:33 +03:00
SwissCorePy
ce991e9ac3 Update types.py
added the missing attributes `can_manage_chat` and `can_manage_voice_chats` to ChatMember class
2021-06-23 22:52:24 +02:00
SwissCorePy
3d5415433e Update __init__.py
Updated TeleBot doc string and added the missing functions to AsyncTeleBot
2021-06-23 22:51:17 +02:00
SwissCorePy
0bfefdf15d changed allowed_updates in util to update_types
i think its more clear name
2021-06-23 19:57:44 +02:00
SwissCorePy
506464e637 Update __init__.py
Added the parameter `allowed_updates` to polling and infinity_polling functions
2021-06-23 19:29:36 +02:00
SwissCorePy
4554cb969f Update __init__.py
added handlers for `my_chat_member` and `chat_member`
2021-06-23 16:10:48 +02:00
SwissCorePy
65cf841015 Update util.py
added `allowed_updates` list (used by `_init_._retrieve_all_updates` because `chat_member` is not requested by default)
2021-06-23 16:09:40 +02:00
Badiboy
0f0ce934dc
Merge pull request #1199 from SwissCorePy/master
added InputInvoiceMessageContent and tgs_sticker support
2021-06-22 17:34:05 +03:00
SwissCorePy
bffbe764e5 Update tgs_sticker support
* Updated `create_new_sticker_set` and `add_sticker_to_set` functions
* Removed `create_new_animated_sticker_set` and `add_sticker_to_animated_sticker_set` functions
2021-06-22 15:57:34 +02:00
SwissCorePy
c00595e212 Update types.py
* Added Parameter `caption_entities` to `InputMedia` class
* Added Parameter `disable_content_type_detection` to `InputMediaDocument` class
2021-06-22 15:55:14 +02:00
Badiboy
b20f5b359b
Merge pull request #1200 from pablodz/patch-1
Fix long string blocking version of python on github actions setup
2021-06-22 08:29:50 +03:00
Pablo
558eef78b4
Fix long string blocking version of python on github actions setup 2021-06-21 17:27:35 -05:00
SwissCorePy
3f46ce3b7b added InputInvoiceMessageContent and tgs_sticker support
and some small changes
2021-06-21 19:59:39 +02:00
Badiboy
69e8edef19
Merge pull request #1198 from SwissCorePy/master
Added some missing features
2021-06-21 20:48:04 +03:00
SwissCorePy
d3369245c4 fixed wrong type hint 2021-06-21 17:49:03 +02:00
SwissCorePy
55e9f2095e Merge branch 'master' of https://github.com/eternnoir/pyTelegramBotAPI 2021-06-21 17:39:57 +02:00
SwissCorePy
7118613ef7 Added missing features
* added some missing features of TelegramBotAPI 4.6-5.2 to pyTelegramBotAPI
* added type hints to (almost) all public TeleBot functions
2021-06-21 17:39:13 +02:00
Badiboy
105d65d5ce
Merge pull request #1197 from vishal2376/master
Add developer bot
2021-06-21 14:16:37 +03:00
Vishal Singh
f11bf08ba1
Update README.md 2021-06-21 16:30:17 +05:30
Vishal Singh
66598e39fe
Change description of developer bot 2021-06-21 16:27:32 +05:30
Vishal Singh
4146b50384
Add developer bot 2021-06-21 13:16:22 +05:30
Badiboy
f62d642572
Merge pull request #1196 from leonheess/patch-1
Add Anti-Tracking Bot
2021-06-20 19:33:50 +03:00
Leon Heess
18f1fd42b0
Add Anti-Tracking Bot 2021-06-20 13:14:55 +02:00
Badiboy
07d198aebe
Merge pull request #1195 from SwissCorePy/master
Added class ChatMemberUpdated
2021-06-19 22:18:50 +03:00
SwissCorePy
0370a9f277 Added class ChatMemberUpdated
* Added class `ChatMemberUpdated` to types
* Simplified `de_json` functions in `WebhookInfo` and `Update` classes (for overall more consistent code)
* changed `options_ids` to ´option_id` in class `PollAnswer`
* Added test for `ChatMemberUpdated` class in `test_types.py` and added the fields `my_chat_member` and `chat_member` to the `Update` class and its tests
2021-06-19 20:13:53 +02:00
Badiboy
22d3ac027a
Merge pull request #1194 from SwissCorePy/master
Minor updates to the https://github.com/eternnoir/pyTelegramBotAPI/pull/1191
2021-06-19 19:25:04 +03:00
SwissCorePy
795f7fff7f Some small changes
* Fixed type warnings in some editors by changing `var: Type = None` to `var: Union[Type, None] = None`
* changed some args from `obj['arg']` to `obj.get('arg')` if arg is optional
* better PEP-8 compliance for less weak warnings
* added tests for the new type `ChatInviteLink`
2021-06-19 17:59:55 +02:00