_run
038be81db3
5.5
2021-12-07 22:17:51 +05:00
Badiboy
9b99bb5f21
Update readme and typo
2021-11-08 18:51:42 +03:00
_run
ed6616e4c7
Bot API 5.4
2021-11-06 12:21:02 +05:00
_run
953e2286b8
Bot API 5.4
2021-11-06 12:15:28 +05:00
_run
06c8782127
Little update
...
Allowed other handlers, checked methods and other things
2021-11-05 23:22:03 +05:00
Badiboy
a28af3903d
Bugfix with one_time_keyboard = False
2021-09-30 11:56:36 +03:00
Badiboy
2bc052ad5a
Check and update for full compatibility to Bot API up to 5.3
...
Pre-release of 4.0.0
2021-08-18 23:27:28 +03:00
Badiboy
fabcd93dd7
API update fix 03
2021-08-18 21:57:56 +03:00
Badiboy
b2b7d90888
API update fix 01
2021-08-18 19:32:43 +03:00
Badiboy
d6501ddc0e
Check and update for full compatibility to Bot API up to 5.0
2021-08-18 18:47:38 +03:00
Badiboy
911e356930
BotCommandScopeChatMember fix
2021-08-12 15:16:04 +03:00
snikidev
4ba4bc18cf
add extra space
2021-08-03 17:35:59 +01:00
snikidev
c117ff2d50
Add return statement to to_dict() method inside InputInvoiceMessageContent
2021-08-03 17:34:29 +01:00
monosans
097ba9fec2
Replace for loops with comprehensions
2021-07-19 20:03:03 +03:00
Badiboy
6fb10e92e4
Fix CallbackQuery issue for games
2021-07-13 20:11:47 +03:00
Badiboy
beb5a456eb
Preserve dict change in Update
2021-07-08 09:35:48 +03:00
SwissCorePy
c7b360e982
fixed bug
2021-07-01 18:54:39 +02:00
SwissCorePy
56e4f68a83
added the property difference
to ChatMemberUpdated
2021-06-30 14:16:38 +02: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
MAIKS1900
491cc05a95
- Set BotCommandScope as abstract class.
...
- Docstrings from telegram API Scope types
2021-06-27 17:28:11 +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
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
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
SwissCorePy
3f46ce3b7b
added InputInvoiceMessageContent and tgs_sticker support
...
and some small changes
2021-06-21 19:59:39 +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
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
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
SwissCorePy
a9ae070256
Update types.py
2021-06-18 22:37:31 +02:00
SwissCorePy
63fe6e01d1
Fixed the errors from my last PRs
...
I testet all using pytest and python versions 3.6-3.9 on macOS
2021-06-18 22:35:49 +02:00
SwissCorePy
bbafdd1c1d
Some Updates
...
> Added lot of type hints to types.py
> Added some new fields from TelegramBotAPI to pyTelegramBotAPI
> fixed `circular import error in util.py
> Added functions `log_out` and `close` to __init__.py and apihelper.py
> And some more small changes
2021-06-17 20:28:53 +02:00
Badiboy
53c98328c1
send_poll fix with PollOptions
...
Now send_poll correctly operates with PollOptions passed as array of PollOption.
2021-05-12 00:26:33 +03:00
David256
2f69917a82
Change fstrings to string formatting
2021-04-01 16:52:12 -05:00
David256
6c90da793e
New property full_name
2021-04-01 14:56:08 -05:00
Alireza
b684c4f60d
Fix Things on copyMessage
2021-01-12 11:17:53 +03:30
Badiboy
6559f431b7
Bot API update
...
Bot API conformance up to 4.4
Added webhook parameters from 5.0
2020-12-29 19:24:41 +03:00
Badiboy
5824d47590
added only_if_banned to unban_chat_member
2020-11-18 02:22:52 +03:00
Badiboy
fa3ca84d24
Animation content_type
...
"When you send gif telegram gives you animation and document at same time in update and when you parse that first if is animation and second is document because of this the content_type set document not animation"
2020-11-03 17:46:19 +03:00
andvch
36a3ce62c4
Fix broken text_mention html formatting
2020-10-14 12:06:49 +03:00
Badiboy
00c2e9b51c
Piece death fix
2020-09-22 01:41:51 +03:00
Badiboy
29711e2425
Merge remote-tracking branch 'upstream/master'
2020-09-22 01:34:55 +03:00
Badiboy
75a5dd1492
Minor bugfix
2020-09-22 01:34:49 +03:00
meoww-bot
9ab906e60c
fix: simplify code
...
json.loads(button.to_json()) equals to button.to_dict()
2020-09-02 18:09:14 +08:00
meoww-bot
a803edd09b
fix: button in markup should be obj, not json text
2020-09-02 09:25:23 +08:00
meoww-bot
32a9e65ecc
fix: reply_markup does not change content_type
2020-09-02 09:12:49 +08:00
meoww-bot
decad450d0
feat: make InlineKeyboardMarkup JsonDeserializable
...
feat: make InlineKeyboardMarkup JsonDeserializable, add de_json func to InlineKeyboardMarkup object
2020-09-01 18:13:22 +08:00
meoww-bot
630a9a5b2c
feat: make InlineKeyboardButton JsonDeserializable
...
feat: make InlineKeyboardButton JsonDeserializable, add de_json func to InlineKeyboardButton Object
2020-09-01 18:07:45 +08:00
meoww-bot
cdae65116b
feat: make LoginUrl JsonDeserializable
...
feat: make LoginUrl JsonDeserializable, add de_json func
2020-09-01 18:03:21 +08:00
meoww-bot
6832c33733
feat: Added the field reply_markup to the Message
...
Added the field `reply_markup` to the Message object
2020-08-31 12:00:56 +00:00
meoww-bot
e811163b5f
UPG: Added the field file_unique_id
...
Added the field file_unique_id to the objects Animation, Audio, Document, PassportFile, PhotoSize, Sticker, Video, VideoNote, Voice, File and the fields small_file_unique_id and big_file_unique_id to the object ChatPhoto. (Bot API 4.5)
2020-08-29 04:29:02 +08:00
Badiboy
bab9b4077d
Bot API support checked/updated up to 4.2
2020-08-25 18:18:51 +03:00