MrMissx
02acefd6e2
Fix AttributeError when received ChatForbidden
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:25 +07:00
reaitten
86621ba836
InputMessageContent.write is a coroutine
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:24 +07:00
Deshdeepak
06c081d171
Add file_name where missing and pass thumb as Union
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:23 +07:00
Devesh Pal
165ade92d5
Add bound method stop() to the Poll object
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:22 +07:00
Alisson Lauffer
c0efd663fd
Make some methods static
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:21 +07:00
wulan17
9d9b8dcac8
PyroFork: Add usernames field to User
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:20 +07:00
wulan17
73c1c179d0
PyroFork: Add usernames field to Chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:16 +07:00
Alisson Lauffer
244ad93229
Add full_name property to User and Chat objects
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:28:59 +07:00
wulan17
367be6f6eb
Pyrofork: Add chat_joined_by_request
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:28:52 +07:00
Jins Mathew
2e82fcecff
Add missing has_spoiler parameter to reply_{animation,photo,video}
2023-02-11 10:08:29 +01:00
Dan
a09c5a3b98
Set has_media_spoiler only in case of Photo, Video or Animation media
2022-12-30 20:16:25 +01:00
Dan
50d87bf5e9
Add the field is_persistent to the class ReplyKeyboardMarkup
2022-12-30 15:10:53 +01:00
Dan
a116ea42c8
Add the field has_spoiler to relevant InputMedia* classes
...
- InputMediaPhoto
- InputMediaVideo
- InputMediaAnimation
2022-12-30 15:10:20 +01:00
Dan
ef29b3c519
Add the field has_media_spoiler to the class Message
2022-12-30 15:06:51 +01:00
Dan
01cd8bb57f
Optimize log calls
2022-12-26 16:38:12 +01:00
Dan
3cf1ac7d92
Update the order in which media messages are parsed
2022-12-06 18:09:42 +01:00
Dan
d734fbb180
Fix User.emoji_status type hint
2022-12-06 18:08:38 +01:00
Dan
1699ef0d4c
Disable parse mode when copying messages
...
The entities are already taken from the original message
2022-11-15 11:13:53 +01:00
Ihor Boichuk
c98963973e
Add Message.forwards field ( #1103 )
...
* Added missing field: forwards
* Update message.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-11-13 14:22:12 +01:00
Dan
81895d74c7
Fix Chat.available_reactions type hint
2022-09-18 16:04:07 +02:00
Dan
53584bc1db
Add chosen_order to Reaction
2022-09-18 15:44:18 +02:00
Dan
f9aacd814a
Update poll parsing
2022-09-06 19:04:47 +02:00
Dan
5d11c03b4e
Add set_emoji_status method
2022-09-03 14:18:12 +02:00
Dan
6496a87029
Add message_reactions.py
2022-09-03 13:46:37 +02:00
Dan
9eb7589a7f
Add chat_reactions.py
2022-09-03 13:43:38 +02:00
Dan
fe7fcf3448
Update reaction.py
2022-09-03 13:42:16 +02:00
Dan
1fb04b7616
Update EmojiStatus
2022-09-03 13:41:53 +02:00
Dan
7a53c3da57
Add support for emoji status
2022-09-03 13:10:27 +02:00
Dan
ed008dd3bb
Fix message entity parsing and serialization
2022-08-28 20:32:43 +02:00
Dan
803f8f0073
Fix Sticker parsing
2022-08-14 22:37:09 +02:00
Dan
e94d3c1876
Merge branch 'sticker-attributes'
2022-08-14 11:30:28 +02:00
Dan
2e46514012
Refactor Sticker parsing
2022-08-14 11:19:01 +02:00
LёNya
95de5f7eae
Fix determining video sticker resolution. Add sticker duration to Sticker type ( #1065 )
2022-08-14 10:50:48 +02:00
Dan
6b7e5dcd1a
Fix sending custom emoji
2022-08-14 10:46:48 +02:00
Dan
9aefff9f8d
Fix join applications for public chats
2022-08-12 18:20:05 +02:00
Dan
cd69fb6d76
Add support for CUSTOM_EMOJI message entity type
2022-08-12 17:18:08 +02:00
dogghi
8da0851984
Add support for BytesIO in InputMedia objects ( #1047 )
...
fix docstrings and fix "TypeError: stat: path should be string, bytes, os.PathLike or integer, not BytesIO" when passing a BytesIO object to an InputMedia subclass
2022-08-11 13:58:36 +02:00
Dan
4b10ec8e87
Pickle datetime objects into timestamps ( #1016 )
...
* Pickle datetime objects into timestamps
* Rename variable
* Add length check
2022-06-20 11:43:40 +02:00
Dan
7f9e841ccd
Update API schema to Layer 143
2022-06-14 17:09:02 +02:00
Prashant Sengar
a1bdcd672e
Fix type of "has_protected_content" ( #994 )
...
`has_protected_content` attribute of Message class was assigned the wrong type in the docstring (str), corrected it to `bool`
2022-06-06 18:47:15 +02:00
Gaung Ramadhan
6974d97fb4
Fix type hint of User.status ( #998 )
2022-05-25 10:56:55 +02:00
leonardotty
d984ae24d5
Add missing parameter to send_reaction ( #993 )
2022-05-14 19:28:44 +02:00
Dan
6cf849c3ea
Revert "Update maximum caption length ( #989 )"
...
This reverts commit f1e4a0ce74 .
2022-05-07 12:01:14 +02:00
Stark Programmer
e708f8dabf
Add missing parameters to Chat.set_photo ( #980 )
2022-05-06 22:08:52 +02:00
Moshe
0bc340081f
Fix wrong enum usage ( #988 )
2022-05-06 22:08:23 +02:00
leonardotty
f1e4a0ce74
Update maximum caption length ( #989 )
...
Co-authored-by: leonardotty <leonardo.rossidev@gmail.com>
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-05-06 22:06:11 +02:00
Dan
23b03c6b19
Fix parsing of text mentions
2022-04-25 21:02:19 +02:00
Dan
c71d36ea49
Fix Chat.get_members()
2022-04-25 17:19:38 +02:00
Alisson Lauffer
27c9338970
Fix Message.react() ( #965 )
2022-04-24 18:36:47 +02:00
Dan
8852756798
Fix zero-datetime not working in some systems
2022-04-24 18:13:18 +02:00