Lonami Exo
70201a9ff1
Fix Message finish init for reply_to stories
2024-01-31 21:57:41 +01:00
exovoq
6ee2fffce8
Add reply_to_chat and reply_to_sender in Message ( #4300 )
2024-01-18 18:48:22 +01:00
Lonami Exo
9dbe9a7669
Add missing saved_peer_id parameter to Message
2024-01-04 13:01:28 +01:00
Jahongir Qurbonov
b882348a2b
Fix restriction_reason type hint ( #4282 )
2023-12-25 10:13:03 +01:00
Balázs Triszka
584735afe1
Conditional webbrowser import ( #4261 )
2023-11-28 00:04:36 +01:00
Lonami Exo
b17e10af1d
Fix init of custom Draft after layer update
2023-10-29 11:41:54 +01:00
Lonami Exo
046dbb58b8
Update to layer 166
2023-10-29 11:00:13 +01:00
Non
72faa89361
Remove client-side check in message.edit ( #4195 )
...
Fixes #4193 .
2023-09-08 18:35:25 +02:00
misuzu
0cc9ca9bd9
Fix is_inline
check for KeyboardButtonWebView
( #4183 )
2023-08-28 17:40:23 +02:00
Lonami Exo
164d35681e
Fix reply_to can be optional
2023-07-21 22:44:35 +02:00
Lonami Exo
75ed58ad89
Update to layer 160
2023-07-21 21:24:10 +02:00
Lonami Exo
f7e38ee6f0
Remove redundant entity cache
...
Progress towards #3989 .
May also help with #3235 .
2023-04-06 13:25:48 +02:00
Lonami Exo
b68c1f4f03
Add docs warning to file.id about it not being maintained
2023-03-11 11:56:43 +01:00
Lonami Exo
db29e9b7ef
Don't unnecessarily refetch the sender twice
2022-10-03 13:11:48 +02:00
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
845fe88451
Fix definition typo in patched module
2021-02-10 20:21:16 +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
acb066ad2e
Fix patched import
2021-02-06 12:51:01 +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
9a0e030db8
Add patched module back for compatibility
2021-02-02 19:12:22 +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
ab9035acd2
Make large dates wrap around
...
Closes #1629 .
2020-11-12 15:25:08 +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