Oleg A
95491b578c
AIOG-T-83 Added field proximity_alert_triggered to the class Message
2020-11-05 21:37:25 +03:00
Oleg A
450809b70d
AIOG-T-83 Added the type ProximityAlertTriggered
2020-11-05 21:32:02 +03:00
Oleg A
8e7de80efe
AIOG-T-82 added parameter proximity_alert_distance to the methods sendLocation and editMessageLiveLocation
2020-11-05 21:28:17 +03:00
Oleg A
5903540f41
AIOG-T-82 added the field proximity_alert_distance to the classes Location, InlineQueryResultLocation, InputLocationMessageContent; fixed heading in InputLocationMessageContent
2020-11-05 21:24:11 +03:00
Oleg A
d54348386a
AIOG-T-81 Added support for live location heading
2020-11-05 21:16:34 +03:00
Oleg A
c561710ac2
AIOG-T-80 field live_period added to Location class
2020-11-05 19:48:12 +03:00
Oleg A
1a00fec59f
AIOG-T-78 updated send_media_group description; added media qty check
2020-11-05 19:00:55 +03:00
Oleg A
3328979f28
AIOG-T-77 Added the method unpinAllChatMessages, which can be used to unpin all pinned messages in a chat.
2020-11-05 18:45:10 +03:00
Oleg A
aef6fd2c52
AIOG-T-76 Added the parameter message_id to the method unpinChatMessage to allow unpinning of the specific pinned message
2020-11-05 18:37:20 +03:00
Oleg A
d92ace6805
AIOG-T-75 Added the ability to pin messages in private chats (docs update)
2020-11-05 18:20:36 +03:00
Oleg A
0d19644616
AIOG-T-74 param disable_content_type_detection added in sendDocument method and InputMediaDocument class
2020-11-05 18:08:43 +03:00
Oleg A
9581870a53
AIOG-T-73 field file_name added to Audio and Video classes
2020-11-05 17:36:12 +03:00
Oleg A
0e334e6abc
AIOG-T-72 updated Chat.unban shortcut
2020-11-05 17:19:34 +03:00
Oleg A
5ae56f176e
AIOG-T-72 param only_if_banned added to unbanChatMember method
2020-11-05 17:18:46 +03:00
Oleg A
418d0ddff6
AIOG-T-68 field ip_address added to class WebhookInfo
2020-11-05 16:53:31 +03:00
Oleg A
b2b2c98180
AIOG-T-70 updated Chat class: bio, linked chats, location
2020-11-05 16:01:07 +03:00
Oleg A
a3c481760b
AIOG-T-71 new ChatLocation class
2020-11-05 16:00:27 +03:00
Oleg A
bb156408cf
AIOG-T-69 param drop_pending_updates added in methods setWebhook and deleteWebhook
2020-11-05 15:20:12 +03:00
Oleg A
6880c65c73
updated deprecation text
...
Co-authored-by: Martin Winks <mpa@snejugal.ru>
2020-11-05 14:51:34 +03:00
Oleg A
e2c7c4f0fc
AIOG-T-67 added ip_address param to set_webhook, updated docs
2020-11-05 14:47:15 +03:00
Oleg A
6a2911f73b
AIOG-T-65 close_bot test added
2020-11-05 14:33:16 +03:00
Oleg A
84e302156a
AIOG-T-65 old close method deprecation warn
2020-11-05 14:25:51 +03:00
Oleg A
f544fa7040
AIOG-T-65 added close (close_bot) method
2020-11-05 14:22:07 +03:00
Oleg A
ee523afb8c
AIOG-T-64 logOut type annotation fix
2020-11-05 14:03:54 +03:00
Oleg A
8fbc182fc9
AIOG-T-64 added logOut method test
2020-11-05 13:27:57 +03:00
Oleg A
9b7afe159c
AIOG-T-64 added logOut method
2020-11-05 13:27:46 +03:00
Oleg A
a42f8599c7
increased Telegram Bot API version
2020-11-05 13:12:04 +03:00
Oleg A
ae67814abb
fixed BotKicked match ( #445 )
2020-10-28 18:11:43 +02:00
Oleg A
bd5e4d8149
MessageToReplyNotFound new text ( #447 )
2020-10-28 18:11:20 +02:00
Oleg A
1e2fe72aca
#429 added disable_web_page_preview for Message.send_copy(...) ( #430 )
2020-09-26 15:22:52 +03:00
Ramzan Bekbulatov
41c104bb57
new: add exceptions ( #427 )
...
* new: add FileIsTooBig exception
* new: add MessageCantBeForwarded exception
2020-09-26 15:22:23 +03:00
Alex Root Junior
7b33e5c68a
Update docs
2020-09-14 22:56:11 +03:00
Martin Winks
7c65344dcd
hotfix(dispatcher): prop DP.loop may be None, executor and webhook view should respect that ( #424 )
2020-09-14 14:44:18 +03:00
Alex Root Junior
369bff422a
Bump version
2020-09-13 23:13:27 +03:00
Alex Root Junior
ff654c014c
Merge remote-tracking branch 'origin/dev-2.x' into dev-2.x
2020-09-13 22:56:51 +03:00
Alex Root Junior
84785e4880
Fix italic and underline decorations
2020-09-13 22:56:32 +03:00
Martin Winks
c99b165668
fix(bot,dispatcher): do not use _MainThread event loop ( #397 )
...
* fix(bot,dispatcher): do not use _MainThread event loop on ::Bot, ::Dispatcher initializations
* fix: use more generic get approach
* docs: comments
* chore(task): asyncio.create_task comes with py3.7
* fix(dispatcher): todo
2020-09-13 22:42:21 +03:00
Alex Root Junior
7d1c8c42d3
Fix syntax error
2020-09-13 22:27:50 +03:00
Ramzan Bekbulatov
0cc6a2c8f6
Add is_forward method to Message ( #390 )
...
* new: add is_forward method to Message
* enh: add return types to Message methods
* fix: docs typo
* ref: make command methods closer
2020-09-13 22:15:07 +03:00
Ramzan Bekbulatov
5b40a2b8cf
Add missed ChatPermissions to __all__ ( #393 )
...
* new: add missed ChatPermissions to __all__
* ref: standardize all __all__
2020-09-13 22:14:33 +03:00
Ramzan Bekbulatov
7f053412bf
Add is_chat_creator method to ChatMemberStatus ( #394 )
...
* new: add is_chat_creator method to ChatMemberStatus
* enh: use tuples instead of lists for some checks
2020-09-13 22:14:01 +03:00
Ramzan Bekbulatov
f926d80ba2
Add missed emoji argument to reply_dice ( #395 )
...
* fix: add missed emoji argument to reply_dice
* ref: order arguments for send_dice
2020-09-13 22:13:15 +03:00
Martin Winks
60fe0931a7
docs(readme): prettify readme, update downloads stats badge ( #406 )
...
* docs(readme): prettify readme, update downloads stats badge
* chore(readme): describe steps for minimal code
* chore(rme): remove comma etc
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
* chore(rme): add heading for details/summary blocks
* Update README.md
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2020-09-13 22:11:27 +03:00
Юрий
00202565e4
fixed type hints of callback_data ( #400 )
...
its impotant to remeber all data saved in callback_data is text even if you pass to it integer
insofar as newbies often copy examples and modyfy this typing may help them make no mistake
2020-09-13 22:09:43 +03:00
lyteloli
51547f9745
Fixed usage of deprecated is_private function ( #421 )
...
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2020-09-13 22:08:55 +03:00
Gabben
a936465f42
add missing attributes ( #422 )
...
https://core.telegram.org/bots/api#animation
2020-09-13 22:07:29 +03:00
Daneel L
fce48e3127
comment of RedisStorage2 fix ( #423 )
2020-09-13 22:07:14 +03:00
Martin Winks
a529619d79
hotfix(updates): CHOSEN_INLINE_RESULT is a correct API-term ( #415 )
...
* hotfix(updates): CHOSEN_INLINE_RESULT is a correct API-term
* feat(utils): deprecated descriptor
deprecate CHOSEN_INLINE_QUERY and always return CHOSEN_INLINE_RESULT instead of incorrect value
* fix(tests): remove example from test
* fix(utils): use stacklevel=3
level on which descriptor is being called
2020-09-10 22:34:20 +03:00
Lamroy95
fc5ccc9d5a
Fixed docs Quick start page code blocks ( #417 )
2020-09-10 22:33:25 +03:00
Oleg A
56ffa00c8c
I18n example patch (added docs and fixed typos) ( #419 )
...
* Update i18n example
1. Replaced one file translation to all project folder translation. It's more usable case.
2. `For e.g.` --> `E.g.`. E.g. is short for `exempli gratia` which means simply “for example.” So if you write for e.g., you are in effect writing `for for example`.
3. `xargs` replased with serveral lines, `xargs` is not appliable for Microsoft Windows users.
4. Added info about translation tools.
5. Minor edits.
* i18n middlaware typo fix
* i18n example header typo fix
2020-09-10 22:32:56 +03:00