Lonami Exo
c16fb0dae6
Add missing await in qr_login
2022-05-16 18:56:24 +02:00
Lonami Exo
43f629f665
Update to layer 140
2022-05-12 10:21:03 +02:00
Devesh Pal
9830c4e02b
Add Button.buy and Button.game ( #3141 )
2021-08-29 11:49:52 +02:00
ZubAnt
45ed6658fe
Fix add_admins property of custom.ParticipantPermissions ( #3132 )
...
Closes #3131 .
2021-08-15 08:01:25 +02:00
Devesh Pal
e5599c178b
Expose more raw API params in friendly methods ( #3104 )
2021-08-05 10:54:07 +02:00
Devesh Pal
ad55b945c1
Add comment_to to InlineResult-click method ( #3118 )
2021-08-03 18:34:10 +02:00
Shrimadhav U K
ecfc6ae87d
Add pm_oneside parameter in pin_message ( #3095 )
2021-07-09 19:50:47 +02:00
MiyukiKun
249670827c
Change manage_call permission to default to None ( #3093 )
2021-07-02 21:42:57 +02:00
Devesh Pal
42bfc7bb3f
Fix inline force_document and new known RPC errors ( #3084 )
...
This should fix inline video notes.
2021-06-24 14:19:01 +02:00
Ivanzzzc
417bfcd36e
Fix encoding of QR login URL ( #3082 )
...
Closes #3081 .
2021-06-20 15:57:05 +02:00
BelgenOp
37b81c6418
Support retracting poll votes on message click without option ( #3080 )
2021-06-19 18:32:11 +02:00
Anonymous
7c5efee1de
Update to layer 129 and other additions/enhancements ( #3074 )
...
* Apply code corrections for the new layer types.
* Support not passing `user` to `get_permissions`.
* `download_profile_photo` now supports `MessageService`.
* `thumb` in send and edit message.
* Document new known errors.
2021-06-15 22:57:32 +02:00
Julian Haupt
08a11eeacf
Fix get_sender when using it on a ChannelForbidden ( #3053 )
...
Closes #3051 .
2021-05-09 15:33:01 +02:00
FujiApple
5f16434346
Fix Message._needed_markup_bot not returning bot in some cases ( #3030 )
2021-04-19 08:20:03 +02:00
Lonami Exo
58013f4f44
Fix file.width and .height not working on Photo
2021-03-15 22:36:46 +01:00
Lonami Exo
bdc324760d
Move message.out patching in self-chat to Message
...
May fix #1684 .
2021-03-14 11:16:59 +01:00
Lonami Exo
bfa7e4ca37
Support clicking buttons that require password
...
Should close #1716 .
2021-03-07 16:36:26 +01:00
Lonami Exo
175b30faf8
Add new event types to AdminLogEvent
2021-02-23 20:10:51 +01:00
Lonami Exo
0d05d0d8f5
Update message to include ttl_period
2021-02-23 19:42:09 +01:00
Lonami Exo
ff3c21c805
Update file.size to reflect the size of the largest thumbnail
...
This way we avoid relying on the order of the thumbnails, and just
pick the largest.
2021-02-13 22:52:27 +01:00
Lonami Exo
9a47fdc1ee
Move Message redefinitions back to patched
...
Fixes #1695 . This matches the older behaviour better, although the
patched module is now written manually.
2021-02-10 20:18:29 +01:00
Lonami Exo
b85f50e314
Try to fix new custom.Message again
2021-02-06 12:41:33 +01:00
Lonami Exo
abe4b8d5b0
Fix docs and imports for custom.Message
2021-02-05 20:52:08 +01:00
Lonami Exo
ea57db7aad
Add comment_to parameter to more easily post comments
2021-01-28 21:05:20 +01:00
Lonami Exo
055643bd01
Fix type hinting for custom.Message
2021-01-28 19:58:03 +01:00
Lonami Exo
00aa0a4bf1
Avoid duplicate del in Conversation._on_read
2021-01-14 23:05:49 +01:00
Lonami Exo
cd51c9e47c
Get rid of the patched/ module
...
This may fix #1669 .
2021-01-14 22:56:55 +01:00
Lonami Exo
0a4d54fca4
Update to layer 122
...
Closes #1645 .
2020-12-11 16:55:49 +01:00
x0x8x
12380207ba
Add admin log event.has_left ( #1642 )
2020-12-04 14:51:15 +01:00
Lonami
46ee8e86c6
Fix conv.wait_event no longer raising Timeout
...
Should properly fix #1618 .
2020-11-13 09:53:00 +01:00
Lonami Exo
08d5bfcbd0
Fix conv.wait_event not clearing timed out events
...
Closes #1618 .
2020-11-07 12:06:10 +01:00
Lonami Exo
b02a22eaa3
Fix .get_buttons failing for some messages sent by the bot
...
Closes #1619 .
2020-11-07 11:59:56 +01:00
Lonami Exo
935ee2242d
Add method to unpin messages
2020-10-31 11:31:09 +01:00
Lonami Exo
d83c154f8d
Partial update to layer 120
2020-10-30 20:06:59 +01:00
Lonami Exo
7ed5b4dfbe
Explain what happens when a button is pressed in the docs
2020-10-19 10:49:50 +02:00
Lonami Exo
94ce3b06eb
Add missing raw API fields to Message and re-order them
...
Keeping them in order is important to easily change them when new
things are added so that we don't miss them again on another update.
2020-10-18 13:10:37 +02:00
Lonami Exo
3ff09f7b91
Use inline result mime to infer the result type
2020-10-15 11:04:54 +02:00
Lonami Exo
312dac90a3
Improve inline result documentation with more examples
2020-10-15 10:42:40 +02:00
Lonami Exo
9c5b9abb93
Fix sending of documents in inline results
2020-10-15 10:40:41 +02:00
Lonami Exo
7c3bbaca2a
Support not including the media from inline results in the msg
2020-10-15 10:40:19 +02:00
Lonami Exo
15f7c27bce
Fix .photo()/.document() inline results excluding media from msg
2020-10-15 09:29:19 +02:00
Lonami Exo
adf52a1b74
Expose entity parameter in client.inline_query
...
Some bots, such as @gamee, use this to determine the type of results
to return (and "disable" themselves in channels).
2020-10-11 16:59:48 +02:00
Lonami Exo
5722ba8306
Revert add_admins property logic since it differs from the rest
2020-10-07 10:40:34 +02:00
khoben
ce71b3293b
Support Message.click() for polls ( #1583 )
2020-10-07 09:21:33 +02:00
Lonami Exo
05af5d0d74
Avoid redundant code in ParticipantPermissions
2020-10-06 11:14:16 +02:00
Lonami Exo
cf1645b598
Improve documentation for ParticipantPermissions
2020-10-06 11:14:16 +02:00
Lonami Exo
7f61b92f81
Add anonymous permission to edit_admin and get_permissions
2020-10-06 11:14:16 +02:00
Lonami Exo
20606b3a71
Fix from_users filter not accounting for None from_id
2020-10-05 14:01:50 +02:00
Lonami Exo
bb3ccca333
Fix Python 3.5 compatibility issue
2020-10-05 10:50:47 +02:00
apepenkov
3e188d0344
Add missing check for permissions.is_creator ( #1578 )
2020-10-03 17:16:10 +02:00