Commit graph

118 commits

Author SHA1 Message Date
uburuntu
a37b63907b fix: add missed emoji argument to reply_dice 2020-07-29 19:25:45 +03:00
Ramzan Bekbulatov
d2cf737919
new: add missed answer_poll and reply_poll (#384) 2020-07-13 15:28:38 +03:00
ixearth
3548d40eab
Add missing thumb parameter (#362) 2020-06-29 21:54:47 +03:00
Alex Root Junior
09f3c35aec Hotfix get_full_command 2020-06-13 21:53:31 +03:00
Egor Dementyev
8d30c1dc1b
Fix message.get_full_command() (#352)
* Fix message.get_full_command()

* Fix message.get_full_command() by JrooTJunior

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>

* fix typos

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2020-06-13 19:18:30 +03:00
George Imedashvili
027139f1b2
fix get_full_command (#348)
The reason is that .partition() doesn't have a default param as .split has, and default split param gives possibility to split not only by whitespaces, but also whitespace consequences (so the .strip() in get_args() not needed) and newlines.
It's called "fix", because without it, commands like this:
'''/command
arg
arg1'''
are resulting with ('/command\narg\narg1', '', '')
2020-06-08 20:21:15 +03:00
Alex Root Junior
de13dbf454 AIOG-T-61 Telegram Bot API 4.9 2020-06-08 20:19:05 +03:00
Alex Root Junior
b0870b3f93 i-AIOG-16 update send dice aliases 2020-04-25 23:11:52 +03:00
LimiO
e50f9e5269 Change False to True at reply_dice 2020-04-18 17:47:03 +03:00
LimiO
a7a06b7301 Add reply_dice method 2020-04-18 17:40:26 +03:00
LimiO
2ff880bb5f add answer_dice method 2020-04-18 16:09:45 +03:00
Oleg A
44221872eb #289 added Dice type and ContentType 2020-04-05 16:07:01 +03:00
Alex Root Junior
8686482e2f
Merge pull request #229 from uburuntu/private-chat-links
Private chat links
2020-02-22 23:21:50 +02:00
Alex Root Junior
a00548c061
Merge pull request #273 from uburuntu/fix-copy-poll
fix: send_copy for poll: missed attribute getting
2020-02-22 23:16:48 +02:00
Ramzan Bekbulatov
30a17413f0
fix: send_copy for poll: missed attribute getting 2020-02-07 15:02:00 +03:00
Ramzan Bekbulatov
352dc1654a
Merge branch 'dev-2.x' into private-chat-links 2020-02-06 13:35:18 +03:00
Alex Root Junior
9115a44be6 Backport of text decoration utils from 3.0 2020-01-01 16:39:31 +02:00
uburuntu
1863ac8571 enh: private chat links 2019-11-10 00:34:20 +03:00
Alex Root Junior
cf7786a467 Optimize Message.send_copy 2019-10-14 23:52:19 +03:00
Bunk100
a6c8e4c249
Update message.py 2019-10-12 23:06:41 +03:00
Bunk100
37e6428b7b
Update message.py
deleted parse_mode arg from send_copy args
2019-10-12 22:56:48 +03:00
Bunk100
bbfc994073
Update message.py 2019-10-12 18:42:24 +03:00
Bunk100
68ce9687ec
Update message.py 2019-10-12 18:38:13 +03:00
Bunk100
1cd4712eb4
Update message.py
Some fixes
2019-10-12 18:37:06 +03:00
Bunk100
b172faf89f
Update message.py 2019-10-12 18:22:44 +03:00
Bunk100
e57c761c40
Update message.py
Second attempt to fix reply_markup
2019-10-12 18:03:31 +03:00
Bunk100
1f177360c4
Update message.py 2019-10-12 17:59:32 +03:00
Bunk100
e32a45f4f8
Update message.py
Updated send_copy:
Added the ability to specify reply_markup, parse_mode
2019-10-12 17:52:27 +03:00
Alex Root Junior
b8f1b57004 Use self.bot instead of bot_instance = self.bot 2019-09-01 19:52:34 +03:00
Alex Root Junior
6a089fd19f Add message.send_copy method 2019-09-01 14:42:09 +03:00
Suren Khorenyan
be622ca559 Refactor some redundant elifs 2019-08-11 23:42:18 +03:00
Alex Root Junior
47bc628f2b Remove obsolete code 2019-08-04 19:46:39 +03:00
Alex RootJunior
9b9c1b086d Remove unused import 2019-06-09 21:55:41 +03:00
Alex RootJunior
35b0e150c2 Change deprecated until versions 2019-06-09 21:54:53 +03:00
Alex RootJunior
7aa6dc4efe Fix Message.reply_markup 2019-06-09 21:49:56 +03:00
Alex RootJunior
b70778fcdb Update to 4.3 Bot API. LoginUrl. 2019-06-01 15:16:28 +03:00
Nikita
d1fab6b910 Update message.py 2019-05-03 13:10:15 +05:00
Nikita
e3f9d83b5f Update message.py 2019-04-28 23:35:02 +05:00
Nikita
8a55b67715 Type hint and fix parse_mode parameter
Fix: t.me/aiogram_ru/54632
2019-04-28 23:33:34 +05:00
Alex RootJunior
129787db5c Update message 2019-04-16 00:04:05 +03:00
Alex RootJunior
e2e2d9c9fe Implemented polls [From test API] 2019-04-11 00:32:46 +03:00
Nikita
1eefb237a2 Add delete_reply_markup to Message 2019-04-08 09:43:03 +05:00
Nikita
ad4c85eb77 Update message.py
- Add more answer_* methods
- Move some methods for beauty
2019-03-31 13:42:21 +05:00
Nikita
183e664a75 Add answer method
This is the "reply" method with the name "answer" and the default argument reply=False
2019-03-22 22:01:26 +05:00
Nikita
23d3d98813 Add warnings 2019-03-22 21:50:41 +05:00
Nikita
81935aead5 Replace "send" in method names with "reply"
All reply-related methods used the prefix "reply", except for animation, venue and contact, which could be confusing
2019-03-22 21:09:32 +05:00
Sergey
0045eaca24
Some useful Message edit functions
Message.edit_caption
Message.edit_media
Message.edit_reply_markup
2019-02-24 21:41:27 +03:00
Sergey
98173f64e1
Simplify code 2019-02-22 18:47:09 +03:00
Sergey
79677cb20f
Fixed entities parsing for captions 2019-02-22 18:39:02 +03:00
Alex Root Junior
2384b370a7 Implement message URL generator 2019-01-13 00:48:32 +02:00