Commit graph

4043 commits

Author SHA1 Message Date
wulan17
99e3f3e317
PyroFork: Bump version to 2.1.4
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 01:04:07 +07:00
Nick
ab1dde5f79
Update API schema to Layer 155
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 01:01:56 +07:00
Nick
252a49332d
Update API schema to Layer 154
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 01:01:56 +07:00
Dan
d398b5b29c
Separate cases between Channel and ChannelForbidden
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 00:59:21 +07:00
Dan
8940c7d1f6
Update chat username parsing in case of multiple usernames
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 00:59:20 +07:00
Dan
3163030574
Update send_inline_bot_result return type hint
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 00:59:20 +07:00
Jins Mathew
cb7ba4f821
Add missing has_spoiler parameter to reply_{animation,photo,video}
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 00:58:52 +07:00
wulan17
cb60c6ae8d
PyroFork: Update API schema to Layer 152
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-02-04 20:08:24 +07:00
wulan17
84b4d2181b
PyroFork: Bump version to 2.1.3
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-30 01:22:44 +07:00
ab7ab16356
Pyrofork: Release to pypi 2023-01-30 01:21:53 +07:00
wulan17
6331a5500e
PyroFork: Update README.md and setup,py
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-30 01:21:53 +07:00
wulan17
fbe56d5426
PyroFork: Bump version to 2.1.2
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-30 01:20:48 +07:00
kkwilllo
1d113f8aa4
add min & max id support
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-17 22:13:54 +07:00
wulan17
034a4d6041
PyroFork: More cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-17 20:45:50 +07:00
wulan17
42a2f04d8e
Revert "PyroFork: Add listen and ask"
This reverts commit e39fdcca0e.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-17 20:43:44 +07:00
wulan17
f55d75d3bb
PyroFork: Add support to send animation in media group
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-14 01:02:14 +07:00
Dan
c484e82810
Sort the lists of known errors 2023-01-11 21:43:31 +07:00
Mahesh
30822dabff
Add BUTTON_USER_PRIVACY_RESTRICTED to the list of known errors (#1193)
* Add BUTTON_USER_PRIVACY_RESTRICTED to known errors

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2023-01-11 21:43:31 +07:00
Dan
3a88297a9a
Add INVITE_REQUEST_SENT to known errors 2023-01-11 21:43:31 +07:00
Nick
231f1a1620
Add BOT_ONESIDE_NOT_AVAIL to known errors (#1073)
* `BOT_ONESIDE_NOT_AVAIL`

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2023-01-11 21:43:17 +07:00
wulan17
0f60e05fce
PyroFork: Bump version to 2.1.1
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-05 01:59:32 +07:00
Cezar Pauxis
e39fdcca0e
PyroFork: Add listen and ask
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-05 01:58:09 +07:00
wulan17
00fb071215
PyroFork: docs: Add missing ChatJoinedByRequest, PeerUser and PeerChannel
and some cleanup

Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-04 11:02:48 +07:00
wulan17
609d8985d4
PyroFork: Cleanup parameter description
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-04 09:52:13 +07:00
wulan17
e15e3d7d50
PyroFork: Add get_forum_topic and get_forum_topic_by_id methods
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-03 15:52:31 +07:00
wulan17
b1354d5579
PyroFork: docs: Add usable by
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-02 18:50:49 +07:00
wulan17
2a8a01aeb5
PyroFork: Update READNE
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-02 15:49:05 +07:00
wulan17
bec44280a4
PyroFork: Rebrand docs
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-02 15:49:05 +07:00
wulan17
41b771f4bf
PyroFork: Update docs
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-02 15:49:03 +07:00
wulan17
d91b933715
PyroFork: Bring back docs
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-02 15:04:23 +07:00
wulan17
b2158f702a
PyroFork: Cleanup
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-02 10:00:36 +07:00
wulan17
97f0ecc7c9
PyroFork: Add CloseGeneralTopic, EditGeneralTopic, ReopenGeneralTopic, HideGeneralTopic. UnhideGeneralTopic, and some cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-02 00:40:04 +07:00
wulan17
b64d33dca0
PyroFork: rebrand
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-01 23:41:56 +07:00
Dan
482798c2fc
Set has_media_spoiler only in case of Photo, Video or Animation media 2023-01-01 23:12:45 +07:00
Dan
64177b533c
Fix resolving peers for users with multiple usernames
This currently makes it work for the first available username only
2023-01-01 23:12:45 +07:00
Dan
3c0e86a167
Add support for email sign in codes
Fixes #1183
2023-01-01 23:12:45 +07:00
Dan
09ad827374
Add media spoiler support for other relevant methods
- send_media_group()
- edit_message_media()
- edit_inline_media()
2023-01-01 23:12:45 +07:00
Dan
94c589ed43
Add the field is_persistent to the class ReplyKeyboardMarkup 2023-01-01 23:12:44 +07:00
Dan
77cfaa0ff4
Add the field has_spoiler to relevant InputMedia* classes
- InputMediaPhoto
- InputMediaVideo
- InputMediaAnimation
2023-01-01 23:12:44 +07:00
Dan
28307ca58e
Add media_spoiler filter 2023-01-01 23:12:44 +07:00
Dan
65b045ff2d
Add the parameter has_spoiler to relevant send_* media methods
- send_photo()
- send_video()
- send_animation()
2023-01-01 23:11:28 +07:00
Dan
b865512c68
Add the field has_media_spoiler to the class Message 2023-01-01 23:11:15 +07:00
KyMaP13
b0ac808f2e
Add VOICE_MESSAGES_FORBIDDEN (#1151)
* add VOICE_MESSAGES_FORBIDDEN

* Update 400_BAD_REQUEST.tsv

Co-authored-by: onefedov <onefedov@yandex-team.ru>
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2023-01-01 23:11:07 +07:00
omg-xtao
3e219771bd
Add support for Fragment SMS codes (#1170) 2023-01-01 23:11:07 +07:00
wulan17
aedade2ff2
Pyrogram: add message_thread_id parameter to send_chat_action
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-01 22:53:36 +07:00
wulan17
8428de1722
Pyrogram: add GeneralTopicHidden and GeneralTopicUnhidden service messages types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-01 22:48:39 +07:00
Nick
85184be318
Update API schema to Layer 151
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-28 01:04:35 +07:00
wulan17
d89b083bf0
Pyrogram: Add message_thread_id parameter to send_inline_bot_result()
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-17 15:39:11 +07:00
wulan17
ede9af3e00
Pyrogram: types: Message: Add error handling and is_topic_message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-17 15:30:58 +07:00
Dan
abf1b2fece
Update Pyrogram to v2.0.70 2022-12-14 13:36:53 +07:00