Commit graph

448 commits

Author SHA1 Message Date
wulan17
d91cf7f120
PyroFork: Add Sticker methods and types
Signed-off-by: wulan17 <wulan17@nusantararom.org>

PyroFork: Add CreateStickerSet Methods

Signed-off-by: wulan17 <wulan17@nusantararom.org>

PyroFork: Add AddStickerToSet Methods

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:37 +07:00
wulan17
ea33dc43a4
Pyrofork: Add Forum Topic Support
Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: Add ForumTopicCreated, ForumTopicClosed, ForumTopicReopened, ForumTopicEdited service message types

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: Add can_manage_topics fields to ChatPrivileges and ChatPermissions class

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: Add manage_topics parameter to promote_chat_member, restrict_chat_member, and set_chat_permissions methods

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: Add message_thread_id parameter to send_{animation,audio,cached_media,contact,dice,document,location,media_group,message,photo,poll,sticker,venue,video,video_note,voice} methods

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrogram: Add message_thread_id parameter to forward_message() method and forward() bound method

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: Add message_thread_id parameter to send_game() method and copy() bound method

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrogram: Add ForumTopic and some cleanup

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: Add {create,close,reopen,edit,delete}_forum_topic methods

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: Add message_thread_id parameter to copy_message method

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: Add {CREATED,EDITED,DELETED}_FORUM_TOPIC ChatEvent

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: utils: Check if messages has topics atribut

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrogram: types: Message: Add error handling and is_topic_message

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: Add message_thread_id parameter to send_inline_bot_result()

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: add GeneralTopicHidden and GeneralTopicUnhidden service messages types

Signed-off-by: wulan17 <wulan17@nusantararom.org>

Pyrofork: add message_thread_id parameter to send_chat_action

Signed-off-by: wulan17 <wulan17@nusantararom.org>

PyroFork: Add CloseGeneralTopic, EditGeneralTopic, ReopenGeneralTopic, HideGeneralTopic. UnhideGeneralTopic, and some cleanup

Signed-off-by: wulan17 <wulan17@nusantararom.org>

PyroFork: Add get_forum_topic and get_forum_topic_by_id methods

Signed-off-by: wulan17 <galihgustip@gmail.com>

Pyrofork: Update some methods to layer 160

Signed-off-by: wulan17 <wulan17@nusantararom.org>

pyrofork: Add InputReplyToMessage

Signed-off-by: wulan17 <wulan17@nusantararom.org>

PyroFork: docs: Add missing PeerUser and PeerChannel

and some cleanup

Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-08-18 03:30:36 +07:00
shriMADhav U k
b3cde83bf3
Pyrofork: add some more errors to known errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:33 +07:00
Nick
5f9bba1c08
Added some story error
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:32 +07:00
Albert Einstein
2213af62b4
Add USERNAME_PURCHASE_AVAILABLE to known errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:32 +07:00
Nick
eac886f0e6
Added some missing errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:31 +07:00
wulan17
88dee2156e
PyroFork: add TOPIC_CLOSED and TOPIC_DELETED to known errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:30 +07:00
Nick
bcddcd4036
Pyrofork: Update API scheme on layer 161
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:29 +07:00
Nick
75381b3ee8
Update API schema to Layer 160
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:28 +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
wulan17
7a1684f074
PyroFork: rebrand
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 01:35:50 +07:00
Dan
bb678a4fb6 Update API schema to Layer 158 2023-04-21 14:56:12 +02:00
Dan
8cff5594c0 Update API schema to Layer 155 2023-04-03 16:29:04 +02:00
Nick
5c5dce6620
Update API schema to Layer 152 (#1207) 2023-02-10 12:34:43 +01:00
Dan
a58e19827a Sort the lists of known errors 2023-01-09 15:22:10 +01:00
Mahesh
043734f02b
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-09 15:02:20 +01:00
Dan
24018532c8 Add INVITE_REQUEST_SENT to known errors 2023-01-08 17:22:15 +01:00
Nick
388c534e1f
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-08 17:20:36 +01:00
Nick
e0dda5ab26
Update API schema to Layer 151 (#1182) 2022-12-30 14:10:37 +01:00
KyMaP13
265f5fc72e
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>
2022-12-23 20:40:31 +01:00
Dan
1d7852a44b Update API schema to Layer 150 2022-12-06 13:59:06 +01:00
Dan
b81c379548 Update API schema to Layer 149 2022-11-25 22:11:35 +01:00
Nick
a374e0175d
Update API schema to Layer 148 2022-11-13 13:55:44 +01:00
Dan
8077eb4130
Update docs 2022-10-06 12:03:05 +02:00
Dan
8fd79c93c7 Update API schema to Layer 146 2022-09-15 16:51:46 +02:00
Dan
5d11c03b4e Add set_emoji_status method 2022-09-03 14:18:12 +02:00
Dan
04b343f61b Add get_default_emoji_statuses method 2022-09-03 14:06:46 +02:00
Dan
06c62c5b4c Add MessageReactions and ChatReactions to the docs 2022-09-03 13:47:17 +02:00
Dan
7a53c3da57 Add support for emoji status 2022-09-03 13:10:27 +02:00
Dan
2cd0f38602 Update API schema to Layer 145 2022-09-03 13:08:35 +02:00
Dan
95aae430a8 Fix serialization of empty optional lists 2022-08-28 16:43:45 +02:00
Dan
8c399323c8 Add new method get_custom_emoji_stickers 2022-08-12 17:34:10 +02:00
Nick
bc9161c354
Update API schema to Layer 144 (#1050) 2022-08-11 13:59:55 +02:00
AsmSafone
0505ff0d5e
Add some sticker-related errors (#1055)
* Add STICKERS_TOO_MUCH, STICKERSET_NOT_MODIFIED, STICKER_VIDEO_NOWEBM error description

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-08-11 13:56:21 +02:00
Dan
70e73d3ca8 Add ENTITY_BOUNDS_INVALID error description 2022-07-14 21:01:07 +02:00
Dan
0e0642ebfd Add [403 PREMIUM_ACCOUNT_REQUIRED] error
Closes #1024
2022-06-21 12:12:08 +02:00
Dan
7f9e841ccd Update API schema to Layer 143 2022-06-14 17:09:02 +02:00
Dan
8961da7a2c Update API schema to Layer 142 2022-05-13 11:56:42 +02:00
Dan
97a4ddea27 Update error messages 2022-05-06 21:57:33 +02:00
Dan
295060d190 Remove "0x" prefix from IDs in the documentation 2022-04-27 09:56:58 +02:00
Dan
2f82e753d6 Keep namespaces in constructors names 2022-04-27 09:04:20 +02:00
Dan
c2333c0575 Add inline query results to the documentation 2022-04-24 11:56:07 +02:00
Dan
1ebc704146 Documentation cleanup 2022-04-24 11:56:07 +02:00
Dan
43f9b57567 Add the method answer_web_app_query 2022-04-24 11:56:07 +02:00
Dan
747b25b9eb Add the class SentWebAppMessage 2022-04-24 11:56:07 +02:00
Dan
c44643faad Add the class WebAppData 2022-04-24 11:56:07 +02:00
Dan
fd0044c2ec Add {get,set}_chat_menu_button 2022-04-24 11:56:07 +02:00
Dan
173888f7c9 Fix renamed classes in the documentation 2022-04-24 11:56:07 +02:00
Dan
76546b0a13 Add MenuButton related classes 2022-04-24 11:56:07 +02:00
Dan
7654dc82e8 Add methods {get,set}_bot_default_privileges.py 2022-04-24 11:56:07 +02:00